From c500245821ae2cb7465ced09d9072fd37ea7836d Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 24 Aug 2019 16:33:11 +0200 Subject: [PATCH] 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 --- zuul.d/jobs.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 67ae0404a7..9464d8f687 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -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 }}"