From f9cb2fd597892998fc20824ebf2c4466e5253fc5 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 29 Dec 2025 10:55:12 -0500 Subject: [PATCH 1/3] Adding Gitlab trigger to update public docs --- .gitlab/input_files/build.yaml.tpl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitlab/input_files/build.yaml.tpl b/.gitlab/input_files/build.yaml.tpl index 737d746e..54e0c381 100644 --- a/.gitlab/input_files/build.yaml.tpl +++ b/.gitlab/input_files/build.yaml.tpl @@ -176,6 +176,25 @@ publish npm package: script: - .gitlab/scripts/publish_npm.sh +update-layer-versions-docs: + stage: publish + trigger: + project: DataDog/serverless-ci + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + needs: + {{ if or (eq $environment.name "prod") }} + {{ range $runtime := (ds "runtimes").runtimes }} + - publish layer {{ $environment.name }} ({{ $runtime.name }}) + {{- end }} + - publish npm package + {{ end }} + variables: + RUN_LAMBDA_LAYER_DOCUMENTATION: "true" + RUN_LAMBDA_DATADOG_CI: "true" + RUN_LAMBDA_UI_LAYER_VERSIONS: "true" + RUN_LAMBDA_RUNTIMES: "true" + {{ range $environment := (ds "environments").environments }} {{ if eq $environment.name "prod" }}signed {{ end }}layer bundle: From f71b2fac77c43043ebb3d455263ad96a08eb97ea Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 29 Dec 2025 12:51:17 -0500 Subject: [PATCH 2/3] Hard code prod environment name --- .gitlab/input_files/build.yaml.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab/input_files/build.yaml.tpl b/.gitlab/input_files/build.yaml.tpl index 54e0c381..56dcc2c4 100644 --- a/.gitlab/input_files/build.yaml.tpl +++ b/.gitlab/input_files/build.yaml.tpl @@ -183,9 +183,8 @@ update-layer-versions-docs: rules: - if: '$CI_COMMIT_TAG =~ /^v.*/' needs: - {{ if or (eq $environment.name "prod") }} {{ range $runtime := (ds "runtimes").runtimes }} - - publish layer {{ $environment.name }} ({{ $runtime.name }}) + - publish layer prod ({{ $runtime.name }}) {{- end }} - publish npm package {{ end }} From de6821312e87d76bc45791590b9bd0b02b76e8b3 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 29 Dec 2025 12:52:31 -0500 Subject: [PATCH 3/3] typo --- .gitlab/input_files/build.yaml.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab/input_files/build.yaml.tpl b/.gitlab/input_files/build.yaml.tpl index 56dcc2c4..2f91d417 100644 --- a/.gitlab/input_files/build.yaml.tpl +++ b/.gitlab/input_files/build.yaml.tpl @@ -187,7 +187,6 @@ update-layer-versions-docs: - publish layer prod ({{ $runtime.name }}) {{- end }} - publish npm package - {{ end }} variables: RUN_LAMBDA_LAYER_DOCUMENTATION: "true" RUN_LAMBDA_DATADOG_CI: "true"