diff options
Diffstat (limited to 'tests/fixtures/config/intermediate')
4 files changed, 61 insertions, 0 deletions
diff --git a/tests/fixtures/config/intermediate/git/common-config/playbooks/base.yaml b/tests/fixtures/config/intermediate/git/common-config/playbooks/base.yaml new file mode 100644 index 000000000..f679dceae --- /dev/null +++ b/tests/fixtures/config/intermediate/git/common-config/playbooks/base.yaml @@ -0,0 +1,2 @@ +- hosts: all + tasks: [] diff --git a/tests/fixtures/config/intermediate/git/common-config/zuul.yaml b/tests/fixtures/config/intermediate/git/common-config/zuul.yaml new file mode 100644 index 000000000..6c787c91d --- /dev/null +++ b/tests/fixtures/config/intermediate/git/common-config/zuul.yaml @@ -0,0 +1,50 @@ +- pipeline: + name: check + manager: independent + trigger: + gerrit: + - event: patchset-created + success: + gerrit: + Verified: 1 + failure: + gerrit: + Verified: -1 + +- job: + name: base + parent: null + run: playbooks/base.yaml + +- job: + name: job-abstract-intermediate + abstract: true + intermediate: true + +- job: + name: job-abstract + abstract: true + parent: job-abstract-intermediate + +# an intermediate, with an intermediate parent also +- job: + name: job-another-intermediate + parent: job-abstract-intermediate + abstract: true + intermediate: true + +- job: + name: job-another-abstract + parent: job-another-intermediate + abstract: true + +- job: + name: job-actual + parent: job-another-abstract + run: playbooks/base.yaml + +- project: + name: org/project + check: + jobs: [] + diff --git a/tests/fixtures/config/intermediate/git/org_project/README b/tests/fixtures/config/intermediate/git/org_project/README new file mode 100644 index 000000000..9daeafb98 --- /dev/null +++ b/tests/fixtures/config/intermediate/git/org_project/README @@ -0,0 +1 @@ +test diff --git a/tests/fixtures/config/intermediate/main.yaml b/tests/fixtures/config/intermediate/main.yaml new file mode 100644 index 000000000..208e274b1 --- /dev/null +++ b/tests/fixtures/config/intermediate/main.yaml @@ -0,0 +1,8 @@ +- tenant: + name: tenant-one + source: + gerrit: + config-projects: + - common-config + untrusted-projects: + - org/project |