|
55 | 55 | .if-runner-or-security-runner-stable-ref: &if-runner-or-security-runner-stable-ref
|
56 | 56 | if: $CI_COMMIT_REF_NAME =~ /\A[0-9]+-[0-9]+-stable\z/ && ($CI_PROJECT_PATH == "gitlab-org/gitlab-runner" || $CI_PROJECT_PATH == "gitlab-org/security/gitlab-runner")
|
57 | 57 |
|
| 58 | +.if-runner-or-security-runner-feature-ref: &if-runner-or-security-runner-feature-ref |
| 59 | + if: $CI_COMMIT_REF_NAME =~ /feature\/.+/ && ($CI_PROJECT_PATH == "gitlab-org/gitlab-runner" || $CI_PROJECT_PATH == "gitlab-org/security/gitlab-runner") |
| 60 | + |
58 | 61 | .if-runner-release-ref: &if-runner-release-ref
|
59 | 62 | if: $CI_COMMIT_REF_NAME =~ /\Av[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?\z/ && $CI_PROJECT_PATH == "gitlab-org/gitlab-runner"
|
60 | 63 |
|
|
94 | 97 | - <<: *if-merge-request-pipeline
|
95 | 98 | - <<: *if-runner-or-security-runner-default-branch
|
96 | 99 | - <<: *if-runner-or-security-runner-stable-ref
|
| 100 | + - <<: *if-runner-or-security-runner-feature-ref |
97 | 101 | - <<: *if-runner-release-ref
|
98 | 102 | - <<: *if-security-runner-release-ref
|
99 | 103 |
|
|
105 | 109 | changes: *code-backstage-patterns
|
106 | 110 | - <<: *if-runner-or-security-runner-stable-ref
|
107 | 111 | changes: *code-backstage-patterns
|
| 112 | + - <<: *if-runner-or-security-runner-feature-ref |
| 113 | + changes: *code-backstage-patterns |
108 | 114 | - <<: *if-runner-release-ref
|
109 | 115 | changes: *code-backstage-patterns
|
110 | 116 | - <<: *if-security-runner-release-ref
|
|
120 | 126 | changes: *code-backstage-patterns
|
121 | 127 | - <<: *if-runner-or-security-runner-stable-ref
|
122 | 128 | changes: *code-backstage-patterns
|
| 129 | + - <<: *if-runner-or-security-runner-feature-ref |
| 130 | + changes: *code-backstage-patterns |
123 | 131 | - <<: *if-runner-release-ref
|
124 | 132 | changes: *code-backstage-patterns
|
125 | 133 | - <<: *if-security-runner-release-ref
|
|
175 | 183 | changes: *code-backstage-patterns
|
176 | 184 | - <<: *if-runner-bleeding-edge-release-ref
|
177 | 185 | changes: *code-backstage-patterns
|
| 186 | + - <<: *if-runner-or-security-runner-stable-ref |
| 187 | + changes: *code-backstage-patterns |
| 188 | + - <<: *if-runner-or-security-runner-feature-ref |
| 189 | + changes: *code-backstage-patterns |
178 | 190 |
|
179 | 191 | .rules:release-or-security:bleeding-edge-or-stable:
|
180 | 192 | rules:
|
|
184 | 196 | changes: *code-backstage-patterns
|
185 | 197 | - <<: *if-runner-or-security-runner-stable-ref
|
186 | 198 | changes: *code-backstage-patterns
|
| 199 | + - <<: *if-runner-or-security-runner-feature-ref |
| 200 | + changes: *code-backstage-patterns |
187 | 201 |
|
188 | 202 | .rules:release:stable-or-rc:
|
189 | 203 | rules:
|
|
0 commit comments