diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7af995b5c..bc77c9802 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -359,6 +359,7 @@ jobs: env: RUNC_FLAVOR: ${{ matrix.runc }} run: | + sudo apt-get install -y gperf sudo -E PATH=$PATH script/setup/install-seccomp sudo -E PATH=$PATH script/setup/install-runc sudo -E PATH=$PATH script/setup/install-cni diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c39bc30fa..281cdea85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -132,6 +132,8 @@ jobs: RUNC_FLAVOR: runc run: | if [[ "${OS}" == "linux" ]]; then + sudo apt-get update + sudo apt-get install -y gperf sudo -E PATH=$PATH script/setup/install-seccomp fi make cri-cni-release diff --git a/.zuul/playbooks/containerd-build/integration-test.yaml b/.zuul/playbooks/containerd-build/integration-test.yaml index 41abb3bd0..c107e9b73 100644 --- a/.zuul/playbooks/containerd-build/integration-test.yaml +++ b/.zuul/playbooks/containerd-build/integration-test.yaml @@ -11,7 +11,7 @@ set -xe set -o pipefail apt-get update - apt-get install -y btrfs-tools libseccomp-dev git pkg-config lsof + apt-get install -y btrfs-tools libseccomp-dev git pkg-config lsof gperf go version chdir: '{{ zuul.project.src_dir }}' diff --git a/script/setup/install-seccomp b/script/setup/install-seccomp index 1c156d5c6..5122d846d 100755 --- a/script/setup/install-seccomp +++ b/script/setup/install-seccomp @@ -22,7 +22,7 @@ set -eu -o pipefail set -x -export SECCOMP_VERSION=2.3.3 +export SECCOMP_VERSION=2.5.1 export SECCOMP_PATH=$(mktemp -d) curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" | tar -xzC "$SECCOMP_PATH" --strip-components=1 (