Remove now obsolete publish jobs

The deploy-guide and contributor-guide jobs are now unused since
switching to promote jobs. Remove them and the playbook that is not
shared.

Use unique names in promote.yaml (copying over
https://review.opendev.org/677662)

Depends-On: https://review.opendev.org/677803
Depends-On: https://review.opendev.org/677802
Change-Id: I0c18f0b5aeeabdf40a86627a8f003969dd428151
This commit is contained in:
Andreas Jaeger 2019-08-21 20:40:52 +02:00
parent 40f604e1b4
commit 90615f9aa7
3 changed files with 4 additions and 37 deletions

View File

@ -22,18 +22,19 @@
unarchive:
src: "{{ zuul.executor.work_root }}/docs-html.tar.bz2"
dest: "{{ zuul.executor.work_root }}/docs"
- include_role:
- name: Write root_marker file
include_role:
name: write-root-marker
vars:
root_marker_dir: "{{ zuul.executor.work_root }}/docs"
- name: Get service type
include_role:
name: set-service-type-data-fact
- name: Set target directory
- name: Set target directory if master
when: "zuul.branch == 'master'"
set_fact:
target_dir: "/afs/.openstack.org/docs/{{ api_path }}/{{ service_type_data.service_type }}/"
- name: Set target directory
- name: Set target directory if not master
when: "zuul.branch != 'master'"
fail:
msg: "This jobs should be only run on master branch."

View File

@ -1,8 +0,0 @@
- hosts: all
roles:
- role: write-root-marker
when: zuul_success | bool
- role: fetch-sphinx-output
sphinx_output_suffix: "/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool

View File

@ -365,19 +365,6 @@
name: afs
pass-to-parent: true
- job:
name: publish-openstack-contributor-guide
parent: publish-openstack-tox-docs-base
description: |
Publish contributor-guide documents to
https://docs.openstack.org/contributors
final: true
post-run:
- playbooks/publish/contributor-guide-afs.yaml
branches: master
vars:
afs_subpath: "/contributors"
- job:
name: promote-openstack-contributor-guide
parent: promote-tox-docs-special-base
@ -872,19 +859,6 @@
- secret: afsdocs_secret
name: afs
- job:
name: publish-deploy-guide
parent: publish-openstack-tox-docs-base
description: |
Publish deploy-guide document to
https://docs.openstack.org/project-deploy-guide/
post-run:
- playbooks/sphinx/post.yaml
vars:
afs_subpath: "/project-deploy-guide/{{ zuul.project.short_name }}"
sphinx_build_dir: deploy-guide/build
tox_envlist: deploy-guide
- job:
name: promote-deploy-guide
parent: opendev-promote-docs-base