diff options
author | Uri Simchoni <uri@samba.org> | 2022-05-24 22:54:04 +0300 |
---|---|---|
committer | Uri Simchoni <uri@samba.org> | 2022-05-25 20:50:25 +0000 |
commit | 37c6a327ed7ae588e49865621ff79418704e6d38 (patch) | |
tree | 1c70c92d75d7582bf809a01e035522322368d7ad /bootstrap | |
parent | 96da11428662c63b033eb18d6adb3f9a734d7394 (diff) | |
download | samba-37c6a327ed7ae588e49865621ff79418704e6d38.tar.gz |
[ci-images] remove use of sudo in image building smoke test
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Wed May 25 20:50:25 UTC 2022 on sn-devel-184
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/.gitlab-ci.yml | 4 | ||||
-rw-r--r-- | bootstrap/sha1sum.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/.gitlab-ci.yml b/bootstrap/.gitlab-ci.yml index 46b0969e1ce..053dd17f9e2 100644 --- a/bootstrap/.gitlab-ci.yml +++ b/bootstrap/.gitlab-ci.yml @@ -44,8 +44,8 @@ bootstrap/template.py --sha1sum > /tmp/sha1sum-template.txt diff -u bootstrap/sha1sum.txt /tmp/sha1sum-template.txt # run smoke test with samba-o3 or samba-fuzz - podman run --volume $(pwd):${samba_repo_root} --workdir ${samba_repo_root} ${ci_image_name} \ - /bin/bash -c "sudo chown -R samba:samba ${samba_repo_root} && export PKG_CONFIG_PATH=/usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig && script/autobuild.py ${SAMBA_CI_TEST_JOB} --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase" + podman run --volume $(pwd):/src:ro ${ci_image_name} \ + /bin/bash -c "git clone /src samba && cd samba && export PKG_CONFIG_PATH=/usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig && script/autobuild.py ${SAMBA_CI_TEST_JOB} --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase" podman tag ${ci_image_name} ${ci_image_path}:${SAMBA_CI_CONTAINER_TAG} podman tag ${ci_image_name} ${ci_image_path}:${timestamp_tag} # We build all images, but only upload is it's not marked as broken diff --git a/bootstrap/sha1sum.txt b/bootstrap/sha1sum.txt index 0bf21dce1e6..e862191aa72 100644 --- a/bootstrap/sha1sum.txt +++ b/bootstrap/sha1sum.txt @@ -1 +1 @@ -eab8114276d8a3062f1f1b19e6906173b4eeeb7a +a9f12c7712cfccf1bf957d6976dc87917524b55e |