From 560e4cbb75ae4d39c3b3b88db141f8540c2276e7 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 8 Jul 2019 14:10:08 -0500 Subject: [PATCH] update example zuul job parent The zuul job parent was not correct and if someone was following the documentation importing or creating a new role, manually or using the automation, their initial commit would not work. This change updates the parent job name so that its functional on day one. Change-Id: Ic614d166451032c1b7b650a4d37a4e3a89afa629 Signed-off-by: Kevin Carter --- doc/source/contributing.rst | 2 +- role-addition.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 519e0fd24..a74d2408f 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -23,7 +23,7 @@ When the role is ready for CI, add a **job** entry into the files: - ^tripleo_ansible/roles/${NEWROLENAME}/.* name: tripleo-ansible-centos-7-molecule-${NEWROLENAME} - parent: tripleo-ansible-centos + parent: tripleo-ansible-centos-7-base vars: tox_envlist: mol-${NEWROLENAME} diff --git a/role-addition.yml b/role-addition.yml index b50bbd9e0..0375dc47b 100644 --- a/role-addition.yml +++ b/role-addition.yml @@ -65,7 +65,7 @@ {% if (job_index | length) < 1 %} {% set new_job = { "name": new_job_name, - "parent": "tripleo-ansible-centos", + "parent": "tripleo-ansible-centos-7-base", "files": [ "^tripleo_ansible/roles/" ~ role_name ~ "/.*" ],