- pipeline: name: pipeline manager: independent require: github: status: zuul:tenant-one/check:success trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: pipeline_regex manager: independent require: github: status: zuul:.*:success trigger: github: - event: pull_request action: comment comment: test regex success: github: comment: true - pipeline: name: reject_status manager: independent reject: github: status: zuul:tenant-one/check:error trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: reject_status_regex manager: independent reject: github: status: zuul:.*/check:error trigger: github: - event: pull_request action: comment comment: test regex success: github: comment: true - pipeline: name: trigger_status manager: independent trigger: github: - event: pull_request action: comment comment: trigger me require-status: zuul:tenant-one/check:success - event: pull_request action: comment comment: trigger regex require-status: zuul:.*:success success: github: comment: true - pipeline: name: trigger_check_run manager: independent trigger: github: - event: check_run action: requested check: zuul:tenant-one/check:.* success: github: comment: true check: success - pipeline: name: require_check_run manager: independent require: github: status: # Github does not differentiate between status and check run # in case of branch protection and required status checks. - check-run:tenant-one/check:success trigger: github: - event: pull_request action: comment comment: trigger me success: github: check: success - pipeline: name: trigger manager: independent trigger: github: - event: pull_request action: status status: # first line is to check if a list works here - dummy:tenant-one/check:success - zuul:tenant-one/check:success - event: pull_request action: status status: - other-ci:.+:success success: github: status: success failure: github: status: failure - pipeline: name: reviewusername manager: independent require: github: review: - username: ^(herp|derp)$ type: approved trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: reviewreq manager: independent require: github: review: - type: approved permission: write reject: github: review: - type: changes_requested permission: write trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: reviewuserstate manager: independent require: github: review: - username: derp type: approved permission: write reject: github: review: - type: changes_requested permission: write trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: newer_than manager: independent require: github: review: - type: approved permission: write newer-than: 1d trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: older_than manager: independent require: github: review: - type: approved permission: write older-than: 1d trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: require_open manager: independent require: github: open: true trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: reject_open manager: independent reject: github: open: true trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: require_current manager: independent require: github: current-patchset: true trigger: github: - event: pull_request action: changed success: github: comment: true - pipeline: name: reject_current manager: independent reject: github: current-patchset: true trigger: github: - event: pull_request action: changed success: github: comment: true - pipeline: name: require_label manager: independent require: github: label: approved trigger: github: - event: pull_request action: comment comment: test me success: github: comment: true - pipeline: name: reject_label manager: independent require: github: label: approved reject: github: label: do-not-merge trigger: github: - event: pull_request action: comment comment: test me - event: pull_request action: unlabeled label: do-not-merge success: github: comment: true - job: name: base parent: null run: playbooks/base.yaml - job: name: project1-pipeline run: playbooks/project1-pipeline.yaml - job: name: project2-trigger run: playbooks/project2-trigger.yaml - job: name: project3-reviewusername run: playbooks/project3-reviewusername.yaml - job: name: project4-reviewreq run: playbooks/project4-reviewreq.yaml - job: name: project5-reviewuserstate run: playbooks/project5-reviewuserstate.yaml - job: name: project6-newerthan run: playbooks/project6-newerthan.yaml - job: name: project7-olderthan run: playbooks/project7-olderthan.yaml - job: name: project8-requireopen run: playbooks/project8-requireopen.yaml - job: name: project9-requirecurrent run: playbooks/project9-requirecurrent.yaml - job: name: project10-label run: playbooks/project10-label.yaml - job: name: project11-label run: playbooks/project11-label.yaml - job: name: project12-status run: playbooks/project12-status.yaml - job: name: project13-open run: playbooks/project13-open.yaml - job: name: project14-current run: playbooks/project14-current.yaml - job: name: project15-check-run run: playbooks/project15-check-run.yaml - job: name: project16-require-check-run run: playbooks/project16-require-check-run.yaml - project: name: org/project1 pipeline: jobs: - project1-pipeline pipeline_regex: jobs: - project1-pipeline trigger_status: jobs: - project1-pipeline - project: name: org/project2 trigger: jobs: - project2-trigger - project: name: org/project3 reviewusername: jobs: - project3-reviewusername - project: name: org/project4 reviewreq: jobs: - project4-reviewreq - project: name: org/project5 reviewuserstate: jobs: - project5-reviewuserstate - project: name: org/project6 newer_than: jobs: - project6-newerthan - project: name: org/project7 older_than: jobs: - project7-olderthan - project: name: org/project8 require_open: jobs: - project8-requireopen - project: name: org/project9 require_current: jobs: - project9-requirecurrent - project: name: org/project10 require_label: jobs: - project10-label - project: name: org/project11 reject_label: jobs: - project11-label - project: name: org/project12 reject_status: jobs: - project12-status reject_status_regex: jobs: - project12-status - project: name: org/project13 reject_open: jobs: - project13-open - project: name: org/project14 reject_current: jobs: - project14-current - project: name: org/project15 trigger_check_run: jobs: - project15-check-run - project: name: org/project16 require_check_run: jobs: - project16-require-check-run