summaryrefslogtreecommitdiffstats
path: root/jjb/ci-management/include-raw-test-zuul.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/ci-management/include-raw-test-zuul.sh')
-rw-r--r--jjb/ci-management/include-raw-test-zuul.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/ci-management/include-raw-test-zuul.sh b/jjb/ci-management/include-raw-test-zuul.sh
new file mode 100644
index 000000000..24e0a8f8f
--- /dev/null
+++ b/jjb/ci-management/include-raw-test-zuul.sh
@@ -0,0 +1,17 @@
+#!/bin/bash -e
+
+# activate the zuul virtual env on system that has tox installed
+source /opt/venv-zuul/bin/activate
+
+rm -rf .test
+mkdir .test
+cd .test
+
+# track the upstream zuul HEAD, this may be honestly a little risky
+# but the validations shouldn't fail often due to upstream changes
+git clone https://github.com/openstack-infra/zuul --depth 1
+cd zuul
+
+# calling tox will actually build out a new virtualenv and use that
+# which is honestly a little silly... but whatever
+tox -e validate-layout $WORKSPACE/zuul/layout.yaml