zuul/tests/fixtures/layout-skip-if.yaml

30 lines
591 B
YAML

pipelines:
- name: check
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
verified: 1
failure:
gerrit:
verified: -1
jobs:
# Defining a metajob will validate that the skip-if attribute of the
# metajob is correctly copied to the job.
- name: ^.*skip-if$
skip-if:
- project: ^org/project$
branch: ^master$
all-files-match-any:
- ^README$
- name: project-test-skip-if
projects:
- name: org/project
check:
- project-test-skip-if