summaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-01-19 17:19:46 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-01-20 14:38:02 +0100
commita3621a7cff27a77a53031cd58b2015a0f178101b (patch)
treeb46d046e20257b5870352f85c0bf29c68e90835b /contrib/cirrus/runner.sh
parent41a7e11c7e3eb756a43316558d712eea33e11829 (diff)
downloadpodman-a3621a7cff27a77a53031cd58b2015a0f178101b.tar.gz
podman-a3621a7cff27a77a53031cd58b2015a0f178101b.tar.bz2
podman-a3621a7cff27a77a53031cd58b2015a0f178101b.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/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh6
1 files changed, 4 insertions, 2 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() {