@@ -61,6 +61,12 @@ check-layer-size ({{ $runtime.name }}-{{ $runtime.arch }}):
6161 stage: test
6262 tags: [" arch:amd64" ]
6363 image: registry.ddbuild.io /images/docker:20.10
64+ {{- if eq $runtime .python_version " 3.8" }}
65+ rules:
66+ - if : '$DD_TRACE_COMMIT || $DD_TRACE_COMMIT_BRANCH || $DD_TRACE_WHEEL || $UPSTREAM_PIPELINE_ID '
67+ when: never
68+ - when: on_success
69+ {{- end }}
6470 needs:
6571 - build-layer ({{ $runtime .name }}-{{ $runtime .arch }})
6672 dependencies:
@@ -96,6 +102,10 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}):
96102 tags: [" arch:amd64" ]
97103 image: registry.ddbuild.io /images/docker:20.10 -py3
98104 rules:
105+ {{- if eq $runtime .python_version " 3.8" }}
106+ - if : '$DD_TRACE_COMMIT || $DD_TRACE_COMMIT_BRANCH || $DD_TRACE_WHEEL || $UPSTREAM_PIPELINE_ID '
107+ when: never
108+ {{- end }}
99109 - if : '$SKIP_E2E_TESTS == " true" '
100110 when: never
101111 - when: on_success
@@ -121,6 +131,10 @@ sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
121131 tags: [" arch:amd64" ]
122132 image: registry.ddbuild.io /images/docker:20.10 -py3
123133 rules:
134+ {{- if eq $runtime .python_version " 3.8" }}
135+ - if : '$DD_TRACE_COMMIT || $DD_TRACE_COMMIT_BRANCH || $DD_TRACE_WHEEL || $UPSTREAM_PIPELINE_ID '
136+ when: never
137+ {{- end }}
124138 - if : '$CI_COMMIT_TAG = ~ /^v. */'
125139 when: manual
126140 needs:
@@ -152,6 +166,10 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
152166 tags: [" arch:amd64" ]
153167 image: registry.ddbuild.io /images/docker:20.10 -py3
154168 rules:
169+ {{- if eq $runtime .python_version " 3.8" }}
170+ - if : '$DD_TRACE_COMMIT || $DD_TRACE_COMMIT_BRANCH || $DD_TRACE_WHEEL || $UPSTREAM_PIPELINE_ID '
171+ when: never
172+ {{- end }}
155173 - if : '$SKIP_E2E_TESTS == " true" '
156174 when: never
157175 - if : '" {{ $environment_name }}" == " sandbox" && $REGION == " {{ $e2e_region }}" && " {{ $runtime.arch }}" == " amd64" '
@@ -203,9 +221,13 @@ publish-pypi-package:
203221 rules:
204222 - if : '$CI_COMMIT_TAG = ~ /^v. */'
205223 when: manual
206- needs: {{ range $runtime := (ds " runtimes" ).runtimes }}
207- - sign-layer ({{ $runtime .name }}-{{ $runtime .arch }})
208- {{- end }}
224+ needs:
225+ {{- range $rt := (ds " runtimes" ).runtimes }}
226+ - job: sign-layer ({{ $rt .name }}-{{ $rt .arch }})
227+ {{- if eq $rt .python_version " 3.8" }}
228+ optional: true
229+ {{- end }}
230+ {{- end }}
209231 script:
210232 - . /ci/publish_pypi.sh
211233
@@ -214,13 +236,13 @@ layer bundle:
214236 tags: [" arch:amd64" ]
215237 image: registry.ddbuild.io /images/docker:20.10
216238 needs:
217- {{ range (ds " runtimes" ).runtimes }}
218- - build-layer ({{ .name }}-{{ .arch }})
219- {{ end }}
220- dependencies:
221- {{ range (ds " runtimes " ) .runtimes }}
222- - build-layer ({{ .name }}-{{ .arch }})
223- {{ end }}
239+ {{- range (ds " runtimes" ).runtimes }}
240+ - job: build-layer ({{ .name }}-{{ .arch }})
241+ {{- if eq .python_version " 3.8 " }}
242+ optional: true
243+ {{- end }}
244+ {{- end }}
245+ dependencies: []
224246 artifacts:
225247 expire_in: 1 hr
226248 paths:
@@ -238,13 +260,13 @@ signed layer bundle:
238260 rules:
239261 - if : '$CI_COMMIT_TAG = ~ /^v. */'
240262 needs:
241- {{ range (ds " runtimes" ).runtimes }}
242- - sign-layer ({{ .name }}-{{ .arch }})
243- {{ end }}
244- dependencies:
245- {{ range (ds " runtimes " ) .runtimes }}
246- - sign-layer ({{ .name }}-{{ .arch }})
247- {{ end }}
263+ {{- range (ds " runtimes" ).runtimes }}
264+ - job: sign-layer ({{ .name }}-{{ .arch }})
265+ {{- if eq .python_version " 3.8 " }}
266+ optional: true
267+ {{- end }}
268+ {{- end }}
269+ dependencies: []
248270 artifacts:
249271 expire_in: 1 day
250272 paths:
@@ -273,9 +295,13 @@ e2e-test:
273295 PYTHON_{{ $version }}_VERSION: $PYTHON_ {{ $version }}_VERSION
274296 {{- end }}
275297 {{- end }}
276- needs: {{ range (ds " runtimes" ).runtimes }}
298+ needs:
299+ {{- range (ds " runtimes" ).runtimes }}
277300 {{- if eq .arch " amd64" }}
278- - " publish-layer-sandbox ({{ .name }}-{{ .arch }}): [{{ $e2e_region }}]"
301+ - job: " publish-layer-sandbox ({{ .name }}-{{ .arch }}): [{{ $e2e_region }}]"
302+ {{- if eq .python_version " 3.8" }}
303+ optional: true
304+ {{- end }}
279305 {{- end }}
280306 {{- end }}
281307
0 commit comments