Skip to content

Commit 70ee61b

Browse files
Trigger layer version update in documentation (#703)
* Adding Gitlab trigger to update public docs * Hard code prod environment name * typo
1 parent 05c440d commit 70ee61b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.gitlab/input_files/build.yaml.tpl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,23 @@ publish npm package:
176176
script:
177177
- .gitlab/scripts/publish_npm.sh
178178

179+
update-layer-versions-docs:
180+
stage: publish
181+
trigger:
182+
project: DataDog/serverless-ci
183+
rules:
184+
- if: '$CI_COMMIT_TAG =~ /^v.*/'
185+
needs:
186+
{{ range $runtime := (ds "runtimes").runtimes }}
187+
- publish layer prod ({{ $runtime.name }})
188+
{{- end }}
189+
- publish npm package
190+
variables:
191+
RUN_LAMBDA_LAYER_DOCUMENTATION: "true"
192+
RUN_LAMBDA_DATADOG_CI: "true"
193+
RUN_LAMBDA_UI_LAYER_VERSIONS: "true"
194+
RUN_LAMBDA_RUNTIMES: "true"
195+
179196
{{ range $environment := (ds "environments").environments }}
180197

181198
{{ if eq $environment.name "prod" }}signed {{ end }}layer bundle:

0 commit comments

Comments
 (0)