Skip to content

Commit 7d5e6eb

Browse files
committed
Testing grep.
1 parent c59ba03 commit 7d5e6eb

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

.gitlab-ci.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,32 @@ stages:
66
key: datadog-lambda-python-go-cache
77
policy: pull
88

9-
generator:
9+
testing:
1010
stage: pre
1111
image: registry.ddbuild.io/images/mirror/golang:alpine
1212
tags: ["arch:amd64"]
13-
cache: *go-cache
1413
script:
15-
- apk add --no-cache gomplate
16-
- gomplate --config ci/config.yaml
17-
artifacts:
18-
paths:
19-
- ci/*-pipeline.yaml
14+
- echo "[us-west-2] Published arn arn:aws:lambda:us-west-2:425362996713:layer:Datadog-Python39:66" > publish.log
15+
- echo "$(grep -oE 'arn:aws:lambda:.*:\d+' publish.log)"
2016

21-
build-layers:
22-
stage: build
23-
trigger:
24-
include:
25-
- artifact: ci/build-pipeline.yaml
26-
job: generator
27-
strategy: depend
28-
rules:
29-
- when: on_success
17+
#generator:
18+
# stage: pre
19+
# image: registry.ddbuild.io/images/mirror/golang:alpine
20+
# tags: ["arch:amd64"]
21+
# cache: *go-cache
22+
# script:
23+
# - apk add --no-cache gomplate
24+
# - gomplate --config ci/config.yaml
25+
# artifacts:
26+
# paths:
27+
# - ci/*-pipeline.yaml
28+
#
29+
#build-layers:
30+
# stage: build
31+
# trigger:
32+
# include:
33+
# - artifact: ci/build-pipeline.yaml
34+
# job: generator
35+
# strategy: depend
36+
# rules:
37+
# - when: on_success

0 commit comments

Comments
 (0)