File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 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+
177198publish-pypi-package:
178199 stage: publish
179200 tags: [" arch:amd64" ]
You can’t perform that action at this time.
0 commit comments