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:
@@ -22,18 +22,19 @@
|
|||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ zuul.executor.work_root }}/docs-html.tar.bz2"
|
src: "{{ zuul.executor.work_root }}/docs-html.tar.bz2"
|
||||||
dest: "{{ zuul.executor.work_root }}/docs"
|
dest: "{{ zuul.executor.work_root }}/docs"
|
||||||
- include_role:
|
- name: Write root_marker file
|
||||||
|
include_role:
|
||||||
name: write-root-marker
|
name: write-root-marker
|
||||||
vars:
|
vars:
|
||||||
root_marker_dir: "{{ zuul.executor.work_root }}/docs"
|
root_marker_dir: "{{ zuul.executor.work_root }}/docs"
|
||||||
- name: Get service type
|
- name: Get service type
|
||||||
include_role:
|
include_role:
|
||||||
name: set-service-type-data-fact
|
name: set-service-type-data-fact
|
||||||
- name: Set target directory
|
- name: Set target directory if master
|
||||||
when: "zuul.branch == 'master'"
|
when: "zuul.branch == 'master'"
|
||||||
set_fact:
|
set_fact:
|
||||||
target_dir: "/afs/.openstack.org/docs/{{ api_path }}/{{ service_type_data.service_type }}/"
|
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'"
|
when: "zuul.branch != 'master'"
|
||||||
fail:
|
fail:
|
||||||
msg: "This jobs should be only run on master branch."
|
msg: "This jobs should be only run on master branch."
|
||||||
|
@@ -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
|
|
@@ -365,19 +365,6 @@
|
|||||||
name: afs
|
name: afs
|
||||||
pass-to-parent: true
|
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:
|
- job:
|
||||||
name: promote-openstack-contributor-guide
|
name: promote-openstack-contributor-guide
|
||||||
parent: promote-tox-docs-special-base
|
parent: promote-tox-docs-special-base
|
||||||
@@ -872,19 +859,6 @@
|
|||||||
- secret: afsdocs_secret
|
- secret: afsdocs_secret
|
||||||
name: afs
|
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:
|
- job:
|
||||||
name: promote-deploy-guide
|
name: promote-deploy-guide
|
||||||
parent: opendev-promote-docs-base
|
parent: opendev-promote-docs-base
|
||||||
|
Reference in New Issue
Block a user