From a86ad5f84d2d74c65abd94c9c51f24fc1ca98aa1 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 26 Dec 2025 12:47:58 -0500 Subject: [PATCH 1/7] Trigger version update in documentation --- ci/input_files/build.yaml.tpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 67f13706..224fadfc 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -206,6 +206,20 @@ publish-pypi-package: script: - ./ci/publish_pypi.sh +update-layer-versions-docs: + stage: publish + trigger: + project: DataDog/serverless-ci + inputs: + RUN_LAMBDA_LAYER_DOCUMENTATION: true + RUN_LAMBDA_DATADOG_CI: true + RUN_LAMBDA_UI_LAYER_VERSIONS: true + RUN_LAMBDA_RUNTIMES: true + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + needs: {{ range $runtime := (ds "runtimes").runtimes }} + - publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}}) + layer bundle: stage: build tags: ["arch:amd64"] From 66d13288517cfed0e29c109766ee80c8009c8049 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 26 Dec 2025 14:42:09 -0500 Subject: [PATCH 2/7] typo --- ci/input_files/build.yaml.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 224fadfc..dd963d55 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -219,6 +219,7 @@ update-layer-versions-docs: - if: '$CI_COMMIT_TAG =~ /^v.*/' needs: {{ range $runtime := (ds "runtimes").runtimes }} - publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}}) + {{- end }} layer bundle: stage: build From 6436d93d78ef3fc9c94f96d14ed15938058cce23 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 26 Dec 2025 15:03:32 -0500 Subject: [PATCH 3/7] Move input to variables --- ci/input_files/build.yaml.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index dd963d55..833b133d 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -210,16 +210,16 @@ update-layer-versions-docs: stage: publish trigger: project: DataDog/serverless-ci - inputs: - RUN_LAMBDA_LAYER_DOCUMENTATION: true - RUN_LAMBDA_DATADOG_CI: true - RUN_LAMBDA_UI_LAYER_VERSIONS: true - RUN_LAMBDA_RUNTIMES: true rules: - if: '$CI_COMMIT_TAG =~ /^v.*/' needs: {{ range $runtime := (ds "runtimes").runtimes }} - publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}}) - {{- end }} + {{- end }} + 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 From 8390bea1d7b08e9056cfec2f1a778e7e550163c9 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 29 Dec 2025 09:42:52 -0500 Subject: [PATCH 4/7] Needs pypi package --- ci/input_files/build.yaml.tpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 833b133d..f7647ca2 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -212,9 +212,8 @@ update-layer-versions-docs: project: DataDog/serverless-ci rules: - if: '$CI_COMMIT_TAG =~ /^v.*/' - needs: {{ range $runtime := (ds "runtimes").runtimes }} - - publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}}) - {{- end }} + needs: + - publish-pypi-package variables: RUN_LAMBDA_LAYER_DOCUMENTATION: "true" RUN_LAMBDA_DATADOG_CI: "true" From 2c9ea2c0d8868fd02e3c24e7b39e47984b55afdb Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 29 Dec 2025 10:06:21 -0500 Subject: [PATCH 5/7] both pypi and layers --- ci/input_files/build.yaml.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index f7647ca2..6820057d 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -212,7 +212,9 @@ update-layer-versions-docs: project: DataDog/serverless-ci rules: - if: '$CI_COMMIT_TAG =~ /^v.*/' - needs: + needs: {{ range $runtime := (ds "runtimes").runtimes }} + - publish-layer-prod ({{ $runtime.name }}-{{ $runtime.arch}}) + {{- end }} - publish-pypi-package variables: RUN_LAMBDA_LAYER_DOCUMENTATION: "true" From 1a938cfa986675d85880fff7e55acd17249ed9e2 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Tue, 30 Dec 2025 11:17:02 -0500 Subject: [PATCH 6/7] testing trigger --- ci/input_files/build.yaml.tpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 6820057d..4a6b7e91 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -114,6 +114,19 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}): - RUNTIME_PARAM={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_tests.sh retry: 2 +test-update-layer-versions-docs: + stage: publish + trigger: + project: DataDog/serverless-ci + needs: {{ range $runtime := (ds "runtimes").runtimes }} + - integration-test ({{ $runtime.name }}-{{ $runtime.arch}}) + {{- end }} + variables: + RUN_LAMBDA_LAYER_DOCUMENTATION: "true" + RUN_LAMBDA_DATADOG_CI: "true" + RUN_LAMBDA_UI_LAYER_VERSIONS: "true" + RUN_LAMBDA_RUNTIMES: "true" + sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}): stage: sign tags: ["arch:amd64"] From 49dd8a5d22b9c6da851df971c9932e7b79e241fd Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Tue, 30 Dec 2025 11:32:25 -0500 Subject: [PATCH 7/7] Remove testing --- ci/input_files/build.yaml.tpl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 4a6b7e91..6820057d 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -114,19 +114,6 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}): - RUNTIME_PARAM={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_tests.sh retry: 2 -test-update-layer-versions-docs: - stage: publish - trigger: - project: DataDog/serverless-ci - needs: {{ range $runtime := (ds "runtimes").runtimes }} - - integration-test ({{ $runtime.name }}-{{ $runtime.arch}}) - {{- end }} - variables: - RUN_LAMBDA_LAYER_DOCUMENTATION: "true" - RUN_LAMBDA_DATADOG_CI: "true" - RUN_LAMBDA_UI_LAYER_VERSIONS: "true" - RUN_LAMBDA_RUNTIMES: "true" - sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}): stage: sign tags: ["arch:amd64"]