diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 67f13706..6820057d 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -206,6 +206,22 @@ publish-pypi-package: script: - ./ci/publish_pypi.sh +update-layer-versions-docs: + stage: publish + trigger: + project: DataDog/serverless-ci + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + needs: {{ range $runtime := (ds "runtimes").runtimes }} + - publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}}) + {{- end }} + - publish-pypi-package + variables: + RUN_LAMBDA_LAYER_DOCUMENTATION: "true" + RUN_LAMBDA_DATADOG_CI: "true" + RUN_LAMBDA_UI_LAYER_VERSIONS: "true" + RUN_LAMBDA_RUNTIMES: "true" + layer bundle: stage: build tags: ["arch:amd64"]