Merge "Migrate to upload-afs-roots role"

This commit is contained in:
Zuul 2020-02-05 03:27:41 +00:00 committed by Gerrit Code Review
commit 3e1deab012
6 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@
state: directory
- name: Upload to AFS
include_role:
name: upload-afs
name: upload-afs-roots
vars:
afs_source: "{{ zuul.executor.work_root }}/docs/"
afs_target: "{{ target_dir }}"

View File

@ -13,7 +13,7 @@
when: zuul_success | bool
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
- role: upload-afs-roots
afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}"
when: zuul_success | bool
- role: destroy-afs-token

View File

@ -2,7 +2,7 @@
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
- role: upload-afs-roots
afs_target: "/afs/.openstack.org/project/opendev.org/www{{ afs_subpath | default('') }}"
when: zuul_success | bool
- role: destroy-afs-token

View File

@ -16,7 +16,7 @@
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
- role: upload-afs-roots
afs_target: "{{ afs.path }}{{ our_afs_subpath }}"
when: zuul_success | bool
- role: destroy-afs-token

View File

@ -2,7 +2,7 @@
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
- role: upload-afs-roots
afs_target: "/afs/.openstack.org/project/starlingx.io/www{{ afs_subpath | default('') }}"
when: zuul_success | bool
- role: destroy-afs-token

View File

@ -2,7 +2,7 @@
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
- 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