From 2c0ff2be2e1015f1a3f7ae4a84fb1d16d0f4509e Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Tue, 25 Feb 2020 14:28:06 -0600 Subject: [PATCH] [#59] Fix docs publish job This is a fix of [0]. The publication job expects secrets that are included in another Openstack job. This change updates the airshipctl publish job to use that job [1] as a parent. [0] https://review.opendev.org/708941 [1] https://opendev.org/openstack/project-config/src/branch/master/zuul.d/jobs.yaml#L1054 Change-Id: Ibfd739bf761b3cb14ce96b754b808dc4570a737e Signed-off-by: Drew Walters --- playbooks/airship-airshipctl-publish-docs.yaml | 15 --------------- zuul.d/jobs.yaml | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 playbooks/airship-airshipctl-publish-docs.yaml diff --git a/playbooks/airship-airshipctl-publish-docs.yaml b/playbooks/airship-airshipctl-publish-docs.yaml deleted file mode 100644 index e35b94576..000000000 --- a/playbooks/airship-airshipctl-publish-docs.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -- hosts: all - roles: - - trigger-readthedocs diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index b1866e3a0..ce515b1c2 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -78,8 +78,8 @@ - job: name: airship-airshipctl-publish-docs nodeset: airship-airshipctl-single-node - parent: airship-airshipctl-build-docs - run: playbooks/airship-airshipctl-publish-docs.yaml + parent: trigger-readthedocs-webhook + run: playbooks/airship-airshipctl-build-docs.yaml vars: rtd_project_name: airship-airshipctl rtd_webhook_id: 112688