Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/setup-ci-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ else
fi

if [ -f /etc/cfengine-containers-host.flag ]; then
set -x # debug for now
if [ "$debian" -ge "12" ]; then
# in jenkins, CONTAINER labeled nodes are capable of running container builds like valgrind-check and static-check
add-pkg unzip # linux-install-groovy.sh needs unzip to unpack the groovy distribution archive
Expand All @@ -126,6 +127,7 @@ if [ -f /etc/cfengine-containers-host.flag ]; then
%sudo ALL=NOPASSWD: /usr/sbin/lvs
%sudo ALL=NOPASSWD: /usr/bin/journalctl
jenkins ALL=NOPASSWD: /usr/bin/podman
jenkins ALL=NOPASSWD: /home/jenkins/tmp-buildscripts/ci/setup-cfengine-build-host.sh
EOF
chmod 400 /etc/sudoers.d/999-local
chown root:root /etc/sudoers.d/999-local
Expand Down
Loading