Skip to content

Commit 1f9a316

Browse files
Trigger layer version update in documentation (#704)
* Trigger version update in documentation * typo * Move input to variables * Needs pypi package * both pypi and layers * testing trigger * Remove testing
1 parent 23dfcd2 commit 1f9a316

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,22 @@ publish-pypi-package:
206206
script:
207207
- ./ci/publish_pypi.sh
208208

209+
update-layer-versions-docs:
210+
stage: publish
211+
trigger:
212+
project: DataDog/serverless-ci
213+
rules:
214+
- if: '$CI_COMMIT_TAG =~ /^v.*/'
215+
needs: {{ range $runtime := (ds "runtimes").runtimes }}
216+
- publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}})
217+
{{- end }}
218+
- publish-pypi-package
219+
variables:
220+
RUN_LAMBDA_LAYER_DOCUMENTATION: "true"
221+
RUN_LAMBDA_DATADOG_CI: "true"
222+
RUN_LAMBDA_UI_LAYER_VERSIONS: "true"
223+
RUN_LAMBDA_RUNTIMES: "true"
224+
209225
layer bundle:
210226
stage: build
211227
tags: ["arch:amd64"]

0 commit comments

Comments
 (0)