Browse Source

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
changes/14/708514/3
Andreas Jaeger 11 months ago
parent
commit
ed1451da87
2 changed files with 5 additions and 12 deletions
  1. +5
    -6
      .zuul.yaml
  2. +0
    -6
      playbooks/fetch-publish-output.yaml

+ 5
- 6
.zuul.yaml View File

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

+ 0
- 6
playbooks/fetch-publish-output.yaml 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

Loading…
Cancel
Save