summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-06 13:42:47 +0100
committerGitHub <noreply@github.com>2019-02-06 13:42:47 +0100
commitd321c5d942f85b56852532edfd225dcdd591f817 (patch)
tree30ad98bcc2c2dd1136f46a48cbc44d422adfa184 /.cirrus.yml
parent314e1a9c5a2041d2263bb74f1d21aa2798154d76 (diff)
parent9ac0ebb0791851aea81ecc847802db5a39bfb6e7 (diff)
downloadpodman-d321c5d942f85b56852532edfd225dcdd591f817.tar.gz
podman-d321c5d942f85b56852532edfd225dcdd591f817.tar.bz2
podman-d321c5d942f85b56852532edfd225dcdd591f817.zip
Merge pull request #2259 from vrothberg/vendor-check
Vendor check
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index dbd0e8b3e..cb1279331 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -109,6 +109,16 @@ gating_task:
- '/usr/local/bin/entrypoint.sh validate'
- '/usr/local/bin/entrypoint.sh lint'
+ # This task runs `make vendor` followed by ./hack/tree_status.sh to check
+ # whether the git tree is clean. The reasoning for that is to make sure
+ # that the vendor.conf, the code and the vendored packages in ./vendor are
+ # in sync at all times.
+ vendor_script:
+ - '/usr/local/bin/entrypoint.sh .install.vndr'
+ - '/usr/local/bin/entrypoint.sh vendor'
+ - 'cd /go/src/github.com/containers/libpod && ./hack/tree_status.sh'
+
+
build_each_commit_task:
depends_on:
@@ -252,6 +262,7 @@ success_task:
depends_on: # ignores any dependent task conditions
- "gating"
+ - "vendor_check"
- "testing"
- "optional_testing"
- "cache_images"