Skip to content

Commit 1746f2e

Browse files
remove layer bundle
1 parent fbc9dc4 commit 1746f2e

1 file changed

Lines changed: 7 additions & 33 deletions

File tree

ci/input_files/build.yaml.tpl

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}):
102102
tags: ["arch:amd64"]
103103
image: registry.ddbuild.io/images/docker:20.10-py3
104104
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 }}
109105
- if: '$SKIP_E2E_TESTS == "true"'
110106
when: never
111107
- when: on_success
@@ -131,10 +127,6 @@ sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
131127
tags: ["arch:amd64"]
132128
image: registry.ddbuild.io/images/docker:20.10-py3
133129
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 }}
138130
- if: '$CI_COMMIT_TAG =~ /^v.*/'
139131
when: manual
140132
needs:
@@ -166,10 +158,6 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
166158
tags: ["arch:amd64"]
167159
image: registry.ddbuild.io/images/docker:20.10-py3
168160
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 }}
173161
- if: '$SKIP_E2E_TESTS == "true"'
174162
when: never
175163
- if: '"{{ $environment_name }}" == "sandbox" && $REGION == "{{ $e2e_region }}" && "{{ $runtime.arch }}" == "amd64"'
@@ -221,27 +209,20 @@ publish-pypi-package:
221209
rules:
222210
- if: '$CI_COMMIT_TAG =~ /^v.*/'
223211
when: manual
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 }}
212+
needs: {{ range $runtime := (ds "runtimes").runtimes }}
213+
- sign-layer ({{ $runtime.name }}-{{ $runtime.arch}})
214+
{{- end }}
231215
script:
232216
- ./ci/publish_pypi.sh
233217

234218
layer bundle:
235219
stage: build
236220
tags: ["arch:amd64"]
237221
image: registry.ddbuild.io/images/docker:20.10
238-
needs:
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 }}
222+
rules:
223+
- if: '$SKIP_E2E_TESTS == "true"'
224+
when: never
225+
- when: on_success
245226
dependencies: []
246227
artifacts:
247228
expire_in: 1 hr
@@ -259,13 +240,6 @@ signed layer bundle:
259240
tags: ["arch:amd64"]
260241
rules:
261242
- if: '$CI_COMMIT_TAG =~ /^v.*/'
262-
needs:
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 }}
269243
dependencies: []
270244
artifacts:
271245
expire_in: 1 day

0 commit comments

Comments
 (0)