Skip to content

Commit

Permalink
Revert public ecr auth commits
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Pettit <[email protected]>
  • Loading branch information
PettitWesley authored and zhonghui12 committed Dec 9, 2020
1 parent 15799af commit c44882f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ phases:
pre_build:
commands:
- echo Building the AWS for Fluent Bit image
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip awscliv2.zip
- ./aws/install
- chmod +x /usr/local/bin/aws
- /usr/local/bin/aws --version
build:
commands:
# log into public ECR so we do not get throttled
- /usr/local/bin/aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
# Command to build your project
- make release

Expand Down
7 changes: 0 additions & 7 deletions buildspec_integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ phases:
pre_build:
commands:
- echo Running the integration test
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip awscliv2.zip
- ./aws/install
- chmod +x /usr/local/bin/aws
- /usr/local/bin/aws --version
build:
commands:
# Enforce STS regional endpoints
Expand All @@ -29,8 +24,6 @@ phases:
# List the images to do a double check
- docker images

# log into public ECR so we do not get throttled
- /usr/local/bin/aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
# Command to run the integration test
- make integ
artifacts:
Expand Down

0 comments on commit c44882f

Please sign in to comment.