From 40b7c904a99c51cecb9f61c7e55a3cf14a3ce2ea Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 29 Jun 2017 17:07:38 -0700 Subject: [PATCH] Zuulv3: Add base-test job We can use this to test changes to the base job before we make them. Change-Id: Idc4bdb9826aed970a69c6972d508a382c03ef00e --- playbooks/base-test/post.yaml | 3 +++ playbooks/base-test/pre.yaml | 3 +++ zuul.yaml | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 playbooks/base-test/post.yaml create mode 100644 playbooks/base-test/pre.yaml diff --git a/playbooks/base-test/post.yaml b/playbooks/base-test/post.yaml new file mode 100644 index 0000000000..d793838ce6 --- /dev/null +++ b/playbooks/base-test/post.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - remove-build-sshkey diff --git a/playbooks/base-test/pre.yaml b/playbooks/base-test/pre.yaml new file mode 100644 index 0000000000..4f4c395dc5 --- /dev/null +++ b/playbooks/base-test/pre.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - add-build-sshkey diff --git a/zuul.yaml b/zuul.yaml index 2a08098ac8..ec61720671 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -44,6 +44,15 @@ - name: ubuntu-xenial label: ubuntu-xenial +- job: + name: base-test + description: | + A job to test changes to the base job without disturbing the + main job in production. Not for general use. + parent: base + pre-run: playbooks/base-test/pre + post-run: playbooks/base-test/post + - project: name: openstack-infra/openstack-zuul-jobs check: