From 9ac0ebb0791851aea81ecc847802db5a39bfb6e7 Mon Sep 17 00:00:00 2001
From: Valentin Rothberg <rothberg@redhat.com>
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 <cevich@redhat.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
---
 contrib/cirrus/README.md | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'contrib')

diff --git a/contrib/cirrus/README.md b/contrib/cirrus/README.md
index e175479f1..0d91301c6 100644
--- a/contrib/cirrus/README.md
+++ b/contrib/cirrus/README.md
@@ -28,6 +28,10 @@ task (pass or fail) is set based on the exit status of the last script to execut
 4. ``lint``: Execute regular `make lint` to check for any code cruft.
    Should also run for less than a few minutes.
 
+5. ``vendor``: runs `make vendor` followed by `./hack/tree_status.sh` to check
+   whether the git tree is clean. The reasoning for that is to make sure that
+   the vendor.conf, the code and the vendored packages in ./vendor are in sync
+   at all times.
 
 ### ``testing`` Task
 
-- 
cgit v1.2.3-54-g00ecf