Commit 7fd13bb 1 parent 99a1a69 commit 7fd13bb Copy full SHA for 7fd13bb
File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ phases:
15
15
- go install golang.org/x/lint/golint@latest
16
16
17
17
# Install staticcheck
18
- - go install honnef.co/go/tools/cmd/staticcheck@latest
18
+ - go install honnef.co/go/tools/cmd/staticcheck@0.4.6
19
19
20
20
# Install Testify to use common assertions and mocks in tests
21
21
- go get -u github.com/stretchr/testify
Original file line number Diff line number Diff line change @@ -24,12 +24,20 @@ phases:
24
24
build :
25
25
commands :
26
26
# Create staging & release variants of the template.yaml
27
- - sam package --no-progressbar --template-file template.yaml --s3-bucket ${S3Bucket} --output-template-file packaged.yaml
27
+ - cp template.yaml staging.yaml
28
+ - patch staging.yaml cicd/build/package/staging.patch
29
+ - sam package --no-progressbar --template-file staging.yaml --s3-bucket ${S3Bucket} --output-template-file packaged-staging.yaml
30
+
31
+ - cp template.yaml release.yaml
32
+ - patch release.yaml cicd/build/package/release.patch
33
+ - sam package --no-progressbar --template-file release.yaml --s3-bucket ${S3Bucket} --output-template-file packaged-release.yaml
28
34
29
35
post_build :
30
36
commands :
31
- - ls packaged.yaml
37
+ - ls packaged-staging.yaml
38
+ - ls packaged-release.yaml
32
39
33
40
artifacts :
34
41
files :
35
- - packaged.yaml
42
+ - packaged-staging.yaml
43
+ - packaged-release.yaml
You can’t perform that action at this time.
0 commit comments