diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-12 19:14:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-12 19:14:20 +0200 |
commit | ca7bae7f89bd1843ce47fca41403b99b8583168e (patch) | |
tree | 496d55497fbb3151ad54b8c1a3bbfa4408a9775d /.cirrus.yml | |
parent | 341f0bf66485c75db95f9e6355af1fb2f93f6005 (diff) | |
parent | 9f67cde9f855081cf113afefb72b8f38c1b4d338 (diff) | |
download | podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.tar.gz podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.tar.bz2 podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.zip |
Merge pull request #3789 from giuseppe/cirrus-add-crun
cirrus: run tests with crun
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 204feb2fd..dfcd86a5d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -345,6 +345,49 @@ testing_task: audit_log_script: '$SCRIPT_BASE/logcollector.sh audit' journal_script: '$SCRIPT_BASE/logcollector.sh journal' +# Test crun on last Fedora +testing_crun_task: + + depends_on: + - "gating" + - "vendor" + - "varlink_api" + - "build_each_commit" + - "build_without_cgo" + + # Only test build cache-images, if that's what's requested + only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\*\*\*\s*CIRRUS:\s*TEST\s*IMAGES\s*\*\*\*.*' + + gce_instance: + matrix: + # Images are generated separately, from build_images_task (below) + image_name: "${FEDORA_CACHE_IMAGE_NAME}" + + timeout_in: 120m + + env: + ADD_SECOND_PARTITION: true + OCI_RUNTIME: "/usr/bin/crun" + matrix: + TEST_REMOTE_CLIENT: false + + setup_environment_script: '$SCRIPT_BASE/setup_environment.sh |& ${TIMESTAMP}' + unit_test_script: '$SCRIPT_BASE/unit_test.sh |& ${TIMESTAMP}' + integration_test_script: '$SCRIPT_BASE/integration_test.sh |& ${TIMESTAMP}' + system_test_script: '$SCRIPT_BASE/system_test.sh |& ${TIMESTAMP}' + cache_release_archive_script: >- + [[ "$TEST_REMOTE_CLIENT" == "false" ]] || \ + $SCRIPT_BASE/cache_release_archive.sh |& ${TIMESTAMP} + + on_failure: + failed_branch_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_branch_failure.sh' + + always: &crunstandardlogs + ginkgo_node_logs_script: '$SCRIPT_BASE/logcollector.sh ginkgo' + df_script: '$SCRIPT_BASE/logcollector.sh df' + audit_log_script: '$SCRIPT_BASE/logcollector.sh audit' + journal_script: '$SCRIPT_BASE/logcollector.sh journal' + # This task executes tests under unique environments/conditions special_testing_rootless_task: @@ -518,6 +561,7 @@ success_task: - "meta" - "image_prune" - "testing" + - "testing_crun" - "special_testing_rootless" - "special_testing_in_podman" - "special_testing_cross" @@ -556,6 +600,7 @@ release_task: - "meta" - "image_prune" - "testing" + - "testing_crun" - "special_testing_rootless" - "special_testing_in_podman" - "special_testing_cross" |