From 9ac0ebb0791851aea81ecc847802db5a39bfb6e7 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 5 Feb 2019 11:51:41 +0100 Subject: Cirrus: add vendor_check_task * Make sure that all vendored dependencies are in sync with the code and the vendor.conf by running `make vendor` with a follow-up status check of the git tree. * Vendor ginkgo and gomega to include the test dependencies. Signed-off-by: Chris Evic Signed-off-by: Valentin Rothberg --- hack/tree_status.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 hack/tree_status.sh (limited to 'hack') diff --git a/hack/tree_status.sh b/hack/tree_status.sh new file mode 100755 index 000000000..12c1d1ee5 --- /dev/null +++ b/hack/tree_status.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +STATUS=$(git status --porcelain) +if [[ -z $STATUS ]] +then + echo "tree is clean" +else + echo "tree is dirty, please commit all changes and sync the vendor.conf" + echo "" + echo $STATUS + exit 1 +fi -- cgit v1.2.3-54-g00ecf