Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
debug 11
  • Loading branch information
ChrisPates committed Jun 1, 2022
1 parent fb2d362 commit 404412a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ phases:

pre_build:
commands:
- aws sts get-caller-identity
- mkdir ~/.aws/ && touch ~/.aws/config
- echo "[profile buildprofile]" > ~/.aws/config
- echo "role_arn = arn:aws:iam::004480582608:role/SSOSync-BETA-CodeBuild-us-east-2" >> ~/.aws/config
- echo "credential_source = EcsContainer" >> ~/.aws/config
- aws s3 ls --profile buildprofile

# Fetch all dependencies
- go env -w GOPROXY=direct
- go get ./...
Expand Down Expand Up @@ -74,7 +67,7 @@ phases:
- goreleaser build --snapshot --rm-dist

# Package our application with AWS SAM
- sam package --s3-bucket ${ARTIFACT_S3_BUCKET} --profile buildprofile
- sam package --s3-bucket ${ARTIFACT_S3_BUCKET}

post_build:
commands:
Expand Down

0 comments on commit 404412a

Please sign in to comment.