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:
parent
7683c985cc
commit
40a775835d
@ -59,7 +59,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
- name: Upload to AFS
|
- name: Upload to AFS
|
||||||
include_role:
|
include_role:
|
||||||
name: upload-afs
|
name: upload-afs-roots
|
||||||
vars:
|
vars:
|
||||||
afs_source: "{{ zuul.executor.work_root }}/docs/"
|
afs_source: "{{ zuul.executor.work_root }}/docs/"
|
||||||
afs_target: "{{ target_dir }}"
|
afs_target: "{{ target_dir }}"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: create-afs-token
|
- role: create-afs-token
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: upload-afs
|
- role: upload-afs-roots
|
||||||
afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}"
|
afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}"
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: destroy-afs-token
|
- role: destroy-afs-token
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: create-afs-token
|
- role: create-afs-token
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: upload-afs
|
- role: upload-afs-roots
|
||||||
afs_target: "/afs/.openstack.org/project/opendev.org/www{{ afs_subpath | default('') }}"
|
afs_target: "/afs/.openstack.org/project/opendev.org/www{{ afs_subpath | default('') }}"
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: destroy-afs-token
|
- role: destroy-afs-token
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: create-afs-token
|
- role: create-afs-token
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: upload-afs
|
- role: upload-afs-roots
|
||||||
afs_target: "{{ afs.path }}{{ our_afs_subpath }}"
|
afs_target: "{{ afs.path }}{{ our_afs_subpath }}"
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: destroy-afs-token
|
- role: destroy-afs-token
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: create-afs-token
|
- role: create-afs-token
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: upload-afs
|
- role: upload-afs-roots
|
||||||
afs_target: "/afs/.openstack.org/project/starlingx.io/www{{ afs_subpath | default('') }}"
|
afs_target: "/afs/.openstack.org/project/starlingx.io/www{{ afs_subpath | default('') }}"
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: destroy-afs-token
|
- role: destroy-afs-token
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: create-afs-token
|
- role: create-afs-token
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: upload-afs
|
- role: upload-afs-roots
|
||||||
afs_target: "/afs/.openstack.org/project/zuul-ci.org/www{{ afs_subpath | default('') }}"
|
afs_target: "/afs/.openstack.org/project/zuul-ci.org/www{{ afs_subpath | default('') }}"
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
- role: destroy-afs-token
|
- role: destroy-afs-token
|
||||||
|
Loading…
Reference in New Issue
Block a user