Commit 55ec0560 authored by Rémy Coutable's avatar Rémy Coutable

ci: Add rules to the 'workhorse' job

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent a141c69b
......@@ -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