From 1723f4e9e98f4c9f401632aa261a1be26d7c174d Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 29 Dec 2025 14:54:09 -0500 Subject: [PATCH] Trigger layer version update in documentation --- .gitlab/template.yaml.tpl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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"]