Merge "Remove unused files in playbooks/publish"
This commit is contained in:
commit
fb8b248533
|
@ -1,9 +0,0 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: create-afs-token
|
||||
when: zuul_success | bool
|
||||
- role: upload-afs-roots
|
||||
afs_target: "/afs/.openstack.org/project/opendev.org/www{{ afs_subpath | default('') }}"
|
||||
when: zuul_success | bool
|
||||
- role: destroy-afs-token
|
||||
when: zuul_success | bool
|
|
@ -1,22 +0,0 @@
|
|||
- hosts: all
|
||||
roles:
|
||||
- role: fetch-sphinx-output
|
||||
sphinx_output_suffix: "/"
|
||||
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||
when: zuul_success | bool
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: add-fileserver
|
||||
fileserver: "{{ site_specs }}"
|
||||
|
||||
- hosts: "{{ site_specs.fqdn }}"
|
||||
gather_facts: False
|
||||
tasks:
|
||||
|
||||
- name: Upload specs to fileserver
|
||||
synchronize:
|
||||
src: "{{ zuul.executor.work_root }}/artifacts/"
|
||||
dest: "/srv/static/specs/{{ zuul.project.name }}"
|
||||
no_log: true
|
||||
when: zuul_success | bool
|
|
@ -1,20 +0,0 @@
|
|||
- hosts: all
|
||||
roles:
|
||||
- fetch-tox-output
|
||||
- role: fetch-sphinx-output
|
||||
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"
|
||||
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||
when: zuul_success | bool
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- add-fileserver
|
||||
|
||||
- hosts: "{{ fileserver.fqdn }}"
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- name: Upload docs to static site
|
||||
synchronize:
|
||||
src: "{{ zuul.executor.work_root }}/artifacts/"
|
||||
dest: "{{ fileserver.path }}/{{ static_target }}/"
|
||||
when: zuul_success | bool
|
|
@ -1,9 +0,0 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: create-afs-token
|
||||
when: zuul_success | bool
|
||||
- role: upload-afs-roots
|
||||
afs_target: "/afs/.openstack.org/project/zuul-ci.org/www{{ afs_subpath | default('') }}"
|
||||
when: zuul_success | bool
|
||||
- role: destroy-afs-token
|
||||
when: zuul_success | bool
|
Loading…
Reference in New Issue