Add role to do a vos release on an AFS volume
We need this for the wheel mirror and also for the package mirrors. Change-Id: I2b7ace2ec2c318534ae98532736b56850d89eca5
This commit is contained in:
parent
ce252a9051
commit
7d7782cac2
9
roles/release-afs-volume/README.rst
Normal file
9
roles/release-afs-volume/README.rst
Normal file
@ -0,0 +1,9 @@
|
||||
Run vos release on an AFS volume
|
||||
|
||||
Assumes a valid token has already been acquired via aklog.
|
||||
|
||||
**Role Variables**
|
||||
|
||||
.. zuul:rolevar:: afs_volume
|
||||
|
||||
String containing the name of the volume to release.
|
6
roles/release-afs-volume/tasks/main.yaml
Normal file
6
roles/release-afs-volume/tasks/main.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Emit volume name
|
||||
debug:
|
||||
var: afs_volume
|
||||
|
||||
- name: Releasing AFS volume
|
||||
command: "vos release -v {{ afs_volume }}"
|
Loading…
Reference in New Issue
Block a user