Skip to content

Commit 57f1904

Browse files
committed
run on open PRs
1 parent fddf68c commit 57f1904

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.gitlab/templates/pipeline.yaml.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ publish layer e2e sandbox ({{ $f.name }}):
244244
when: on_success
245245
variables:
246246
LAYER_DESCRIPTION: $CI_COMMIT_TAG
247-
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_IID'
247+
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_IID || $CI_OPEN_MERGE_REQUESTS'
248248
when: on_success
249249
variables:
250250
LAYER_DESCRIPTION: $CI_COMMIT_SHORT_SHA
@@ -283,7 +283,7 @@ e2e-test ({{ $f.name }}):
283283
when: on_success
284284
variables:
285285
EXTENSION_VERSION: $CI_COMMIT_TAG
286-
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_IID'
286+
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_IID || $CI_OPEN_MERGE_REQUESTS'
287287
when: on_success
288288
variables:
289289
EXTENSION_VERSION: $CI_COMMIT_SHORT_SHA
@@ -301,7 +301,7 @@ e2e-test-status ({{ $f.name }}):
301301
rules:
302302
- if: '$CI_COMMIT_TAG =~ /^v.*/'
303303
when: on_success
304-
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_IID'
304+
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_IID || $CI_OPEN_MERGE_REQUESTS'
305305
when: on_success
306306
needs:
307307
- job: "e2e-test ({{ $f.name }})"

0 commit comments

Comments
 (0)