Skip to content

Commit 7fa74f1

Browse files
authored
Update 35opengate.yml
1 parent 5c23d6b commit 7fa74f1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

buildspec/release/35opengate.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1+
version: 0.2
12

3+
phases:
4+
install:
5+
runtime-versions:
6+
nodejs: 16
7+
8+
pre_build:
9+
commands:
10+
- STAGE_NAME=SourceWithGit
11+
- PIPELINE=$(echo $CODEBUILD_INITIATOR | sed -e 's/codepipeline\///')
12+
build:
13+
commands:
14+
- |
15+
aws codepipeline enable-stage-transition \
16+
--pipeline-name "$PIPELINE" \
17+
--stage-name "$STAGE_NAME" \
18+
--transition-type "Inbound" \
19+
--reason "Enabled by OpenGate (automation)"

0 commit comments

Comments
 (0)