summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-05-01 10:37:50 -0400
committerChris Evich <cevich@redhat.com>2019-05-03 15:04:48 -0400
commitb648ca08102ae9b1c140a96b5bfc02fcc303d585 (patch)
treecd5805be3d1a6e491ec651ea2dff8df25dd22a47 /.cirrus.yml
parent2658e870d21dc03096740f17fa869463136d3fae (diff)
downloadpodman-b648ca08102ae9b1c140a96b5bfc02fcc303d585.tar.gz
podman-b648ca08102ae9b1c140a96b5bfc02fcc303d585.tar.bz2
podman-b648ca08102ae9b1c140a96b5bfc02fcc303d585.zip
Cirrus: Add check for make varlink_api_generate
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 0745b1e7b..25ca058fc 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -176,6 +176,34 @@ vendor_task:
failed_master_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_master_failure.sh |& ${TIMESTAMP}'
+# This task runs `make varlink_api_generate` followed by ./hack/tree_status.sh to check
+# whether the git tree is clean.
+varlink_api_task:
+
+ depends_on:
+ - "gating"
+
+ env:
+ CIRRUS_WORKING_DIR: "/usr/src/libpod"
+ # Used by tree_status.sh
+ SUGGESTION: 'remove API.md, then "make varlink_api_generate" and commit changes.'
+
+ # Runs within Cirrus's "community cluster"
+ container:
+ image: "quay.io/libpod/gate:latest"
+ cpu: 4
+ memory: 12
+
+ timeout_in: 10m
+
+ vendor_script:
+ - '/usr/local/bin/entrypoint.sh varlink_api_generate'
+ - 'cd /go/src/github.com/containers/libpod && ./hack/tree_status.sh'
+
+ on_failure:
+ failed_master_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_master_failure.sh'
+
+
build_each_commit_task:
depends_on: