Introduce a new 'package-and-qa-manual:master' job

This is needed because in `master`, the `gitlab:assets:compile` is
created, but not the `gitlab:assets:compile pull-cache` job, and the
`needs` keyword cannot take jobs that don't exist, thus we have to
create a dedicated job for `master`, with `needs: ["build-qa-image",
"gitlab:assets:compile"]` instead of `needs: ["build-qa-image",
"gitlab:assets:compile pull-cache"]`.
Signed-off-by: NRémy Coutable <remy@rymai.me>
上级 a22646af
.package-and-qa-base:
image: ruby:2.6-alpine
stage: qa
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
dependencies: []
variables:
GIT_DEPTH: "1"
......@@ -20,10 +19,24 @@ package-and-qa-manual:
extends:
- .package-and-qa-base
- .except-docs-qa
except:
refs:
- master
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
when: manual
package-and-qa-manual:master:
extends:
- .package-and-qa-base
needs: ["build-qa-image", "gitlab:assets:compile"]
only:
refs:
- master
when: manual
package-and-qa:
extends: .package-and-qa-base
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
allow_failure: true
only:
- /(^qa[\/-].*|.*-qa$)/@gitlab-org/gitlab-ce
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册