aboutsummaryrefslogtreecommitdiff
path: root/contrib
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 /contrib
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 'contrib')
-rwxr-xr-xcontrib/cirrus/runner.sh6
-rwxr-xr-xcontrib/cirrus/setup_environment.sh2
2 files changed, 5 insertions, 3 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 572f0b44a..6e6747f28 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -142,9 +142,11 @@ function _run_swagger() {
cp -v $GOSRC/pkg/api/swagger.yaml $GOSRC/
}
-function _run_vendor() {
+function _run_consistency() {
make vendor
- ./hack/tree_status.sh
+ SUGGESTION="run 'make vendor' and commit all changes" ./hack/tree_status.sh
+ make generate-bindings
+ SUGGESTION="run 'make generate-bindings' and commit all changes" ./hack/tree_status.sh
}
function _run_build() {
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 5c6f05ac0..7b49caba0 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -214,7 +214,7 @@ case "$TEST_FLAVOR" in
install_test_configs
;;
- vendor) make clean ;;
+ consistency) make clean ;;
release) ;;
*) die_unknown TEST_FLAVOR
esac