Add publish-zuul-website job
Change-Id: I07cb59861b38df6c87daf586d697daab5c80e979
This commit is contained in:
parent
ad07dc7577
commit
40847572ff
9
playbooks/website/publish.yaml
Normal file
9
playbooks/website/publish.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
- 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
|
@ -19,3 +19,16 @@
|
||||
- secret: zuul-afs
|
||||
name: afs
|
||||
pass-to-parent: true
|
||||
|
||||
- job:
|
||||
name: publish-zuul-website
|
||||
description: |
|
||||
Publishes content in artifacts/ to the Zuul website.
|
||||
allowed-projects:
|
||||
- zuul/zuul-website
|
||||
- zuul/zuul-website-media
|
||||
post-run:
|
||||
- playbooks/website/publish.yaml
|
||||
secrets:
|
||||
- secret: zuul-afs
|
||||
name: afs
|
||||
|
Loading…
x
Reference in New Issue
Block a user