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: do not login to DockerHub #11358

Merged
merged 39 commits into from
Nov 10, 2020
Merged

chore: do not login to DockerHub #11358

merged 39 commits into from
Nov 10, 2020

Conversation

iliapolo
Copy link
Contributor

@iliapolo iliapolo commented Nov 8, 2020

See https://github.com/aws/cdk-ops/pull/887 (Will fail until this is merged)


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

@gitpod-io
Copy link

gitpod-io bot commented Nov 8, 2020

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Nov 8, 2020
scripts/ecr-proxy/nginx.conf Outdated Show resolved Hide resolved
@iliapolo iliapolo marked this pull request as ready for review November 10, 2020 18:59
Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

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

Wait

eladb
eladb previously requested changes Nov 10, 2020
Comment on lines -9 to -10
- nohup /usr/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2&
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
Copy link
Contributor

Choose a reason for hiding this comment

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

Aren't these still needed to start the docker daemon?

Copy link
Contributor Author

@iliapolo iliapolo Nov 10, 2020

Choose a reason for hiding this comment

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

@eladb We decided to move this into the ecr proxy image as well - so no. the start.sh script takes care of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll add a comment and maybe later we can think about renaming/exposing another script to make it more clear.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: f5b4981
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@iliapolo iliapolo requested review from eladb and a team November 10, 2020 20:30
@iliapolo
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: f5b4981
  • Result: FAILED
  • Build Logs (available for 30 days)

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

aws-cdk/aws-lambda-nodejs: FAIL test/bundling.test.js (78.783 s)
@aws-cdk/aws-lambda-nodejs:   â—� Parcel bundling
@aws-cdk/aws-lambda-nodejs:     SyntaxError: Unexpected end of JSON input
@aws-cdk/aws-lambda-nodejs:         at JSON.parse (<anonymous>)
@aws-cdk/aws-lambda-nodejs:       21 |     this.pkgPath = path.join(pkgPath, 'package.json');
@aws-cdk/aws-lambda-nodejs:       22 |     this.pkg = fs.readFileSync(this.pkgPath);
@aws-cdk/aws-lambda-nodejs:     > 23 |     this.pkgJson = JSON.parse(this.pkg.toString());
@aws-cdk/aws-lambda-nodejs:          |                         ^
@aws-cdk/aws-lambda-nodejs:       24 |   }
@aws-cdk/aws-lambda-nodejs:       25 | 
@aws-cdk/aws-lambda-nodejs:       26 |   /**
@aws-cdk/aws-lambda-nodejs:       at new PackageJsonManager (lib/package-json-manager.ts:23:25)
@aws-cdk/aws-lambda-nodejs:       at Function.parcel (lib/bundling.ts:141:32)
@aws-cdk/aws-lambda-nodejs:       at Object.<anonymous>.test (test/bundling.test.ts:31:12)

This sure looks like a race condition...

@iliapolo iliapolo dismissed eladb’s stale review November 10, 2020 20:40

Addressed comments

@iliapolo iliapolo merged commit a8cef9a into master Nov 10, 2020
@iliapolo iliapolo deleted the epolon-dockerhub branch November 10, 2020 20:41
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants