Skip to content

Commit 33568a6

Browse files
committed
WIP
1 parent 6889e0f commit 33568a6

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ stages:
33
- test
44
- sign
55
- publish
6+
- e2e
67

78
.python-before-script: &python-before-script
89
- pip install virtualenv
@@ -138,7 +139,7 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
138139
tags: ["arch:amd64"]
139140
image: registry.ddbuild.io/images/docker:20.10-py3
140141
rules:
141-
- if: '"{{ $environment_name }}" == "sandbox" && $REGION == "us-east-1" && "{{ $runtime.arch }}" == "amd64"'
142+
- if: '"{{ $environment_name }}" == "sandbox" && $REGION == "ap-east-1" && "{{ $runtime.arch }}" == "amd64"'
142143
when: always
143144
- if: '"{{ $environment_name }}" == "sandbox"'
144145
when: manual
@@ -174,6 +175,26 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
174175

175176
{{- end }}
176177

178+
run-e2e:
179+
stage: e2e
180+
tags: ["arch:amd64"]
181+
image: registry.ddbuild.io/images/docker:20.10-py3
182+
needs: {{ range $runtime := (ds "runtimes").runtimes }}
183+
- publish-layer-sandbox ({{ $runtime.name }}-amd64): [ap-east-1]
184+
{{- end }}
185+
trigger:
186+
project: "DataDog/serverless-e2e-tests"
187+
strategy: depend
188+
variables:
189+
LANGUAGES_SUBSET: python
190+
PYTHON_38_VERSION: latest
191+
PYTHON_39_VERSION: latest
192+
PYTHON_310_VERSION: latest
193+
PYTHON_311_VERSION: latest
194+
PYTHON_312_VERSION: latest
195+
PYTHON_313_VERSION: latest
196+
197+
177198
publish-pypi-package:
178199
stage: publish
179200
tags: ["arch:amd64"]

0 commit comments

Comments
 (0)