project-config/playbooks/publish/zuul-afs.yaml
James E. Blair 191b7082a8 Create a parent job to publish to the zuul website
This is in project-config so that it can run on the executor and
use the local AFS installation.

Change-Id: I2a29ea4639c830f03f1f7776c6b194b57c28e937
2018-01-26 13:37:36 -08:00

10 lines
270 B
YAML

- hosts: localhost
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "/afs/.openstack.org/project/zuul-ci.org/www"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool