Skip to content

Commit 94e6d12

Browse files
update template path in pr build
1 parent f5569a2 commit 94e6d12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cicd/3-app/javabuilder/pr-buildspec.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ phases:
3939
- rake test
4040

4141
- cd $CODEBUILD_SRC_DIR
42-
- erb -T - template.yml.erb > template.yml
43-
- cat template.yml
44-
- cfn-lint template.yml
45-
- aws cloudformation package --template-file template.yml --output-template-file cloudformation-output.yml --s3-bucket $ARTIFACT_STORE --s3-prefix "$ARTIFACT_PATH/cloudformation-package"
42+
- erb -T - cicd/3-app/javabuilder/template.yml.erb > app-template.yml
43+
- cat app-template.yml
44+
- cfn-lint app-template.yml
45+
- aws cloudformation package --template-file app-template.yml --output-template-file cloudformation-output.yml --s3-bucket $ARTIFACT_STORE --s3-prefix "$ARTIFACT_PATH/cloudformation-package"
4646
- aws s3 cp cloudformation-output.yml "s3://${ARTIFACT_STORE}/${ARTIFACT_PATH}/"
4747
- echo "Artifacts uploaded to S3, view them at https://console.aws.amazon.com/s3/buckets/${ARTIFACT_STORE}?region=us-east-1&prefix=${ARTIFACT_PATH}/"

0 commit comments

Comments
 (0)