Skip to content

Commit a70aaf6

Browse files
check skip_e2e_test=true explicitly
1 parent c8555e9 commit a70aaf6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
142142
tags: ["arch:amd64"]
143143
image: registry.ddbuild.io/images/docker:20.10-py3
144144
rules:
145-
- if: $SKIP_E2E_TESTS
145+
- if: '$SKIP_E2E_TESTS == true'
146146
when: never
147147
- if: '"{{ $environment_name }}" == "sandbox" && $REGION == "{{ $e2e_region }}" && "{{ $runtime.arch }}" == "amd64"'
148148
when: on_success
@@ -190,8 +190,6 @@ publish-pypi-package:
190190
before_script: *python-before-script
191191
cache: []
192192
rules:
193-
- if: $SKIP_E2E_TESTS
194-
when: never
195193
- if: '$CI_COMMIT_TAG =~ /^v.*/'
196194
when: manual
197195
needs: {{ range $runtime := (ds "runtimes").runtimes }}
@@ -252,7 +250,7 @@ e2e-test:
252250
project: DataDog/serverless-e2e-tests
253251
strategy: depend
254252
rules:
255-
- if: $SKIP_E2E_TESTS
253+
- if: '$SKIP_E2E_TESTS == true'
256254
when: never
257255
- when: on_success
258256
variables:
@@ -276,7 +274,7 @@ e2e-test-status:
276274
tags: ["arch:amd64"]
277275
timeout: 3h
278276
rules:
279-
- if: $SKIP_E2E_TESTS
277+
- if: '$SKIP_E2E_TESTS == true'
280278
when: never
281279
- when: on_success
282280
script: |

0 commit comments

Comments
 (0)