Skip to content

Commit

Permalink
Merge pull request containers#17080 from cevich/v4.3.1-rhel_rm_gitlab
Browse files Browse the repository at this point in the history
[v4.3.1-rhel] Cirrus: Strip only-main CI tasks
  • Loading branch information
openshift-merge-robot authored Jan 11, 2023
2 parents b2f468a + 44a498f commit 8ba9d83
Showing 1 changed file with 0 additions and 78 deletions.
78 changes: 0 additions & 78 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -782,34 +782,6 @@ buildah_bud_test_task:
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:
name: "Upgrade test: from $PODMAN_UPGRADE_FROM"
alias: upgrade_test
Expand All @@ -836,54 +808,6 @@ upgrade_test_task:
always: *logs_artifacts


image_build_task: &image-build
name: "Build multi-arch $CTXDIR"
alias: image_build
# Some of these container images take > 1h to build, limit
# this task to a specific Cirrus-Cron entry with this name.
# Docs: ./contrib/cirrus/CIModes.md
only_if: $CIRRUS_CRON == 'multiarch'
timeout_in: 120m # emulation is sssllllooooowwww
gce_instance:
<<: *standardvm
image_name: build-push-${IMAGE_SUFFIX}
# More muscle required for parallel multi-arch build
type: "n2-standard-4"
matrix:
- env:
CTXDIR: contrib/podmanimage/upstream
- env:
CTXDIR: contrib/podmanimage/testing
- env:
CTXDIR: contrib/podmanimage/stable
- env:
CTXDIR: contrib/hello
env:
DISTRO_NV: "${FEDORA_NAME}" # Required for repo cache extraction
PODMAN_USERNAME: ENCRYPTED[b9f0f2550029dd2196e086d9dd6c2d1fec7e328630b15990d9bb610f9fcccb5baab8b64a8c3e72b0c1d0f5917cf65aa1]
PODMAN_PASSWORD: ENCRYPTED[e3444f6072853f0c8db7f964ead5e2204116af485469fa0de367f26b9316b460fd842a9882f552b9e9a83bbaf650d8b4]
CONTAINERS_USERNAME: ENCRYPTED[54a372d5f22f424173c114c6fb25c3214956cad323d5b285c7393a71041884ce96471d0ff733774e5dab9fa5a3c8795c]
CONTAINERS_PASSWORD: ENCRYPTED[4ecc3fb534935095a99fb1f2e320ac6bc87f3e7e186746e41cbcc4b5f5379a014b9fc8cc90e1f3d5abdbaf31580a4ab9]
main_script:
- set -a; source /etc/automation_environment; set +a
- main.sh $CIRRUS_REPO_CLONE_URL $CTXDIR


test_image_build_task:
<<: *image-build
alias: test_image_build
# Allow this to run inside a PR w/ [CI:BUILD] only.
# Docs: ./contrib/cirrus/CIModes.md
only_if: $CIRRUS_PR != '' && $CIRRUS_CHANGE_TITLE =~ '.*CI:BUILD.*'
# This takes a LONG time, only run when requested. N/B: Any task
# made to depend on this one will block FOREVER unless triggered.
# DO NOT ADD THIS TASK AS DEPENDENCY FOR `success_task`.
trigger_type: manual
# Overwrite all 'env', don't push anything, just do the build.
env:
DRYRUN: 1


# This task is critical. It updates the "last-used by" timestamp stored
# in metadata for all VM images. This mechanism functions in tandem with
# an out-of-band pruning operation to remove disused VM images.
Expand Down Expand Up @@ -948,9 +872,7 @@ success_task:
- rootless_system_test
- rootless_remote_system_test
- buildah_bud_test
- rootless_gitlab_test
- upgrade_test
- image_build
- meta
container: &smallcontainer
image: ${CTR_FQIN}
Expand Down

0 comments on commit 8ba9d83

Please sign in to comment.