diff --git a/.gitlab/template.yaml.tpl b/.gitlab/template.yaml.tpl index 1c91ae5..0da99e5 100644 --- a/.gitlab/template.yaml.tpl +++ b/.gitlab/template.yaml.tpl @@ -155,6 +155,23 @@ publish rubygems: script: - .gitlab/scripts/publish_rubygems.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.ruby_version }}, {{ $runtime.arch}}) + {{- end }} + - publish rubygems + 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"]