diff options
author | Ed Santiago <santiago@redhat.com> | 2022-09-22 13:21:00 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-09-30 05:29:03 -0600 |
commit | 1e71d124e4aeea8f939ce6aabbe5436b190bd2a6 (patch) | |
tree | 70d2c08f96251ade9ae4438552a93aa952be9a9d | |
parent | d88acd83a1bdd260fc69e0ff115ff99d55bb7760 (diff) | |
download | podman-1e71d124e4aeea8f939ce6aabbe5436b190bd2a6.tar.gz podman-1e71d124e4aeea8f939ce6aabbe5436b190bd2a6.tar.bz2 podman-1e71d124e4aeea8f939ce6aabbe5436b190bd2a6.zip |
Proof of concept: nightly dependency treadmill
As discussed in f2f: this is the cleanest, simplest mechanism
I can think of to auto-test the Big Three dependencies: simply
run go mod edit immediately after git checkout, then run the
entire CI test suite.
This differs significantly from the buildah treadmill, in that
buildah is almost impossible to re-vendor without manual intervention.
(In practice, so are these, but let's dream of a world in which
this will run and pass every night). (I want a pony too).
Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r-- | .cirrus.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 2badd7b5a..68eca4ef5 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -139,6 +139,22 @@ build_task: _gc='git config --file /root/.gitconfig' $_gc user.email "TMcTestFace@example.com" $_gc user.name "Testy McTestface" + # Nightly dependency-bump job: fetch latest versions of the + # Big Three dependencies, and run full CI test suite. Notification + # email will go out to monitor-list upon failure. + if [[ "$CIRRUS_CRON" = "treadmill" ]]; then + for pkg in common image/v5 storage; do + echo "go mod edit --require containers/$pkg@main" + go mod edit --require github.com/containers/$pkg@main + make vendor + done + git add vendor + # Show what changed. + echo "git diff go.mod, then git diff --stat:" + git diff go.mod + git diff --stat + HOME=/root git commit --allow-empty -asm"Bump containers/common,image,storage" + fi # Attempt to prevent flakes by confirming basic environment expectations, # network service connectivity and essential container image availability. prebuild_script: &prebuild $SCRIPT_BASE/prebuild.sh |