Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pull integ test images from ECR public gallery instead of dockerhub #19674

Merged
merged 12 commits into from
Apr 2, 2022

Conversation

madeline-k
Copy link
Contributor

@madeline-k madeline-k commented Apr 1, 2022

Dockerhub has pretty low rate limits for docker pull, and sometimes our integration tests fail because we exceed the limit. Switching to pull images from ECR public gallery instead.


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use cdk-integ to deploy the infrastructure and generate the snapshot (i.e. cdk-integ without --dry-run)?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@madeline-k madeline-k requested review from RomainMuller and a team April 1, 2022 01:19
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 1, 2022
@gitpod-io
Copy link

gitpod-io bot commented Apr 1, 2022

@github-actions github-actions bot added the p2 label Apr 1, 2022
@madeline-k
Copy link
Contributor Author

Adding do-not-merge label because I am gonna fix other integ tests that pull from docker hub

@madeline-k madeline-k added the pr/do-not-merge This PR should not be merged at this time. label Apr 1, 2022
@madeline-k madeline-k changed the title chore: pull alpine docker image from ECR public gallery instead of do… chore: pull integ test images from ECR public gallery instead of dockerhub Apr 1, 2022
@madeline-k madeline-k requested review from RomainMuller and a team April 2, 2022 01:56
@madeline-k madeline-k removed the pr/do-not-merge This PR should not be merged at this time. label Apr 2, 2022
@@ -16,7 +16,7 @@ new QueueProcessingFargateService(stack, 'PublicQueueService', {
assignPublicIp: true,
healthCheck: {
command: ['CMD-SHELL', 'curl -f http://localhost/ || exit 1'],
interval: Duration.seconds(5),
interval: Duration.seconds(6),
Copy link
Contributor Author

@madeline-k madeline-k Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed to change this to something greater than 5. Cloudformation was giving this error:

aws-ecs-patterns-queue-public | 11:14:45 AM | CREATE_FAILED | AWS::ECS::TaskDefinition | PublicQueueService/QueueProcessingTaskDef (PublicQueueServiceQueueProcessingTaskDef858327F6) 
Resource handler returned message: "Invalid request provided: Create TaskDefinition: Health check interval must be less than or equal to the maximum allowed value 300 for container 'QueueProcessingContainer' 

@mergify
Copy link
Contributor

mergify bot commented Apr 2, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: e59bf23
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 2df6dab into master Apr 2, 2022
@mergify mergify bot deleted the madeline-k/get-alpine-from-ecr branch April 2, 2022 20:59
@mergify
Copy link
Contributor

mergify bot commented Apr 2, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
…erhub (aws#19674)

Dockerhub has pretty low rate limits for docker pull, and sometimes our integration tests fail because we exceed the limit. Switching to pull images from ECR public gallery instead.


----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants