summaryrefslogtreecommitdiff
path: root/contrib/cirrus
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-20 10:49:20 -0500
committerGitHub <noreply@github.com>2021-01-20 10:49:20 -0500
commitd6711a2929576bcda41e6b07a12fa309db56ba5d (patch)
treeb46d046e20257b5870352f85c0bf29c68e90835b /contrib/cirrus
parent7d024a2fc8c675e4d34e3b34b56b6217a48ef9ce (diff)
parenta3621a7cff27a77a53031cd58b2015a0f178101b (diff)
downloadpodman-d6711a2929576bcda41e6b07a12fa309db56ba5d.tar.gz
podman-d6711a2929576bcda41e6b07a12fa309db56ba5d.tar.bz2
podman-d6711a2929576bcda41e6b07a12fa309db56ba5d.zip
Merge pull request #9020 from vrothberg/fix-9000
make bindings generation more robust
Diffstat (limited to 'contrib/cirrus')
-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 e968fac45..d9f91c7af 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -146,9 +146,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