From ed1451da87b9aa7c8697b638b504239a59d8efa9 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 18 Feb 2020 21:45:36 +0100 Subject: [PATCH] Switch service-types-authority-tox-publish for promote Switch the job service-types-authority-tox-publish to parent to opendev-tox-docs so that as a followup we can use a promote job. This is a step in changing the service-type website to AFS publishing. Change-Id: Ibeb60fd5805befc21c9d6d00fa7a615a106393cf Depends-On: https://review.opendev.org/708517 Task: #37723 Story: #2006598 --- .zuul.yaml | 11 +++++------ playbooks/fetch-publish-output.yaml | 6 ------ 2 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 playbooks/fetch-publish-output.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 07f1fe6..ea60644 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -9,17 +9,16 @@ jobs: - service-types-authority-tox-publish - openstack-tox-pep8 - post: + promote: jobs: - - publish-service-types-authority + - promote-service-types-authority + - job: name: service-types-authority-tox-publish - parent: tox + parent: opendev-tox-docs description: | - Run tests for service-types-authority project. + Publishes files of service-types-authority project. Uses tox with the ``publish`` environment. - success-url: html/ - post-run: playbooks/fetch-publish-output.yaml vars: tox_envlist: publish diff --git a/playbooks/fetch-publish-output.yaml b/playbooks/fetch-publish-output.yaml deleted file mode 100644 index a2d51d5..0000000 --- a/playbooks/fetch-publish-output.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- hosts: all - roles: - - role: fetch-sphinx-output - sphinx_output_src: "{{ zuul.project.src_dir }}/doc/build/html" - zuul_executor_dest: "{{ zuul.executor.log_root }}" - when: zuul_success | bool