Merge "Add opendev-website jobs"
This commit is contained in:
commit
a0f5065dc7
|
@ -0,0 +1,9 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: create-afs-token
|
||||
when: zuul_success | bool
|
||||
- role: upload-afs
|
||||
afs_target: "/afs/.openstack.org/project/opendev.org/www{{ afs_subpath | default('') }}"
|
||||
when: zuul_success | bool
|
||||
- role: destroy-afs-token
|
||||
when: zuul_success | bool
|
|
@ -0,0 +1,13 @@
|
|||
- job:
|
||||
name: publish-opendev-website
|
||||
description: |
|
||||
Publishes content in artifacts/ to the OpenDev website.
|
||||
allowed-projects:
|
||||
- openstack-infra/opendev-website
|
||||
post-run:
|
||||
- playbooks/publish/opendev-afs.yaml
|
||||
roles:
|
||||
- zuul: openstack-infra/zuul-jobs
|
||||
secrets:
|
||||
- secret: afsdocs_secret
|
||||
name: afs
|
Loading…
Reference in New Issue