diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33efcf005de0..e465397020ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -368,6 +368,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 79a7ba5c6d60..aa7588d255d0 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 774327db88f1..d74532571575 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 apparmor go version chdir: '{{ zuul.project.src_dir }}' diff --git a/script/setup/install-seccomp b/script/setup/install-seccomp index 1c156d5c6324..5122d846d961 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 (