summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/protected/git/org_project/zuul.yaml
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2017-11-26 20:27:59 +0100
committerTobias Henkel <tobias.henkel@bmw.de>2017-12-15 19:31:02 +0100
commit130b00064f035d2f99dc7eec57f7781bfc3bd555 (patch)
treeff8a9a3f4d3ebffd11fe88ad2cac498a51764519 /tests/fixtures/config/protected/git/org_project/zuul.yaml
parentefd8e827791c513a181d4b5dde149a65f8e60131 (diff)
downloadzuul-130b00064f035d2f99dc7eec57f7781bfc3bd555.tar.gz
Add support for protected jobs
For some use cases protected jobs can be useful. Protected jobs can only be inherited by jobs defined in the same project. This adds support for these protected jobs. Change-Id: I62a8ecbbfa9eec54ab599bb34148976dcabfd40a
Diffstat (limited to 'tests/fixtures/config/protected/git/org_project/zuul.yaml')
-rw-r--r--tests/fixtures/config/protected/git/org_project/zuul.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/fixtures/config/protected/git/org_project/zuul.yaml b/tests/fixtures/config/protected/git/org_project/zuul.yaml
new file mode 100644
index 000000000..95f33df6f
--- /dev/null
+++ b/tests/fixtures/config/protected/git/org_project/zuul.yaml
@@ -0,0 +1,9 @@
+- job:
+ name: job-protected
+ protected: true
+ run: playbooks/job-protected.yaml
+
+- project:
+ name: org/project
+ check:
+ jobs: []