summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-01-19 17:19:46 +0100
committerMatthew Heon <matthew.heon@pm.me>2021-01-29 15:27:19 -0500
commitedd9a06dc7ea3661f8fd581ecc2086a6c0111ab3 (patch)
tree24521c806049df7831a42fcd6f6f04ed99b7a0d6 /.cirrus.yml
parent6bf4d6195a02fcd39b6d1f7220b4e8ab4f3c2cb5 (diff)
downloadpodman-edd9a06dc7ea3661f8fd581ecc2086a6c0111ab3.tar.gz
podman-edd9a06dc7ea3661f8fd581ecc2086a6c0111ab3.tar.bz2
podman-edd9a06dc7ea3661f8fd581ecc2086a6c0111ab3.zip
Cirrus: add bindings checks
Make sure that bindings are in sync with the code. The check is similar to what's already being done with `make vendor`, so integrate the two. [NO TESTS NEEDED] Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 0abb71146..7c797cdf2 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -274,17 +274,19 @@ swagger_task:
# Check that all included go modules from other sources match
-# what is expected in `vendor/modules.txt` vs `go.mod`.
-vendor_task:
- name: "Test Vendoring"
- alias: vendor
+# what is expected in `vendor/modules.txt` vs `go.mod`. Also
+# make sure that the generated bindings in pkg/bindings/...
+# are in sync with the code.
+consistency_task:
+ name: "Test Code Consistency"
+ alias: consistency
skip: *tags
depends_on:
- build
container: *smallcontainer
env:
<<: *stdenvars
- TEST_FLAVOR: vendor
+ TEST_FLAVOR: consistency
TEST_ENVIRON: container
CTR_FQIN: ${FEDORA_CONTAINER_FQIN}
clone_script: *full_clone # build-cache not available to container tasks
@@ -642,7 +644,7 @@ success_task:
- validate
- bindings
- swagger
- - vendor
+ - consistency
- alt_build
- static_alt_build
- osx_alt_build