Skip to content

fix: Apply suggested fix from @fcoelho to support podman#19115

Closed
rosskarchner wants to merge 15 commits intoaws:masterfrom
rosskarchner:podman-fix-16209
Closed

fix: Apply suggested fix from @fcoelho to support podman#19115
rosskarchner wants to merge 15 commits intoaws:masterfrom
rosskarchner:podman-fix-16209

Conversation

@rosskarchner
Copy link
Copy Markdown

The code comes from this comment: #16209 (comment)


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
Copy Markdown

gitpod-io bot commented Feb 23, 2022

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 23, 2022

Title does not follow the guidelines of Conventional Commits. Please adjust title before merge.

@rosskarchner rosskarchner changed the title Apply suggested fix from @fcoelho to support podman fix: Apply suggested fix from @fcoelho to support podman Feb 23, 2022
@rosskarchner
Copy link
Copy Markdown
Author

I don't think the build failures have anything to do with the change I've introduced

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

This PR has been in BUILD FAILING for 21 days, and looks abandoned. It will be closed in 10 days if no further commits are pushed to it.

'--username', credentials.username,
'--password-stdin',
credentials.endpoint], {
credentials.endpoint.replace(/^https?:\/\//, '')], {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
credentials.endpoint.replace(/^https?:\/\//, '')], {
credentials.endpoint.replace(/^https?:\/\/|\/$/g, '')], {

Remove end slash too considering that the test data included an end slash in the endpoint.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@rosskarchner Tests also need to be fixed in packages/cdk-assets/test/docker-images.test.ts

Here is one test that is failing

{ commandLine: ['docker', 'login', '--username', 'user', '--password-stdin', 'https://proxy.com/'] },

I believe there are four total that use https

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@Ragnoroct thanks, I'll take a look at these (once I get a working environment to test with)

@rosskarchner
Copy link
Copy Markdown
Author

OK-- I've moved on from needing this (I'm no longer attempting to run CDK with podman), and I'm feeling a little out of my depth trying to understand the test suite. I'm going to go ahead and close this.

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 8eff0d5
  • Result: FAILED
  • Build Logs (available for 30 days)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants