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
This commit is contained in:
Andreas Jaeger 2020-02-18 21:45:36 +01:00
parent a4d762bf57
commit ed1451da87
2 changed files with 5 additions and 12 deletions

View File

@ -9,17 +9,16 @@
jobs: jobs:
- service-types-authority-tox-publish - service-types-authority-tox-publish
- openstack-tox-pep8 - openstack-tox-pep8
post: promote:
jobs: jobs:
- publish-service-types-authority - promote-service-types-authority
- job: - job:
name: service-types-authority-tox-publish name: service-types-authority-tox-publish
parent: tox parent: opendev-tox-docs
description: | description: |
Run tests for service-types-authority project. Publishes files of service-types-authority project.
Uses tox with the ``publish`` environment. Uses tox with the ``publish`` environment.
success-url: html/
post-run: playbooks/fetch-publish-output.yaml
vars: vars:
tox_envlist: publish tox_envlist: publish

View File

@ -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