Skip to content

chore: add validation for ubergen aws-cdk-lib README import re-writes#14302

Merged
mergify[bot] merged 2 commits intomasterfrom
njlynch/testreadmeimportrewrites
Apr 22, 2021
Merged

chore: add validation for ubergen aws-cdk-lib README import re-writes#14302
mergify[bot] merged 2 commits intomasterfrom
njlynch/testreadmeimportrewrites

Conversation

@njlynch
Copy link
Copy Markdown
Contributor

@njlynch njlynch commented Apr 21, 2021

Imports in READMEs are now rewritten from '@aws-cdk/...' to 'aws-cdk-lib'.
This change was introduced in #14255, but no validation was included in the
original PR. This change introduces a post-build validation step for aws-cdk-lib
to ensure that the module rewrites were properly done.


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

@njlynch njlynch requested review from a team and nija-at April 21, 2021 12:05
@njlynch njlynch self-assigned this Apr 21, 2021
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Apr 21, 2021

@github-actions github-actions bot added the aws-cdk-lib Related to the aws-cdk-lib package label Apr 21, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 21, 2021
Copy link
Copy Markdown
Contributor

@nija-at nija-at left a comment

Choose a reason for hiding this comment

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

Let's give it a whirl

@njlynch njlynch added the pr/do-not-merge This PR should not be merged at this time. label Apr 21, 2021
@njlynch
Copy link
Copy Markdown
Contributor Author

njlynch commented Apr 21, 2021

Odd... In the CodeBuild PR build, the readme properties are completely missing in the jsii assembly file. This is what's causing the build to fail. Pushing incremental changes with more and more logging to try to determine why that is...

Imports in READMEs are now rewritten from '@aws-cdk/...' to 'aws-cdk-lib'.
This change was introduced in #14255, but no validation was included in the
original PR. This change introduces a post-build validation step for aws-cdk-lib
to ensure that the module rewrites were properly done.
@njlynch njlynch force-pushed the njlynch/testreadmeimportrewrites branch from c7b4bdc to aa34b17 Compare April 22, 2021 09:34
@njlynch njlynch removed the pr/do-not-merge This PR should not be merged at this time. label Apr 22, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 22, 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
Copy Markdown
Collaborator

AWS CodeBuild CI Report

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

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

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 22, 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).

@mergify mergify bot merged commit 66fafe2 into master Apr 22, 2021
@mergify mergify bot deleted the njlynch/testreadmeimportrewrites branch April 22, 2021 10:30
john-tipper pushed a commit to john-tipper/aws-cdk that referenced this pull request May 10, 2021
…aws#14302)

Imports in READMEs are now rewritten from '@aws-cdk/...' to 'aws-cdk-lib'.
This change was introduced in aws#14255, but no validation was included in the
original PR. This change introduces a post-build validation step for aws-cdk-lib
to ensure that the module rewrites were properly done.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
…aws#14302)

Imports in READMEs are now rewritten from '@aws-cdk/...' to 'aws-cdk-lib'.
This change was introduced in aws#14255, but no validation was included in the
original PR. This change introduces a post-build validation step for aws-cdk-lib
to ensure that the module rewrites were properly done.

----

*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

aws-cdk-lib Related to the aws-cdk-lib package contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants