Add allowed-projects to static publish jobs

The jobs publish-tox-docs-static and promote-tox-docs-static publish
content to specific web sites, ensure that they are only used by the
repositories that should publish there. This is done with adding an
allowed-projects declaration for current users of the jobs.

Depends-On: https://review.opendev.org/678352
Change-Id: I796cff233f7a8d1380f163aea1b4fc2d3059c16b
This commit is contained in:
Andreas Jaeger 2019-08-24 16:33:11 +02:00
parent 88a4c7d785
commit c500245821
1 changed files with 5 additions and 0 deletions

View File

@ -712,6 +712,8 @@
Publish content to static.openstack.org to
/srv/static/{{ zuul.project.short_name }}
final: true
allowed-projects:
- openstack/releases
vars:
static_target: "{{ zuul.project.short_name }}"
@ -721,6 +723,9 @@
description: |
Promote content to static.openstack.org to
/srv/static/{{ zuul.project.short_name }}
allowed-projects:
- openstack/election
- openstack/transparency-policy
final: true
vars:
static_target: "{{ zuul.project.short_name }}"