From 0ba6b4512589e0486f9c8da06e3b2ed6f9367fca Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 8 Jun 2017 16:27:44 -0700 Subject: [PATCH] Add python unit test jobs These don't do much yet except prep. Change-Id: I350355dda687edf8cc839f949993c1d7ab8baf96 --- .zuul.yaml | 21 +++++++++++++++++++++ playbooks/unittests/pre.yaml | 4 ++++ playbooks/unittests/python.yaml | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 .zuul.yaml create mode 100644 playbooks/unittests/pre.yaml create mode 100644 playbooks/unittests/python.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 000000000..6640a2908 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,21 @@ +- job: + name: unittests + parent: base + pre-run: unittests/pre + +- job: + name: unittests-python + parent: unittests + run: unittests/python + +- job: + name: python27 + parent: unittests-python + vars: + zuul_python_version: 27 + +- job: + name: python35 + parent: unittests-python + vars: + zuul_python_version: 35 diff --git a/playbooks/unittests/pre.yaml b/playbooks/unittests/pre.yaml new file mode 100644 index 000000000..fd08cda27 --- /dev/null +++ b/playbooks/unittests/pre.yaml @@ -0,0 +1,4 @@ +hosts: all +roles: + - extra-test-setup + - revoke-sudo diff --git a/playbooks/unittests/python.yaml b/playbooks/unittests/python.yaml new file mode 100644 index 000000000..0ee6cfae2 --- /dev/null +++ b/playbooks/unittests/python.yaml @@ -0,0 +1,2 @@ +hosts: all +roles: []