Cirrus: Use versionable IMAGE_SUFFIX

Image content hasn't changed much, the biggest thing here is the
$IMAGE_SUFFIX value. This new schema is also fully manageable by
renovate. Allowing a tag-push to c/automation_images to create image
update PRs in all repos automatically.

ref: https://github.com/containers/automation_images/pull/247

Also, cleanup a few comments and remove a disused testing task.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2023-01-19 15:07:02 -05:00
parent 929d03a5ea
commit cf7afed055
No known key found for this signature in database
GPG Key ID: 03EDC70FD578067F
2 changed files with 6 additions and 36 deletions

View File

@ -25,15 +25,14 @@ env:
#### ####
#### Cache-image names to test with (double-quotes around names are critical) #### Cache-image names to test with (double-quotes around names are critical)
#### Comment out fedora-35 for podman 4.x branches.
#### ####
FEDORA_NAME: "fedora-37" FEDORA_NAME: "fedora-37" ### c20230120t152650z-f37f36u2204
FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64" FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64" ### c20230120t152650z-f37f36u2204
PRIOR_FEDORA_NAME: "fedora-36" PRIOR_FEDORA_NAME: "fedora-36" ### c20230120t152650z-f37f36u2204
UBUNTU_NAME: "ubuntu-2204" #UBUNTU_NAME: "ubuntu-2204" ### c20230120t152650z-f37f36u2204
# Image identifiers # Image identifiers
IMAGE_SUFFIX: "c5841131699699712" IMAGE_SUFFIX: "c20230120t152650z-f37f36u2204"
# EC2 images # EC2 images
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}" FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
FEDORA_AARCH64_AMI: "fedora-podman-aws-arm64-${IMAGE_SUFFIX}" FEDORA_AARCH64_AMI: "fedora-podman-aws-arm64-${IMAGE_SUFFIX}"
@ -855,34 +854,6 @@ buildah_bud_test_task:
always: *int_logs_artifacts always: *int_logs_artifacts
#rootless_gitlab_test_task:
# name: *std_name_fmt
# alias: rootless_gitlab_test
# # Docs: ./contrib/cirrus/CIModes.md
# only_if: &cirrus_cron "${CIRRUS_CRON} == 'main'"
# # Community-maintained downstream test may fail unexpectedly.
# # Ref. repository: https://gitlab.com/gitlab-org/gitlab-runner
# # If necessary, uncomment the next line and file issue(s) with details.
# # allow_failures: $CI == $CI
# depends_on:
# - build
# - rootless_integration_test
# gce_instance: *standardvm
# env:
# <<: *ubuntu_envvars
# TEST_FLAVOR: 'gitlab'
# PRIV_NAME: rootless
# clone_script: *get_gosrc
# setup_script: *setup
# main_script: *main
# always:
# <<: *logs_artifacts
# junit_artifacts:
# path: gitlab-runner-podman.xml
# type: text/xml
# format: junit
upgrade_test_task: upgrade_test_task:
name: "Upgrade test: from $PODMAN_UPGRADE_FROM" name: "Upgrade test: from $PODMAN_UPGRADE_FROM"
alias: upgrade_test alias: upgrade_test
@ -1028,7 +999,6 @@ success_task:
- rootless_remote_system_test - rootless_remote_system_test
- minikube_test - minikube_test
- buildah_bud_test - buildah_bud_test
#- rootless_gitlab_test
- upgrade_test - upgrade_test
- image_build - image_build
- meta - meta

View File

@ -16,7 +16,7 @@ set +a
req_env_vars CI DEST_BRANCH IMAGE_SUFFIX TEST_FLAVOR TEST_ENVIRON \ req_env_vars CI DEST_BRANCH IMAGE_SUFFIX TEST_FLAVOR TEST_ENVIRON \
PODBIN_NAME PRIV_NAME DISTRO_NV AUTOMATION_LIB_PATH \ PODBIN_NAME PRIV_NAME DISTRO_NV AUTOMATION_LIB_PATH \
SCRIPT_BASE CIRRUS_WORKING_DIR FEDORA_NAME UBUNTU_NAME \ SCRIPT_BASE CIRRUS_WORKING_DIR FEDORA_NAME \
VM_IMAGE_NAME VM_IMAGE_NAME
# Defined by the CI system # Defined by the CI system