summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-08-11 11:47:15 -0500
committerbaude <bbaude@redhat.com>2019-08-16 10:10:50 -0500
commit04f2f95bb4ffae161ff0e7f01e381d6c7296fe14 (patch)
treedb0acc0626c914498535f37ebb2965905f080253 /.cirrus.yml
parent3f1657d729b4f4c367b3e124621a6f3a9a5769d4 (diff)
downloadpodman-04f2f95bb4ffae161ff0e7f01e381d6c7296fe14.tar.gz
podman-04f2f95bb4ffae161ff0e7f01e381d6c7296fe14.tar.bz2
podman-04f2f95bb4ffae161ff0e7f01e381d6c7296fe14.zip
Create framework for varlink endpoint integration tests
add the ability to write integration tests similar to our e2e tests for the varlink endpoints. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 66bb7d4ce..aa05f692d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -503,6 +503,28 @@ special_testing_cgroupv2_task:
always:
<<: *standardlogs
+special_testing_endpoint_task:
+
+ depends_on:
+ - "gating"
+ - "varlink_api"
+ - "vendor"
+
+ only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\*\*\*\s*CIRRUS:\s*TEST\s*IMAGES\s*\*\*\*.*'
+
+ env:
+ SPECIALMODE: 'endpoint' # See docs
+
+ timeout_in: 20m
+
+ setup_environment_script: '$SCRIPT_BASE/setup_environment.sh |& ${TIMESTAMP}'
+ integration_test_script: '$SCRIPT_BASE/integration_test.sh |& ${TIMESTAMP}'
+
+ on_failure:
+ failed_branch_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_branch_failure.sh'
+
+ always:
+ <<: *standardlogs
# Test building of new cache-images for future PR testing, in this PR.
test_build_cache_images_task:
@@ -608,6 +630,7 @@ success_task:
- "special_testing_in_podman"
- "special_testing_cgroupv2"
- "special_testing_cross"
+ - "special_testing_endpoint"
- "test_build_cache_images"
- "verify_test_built_images"
@@ -648,6 +671,7 @@ release_task:
- "special_testing_in_podman"
- "special_testing_cgroupv2"
- "special_testing_cross"
+ - "special_testing_endpoint"
- "test_build_cache_images"
- "verify_test_built_images"
- "success"