Skip to content

Commit

Permalink
CI: Install protobuf-compiler in the ci environment
Browse files Browse the repository at this point in the history
To test PR kata-containers/kata-containers#8484, the compilation process for the kata-agent relies on protoc.
The unit tests failed on arm64:
http://jenkins.katacontainers.io/job/kata-containers-2.0-ubuntu20.04-ARM-unit/3424/console.

Fixes: kata-containers#5815

Signed-off-by: ChengyuZhu6 <[email protected]>
  • Loading branch information
ChengyuZhu6 committed Mar 7, 2024
1 parent 1a82d2f commit 217dfee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/jenkins_job_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ run_unit_test() {
sudo -E INSTALL_IN_GOPATH=false ./ci/install_yq.sh
echo "Install clang"
sudo -E apt-get install -y clang
echo "Install protobuf-compiler"
sudo -E apt-get install -y protobuf-compiler
echo "Installing libseccomp library from sources"
libseccomp_install_dir=$(mktemp -d -t libseccomp.XXXXXXXXXX)
gperf_install_dir=$(mktemp -d -t gperf.XXXXXXXXXX)
Expand Down

0 comments on commit 217dfee

Please sign in to comment.