Migrate to upload-afs-roots role

Handle the name change in the dependent change.  Should have no
functional change.

Depends-On: https://review.opendev.org/705368
Change-Id: I5fdc858892b1cf31649c2a8bef3d018afe68cb22
This commit is contained in:
Ian Wienand 2020-02-03 14:14:28 +11:00
parent 7683c985cc
commit 40a775835d
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