Skip to content

Commit

Permalink
CI: new rootless buildah-bud tests (cron only)
Browse files Browse the repository at this point in the history
Run rootless bud tests as part of the nightly treadmill job.

Reason: #17480 could have been caught before release.

Also: refactored bot this and bud_test_task (the task which
I copypasted to form this one) to use *stdenvars; thanks
@cevich for catching that.

Signed-off-by: Ed Santiago <santiago@redhat.com>
  • Loading branch information
edsantiago committed Feb 23, 2023
1 parent a3af0f6 commit 1b654e5
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -834,11 +834,7 @@ buildah_bud_test_task:
- build
- local_integration_test
env:
TEST_FLAVOR: bud
DISTRO_NV: ${FEDORA_NAME}
# Not used here, is used in other tasks
VM_IMAGE_NAME: ${FEDORA_CACHE_IMAGE_NAME}
CTR_FQIN: ${FEDORA_CONTAINER_FQIN}
<<: *stdenvars
CI_DESIRED_NETWORK: netavark
matrix:
- env:
Expand All @@ -852,6 +848,29 @@ buildah_bud_test_task:
main_script: *main
always: *int_logs_artifacts

rootless_buildah_bud_test_task:
name: *std_name_fmt
alias: rootless_buildah_bud_test
# Docs: ./contrib/cirrus/CIModes.md
only_if: $CIRRUS_CRON == 'treadmill'
depends_on:
- build
- rootless_integration_test
env:
<<: *stdenvars
TEST_FLAVOR: bud
PRIV_NAME: rootless
matrix:
- env:
PODBIN_NAME: podman
- env:
PODBIN_NAME: remote
gce_instance: *standardvm
timeout_in: 45m
clone_script: *get_gosrc
setup_script: *setup
main_script: *main
always: *int_logs_artifacts

upgrade_test_task:
name: "Upgrade test: from $PODMAN_UPGRADE_FROM"
Expand Down Expand Up @@ -997,6 +1016,7 @@ success_task:
- rootless_remote_system_test
- minikube_test
- buildah_bud_test
- rootless_buildah_bud_test
- upgrade_test
- image_build
- meta
Expand Down

0 comments on commit 1b654e5

Please sign in to comment.