File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ template : templates/loz-script-project.yaml
2+ overrides :
3+ artifacts :
4+ - type : script
5+ version : 0.40.1
6+ build_script :
7+ repo_name : linux-on-ibm-z-scripts
8+ path : src/build.sh
9+ docker_image : ubuntu:22.04
Original file line number Diff line number Diff line change 1+ # Sysdig
2+ ** Sysdig** is a universal system visibility tool with native support for containers:
3+ ` ~$ sysdig `
4+
5+ ** Csysdig** is a simple, intuitive, and fully customizable curses UI for sysdig:
6+ ` ~$ csysdig `
7+
8+ Additional information available [ here] ( https://github.com/draios/sysdig ) .
9+
10+ > ** Note:** Artifacts available in this repository are targeted for ` s390x ` architecture.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e -o pipefail
3+ read -ra arr <<< " $@"
4+ version=${arr[1]}
5+ trap 0 1 2 ERR
6+ # Ensure sudo is installed
7+ apt-get update && apt-get install sudo rpm -y
8+ current_dir=" $PWD "
9+ sed -i ' /insmod/s/$/ || true/' /tmp/linux-on-ibm-z-scripts/Sysdig/${version} /build_sysdig.sh
10+ bash /tmp/linux-on-ibm-z-scripts/Sysdig/${version} /build_sysdig.sh -y
11+ cd $PWD /sysdig/build && make package
12+ mv sysdig-${version} -s390x.tar.gz ${current_dir} /sysdig-${version} -linux-s390x.tar.gz
13+ mv sysdig-${version} -s390x.deb ${current_dir} /sysdig-${version} -linux-s390x.deb
14+ mv sysdig-${version} -s390x.rpm ${current_dir} /sysdig-${version} -linux-s390x.rpm
15+ exit 0
You can’t perform that action at this time.
0 commit comments