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

fix(assets): run executable command of container assets in cloud assembly root directory #16094

Merged
merged 3 commits into from
Sep 7, 2021

Conversation

pgarbe
Copy link
Contributor

@pgarbe pgarbe commented Aug 17, 2021

Runs the executable command of container assets in the cloud assembly root directory and not the current directory.

Could be a breaking change.

fixes #15721

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 Aug 17, 2021

@pgarbe pgarbe changed the title feat(assets): exclude "cdk.out" from docker assets (#16034) fix(assets): run executable command of container assets in cloud assembly root directory Aug 17, 2021
@pgarbe pgarbe marked this pull request as ready for review August 17, 2021 16:48
eladb
eladb previously requested changes Aug 17, 2021
@@ -183,7 +183,7 @@ describe('external assets', () => {

const expectAllSpawns = mockSpawn(
Copy link
Contributor

Choose a reason for hiding this comment

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

We need an assertion that verifies that the default is to run next to assets.json, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that's why I extended the mock of "sometool" so that it also checks that cwd is set to "/external/cdk.out".

@peterwoodworth peterwoodworth added p1 @aws-cdk/assets Related to the @aws-cdk/assets package effort/small Small work item – less than a day of effort labels Aug 19, 2021
@nathanpeck
Copy link
Member

I'm super eager to get this one reviewed and merged in because it will fix a cross platform build problem I have for an upcoming ECS Anywhere demo app with CDK that I am building. Anything we can do to expedite this one?

@eladb
Copy link
Contributor

eladb commented Sep 1, 2021

@rix0rrr can you take a look?

rix0rrr
rix0rrr previously approved these changes Sep 1, 2021
@mergify mergify bot dismissed stale reviews from eladb and rix0rrr September 1, 2021 07:11

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Sep 7, 2021

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: 76d6ea8
  • 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 c2852c9 into aws:master Sep 7, 2021
@mergify
Copy link
Contributor

mergify bot commented Sep 7, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/assets Related to the @aws-cdk/assets package effort/small Small work item – less than a day of effort p1
Projects
None yet
6 participants