diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml index 6d8c660..26594bb 100644 --- a/zuul.d/pipelines.yaml +++ b/zuul.d/pipelines.yaml @@ -88,3 +88,37 @@ mysql: window-floor: 20 window-increase-factor: 2 + +- pipeline: + name: pr-status + description: | + New PRs, modified PRs and re-labelled PRs enter this pipeline to + have their merge-readiness status reevaluated. + success-message: PR is ready to merge. + failure-message: PR merging is blocked by a WIP label or title keyword. + manager: independent + precedence: low + trigger: + github: + - event: pull_request + action: + - opened + - changed + - reopened + - labeled + - unlabeled + start: + github: + status: pending + comment: false + success: + github: + status: 'success' + mysql: + failure: + github: + status: 'failure' + mysql: + # Don't report merge-failures to github + merge-failure: + mysql: diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml new file mode 100644 index 0000000..2f17ee4 --- /dev/null +++ b/zuul.d/project-templates.yaml @@ -0,0 +1,8 @@ +- project-template: + name: kata-pre-checks + description: | + This template contains pre-check tests for Kata containers + repositories. + pr-status: + jobs: + - kata-github-wip diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 9321de9..f5f26ae 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -9,3 +9,8 @@ gate: jobs: - kata-zuul-jobs-linters + +- project: + name: kata-containers/proxy + templates: + - kata-pre-checks