Commit d52a26e8 authored by Albert Salim's avatar Albert Salim

Merge branch '290728-the-new-workhorse-job-in-the-pipeline-has-no-rules-extends' into 'master'

ci: Add rules to the 'workhorse' job

See merge request gitlab-org/gitlab!49117
parents 0733c8bf 55ec0560
......@@ -106,6 +106,10 @@
- ".gitlab/ci/build-images.gitlab-ci.yml"
- ".gitlab/ci/qa.gitlab-ci.yml"
.workhorse-patterns: &workhorse-patterns
- "GITLAB_WORKHORSE_VERSION"
- "workhorse/**/*"
.yaml-lint-patterns: &yaml-lint-patterns
- ".gitlab-ci.yml"
- ".gitlab/ci/**/*.yml"
......@@ -922,6 +926,14 @@
- <<: *if-dot-com-ee-schedule
changes: *code-backstage-patterns
###################
# workhorse rules #
###################
.workhorse:rules:workhorse:
rules:
- <<: *if-default-refs
changes: *workhorse-patterns
###################
# yaml-lint rules #
###################
......
workhorse:
extends: .workhorse:rules:workhorse
image: golang:1.14
stage: test
needs: []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment