Commit 71195edb authored by Mark Lapierre's avatar Mark Lapierre

Exclude qa:internal in non-qa pipelines

The job runs the QA specs so it's not needed if the pipeline
doesn't include QA changes.
parent 68666e8d
......@@ -16,14 +16,14 @@
qa:internal:
extends:
- .qa-job-base
- .qa:rules:ee-and-foss
- .qa:rules:internal
script:
- bundle exec rspec
qa:internal-as-if-foss:
extends:
- qa:internal
- .qa:rules:as-if-foss
- .qa:rules:internal-as-if-foss
- .as-if-foss
qa:selectors:
......
......@@ -858,6 +858,11 @@
############
# QA rules #
############
.qa:rules:internal:
rules:
- <<: *if-default-refs
changes: *qa-patterns
.qa:rules:ee-and-foss:
rules:
- <<: *if-default-refs
......@@ -873,6 +878,12 @@
- <<: *if-merge-request
changes: *ci-patterns
.qa:rules:internal-as-if-foss:
rules:
- !reference [".strict-ee-only-rules", rules]
- <<: *if-default-refs
changes: *qa-patterns
.qa:rules:package-and-qa:
rules:
- <<: *if-not-ee
......
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