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

feat(remodel): generate new package for integ tests #24391

Conversation

MrArnoldPalmer
Copy link
Contributor

@MrArnoldPalmer MrArnoldPalmer commented Mar 1, 2023

Adds logic to the remodel package to create a new separate package to house all of the construct library integration tests. Remodel now finds all integration test source files and snapshots within aws-cdk-lib, copies them over to this new package, and rewrites their imports to correctly refer to aws-cdk-lib.

Adds back the runBuild function to allow generating the alpha packages and removes the invididual-packages/.gitignore file so they will be committed going forward.


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

Adds logic to the remodel package to create a new separate package to
house all of the construct library integration tests. Remodel now finds
all integration test source files and snapshots within aws-cdk-lib,
copies them over to this new package, and rewrites their imports to
correctly refer to aws-cdk-lib.
@aws-cdk-automation aws-cdk-automation requested a review from a team March 1, 2023 06:00
@github-actions github-actions bot added the p2 label Mar 1, 2023
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 1, 2023
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@MrArnoldPalmer MrArnoldPalmer force-pushed the feat/integ-test-package branch from b75721c to 8fa4a18 Compare March 1, 2023 21:31
Adds logic for copying over a bunch of files that the integ-tests rely
upon. Exports some types from `custom-resources` so they can be used by
some files in the integ-tests where previously they were available
implicitly.
@MrArnoldPalmer MrArnoldPalmer force-pushed the feat/integ-test-package branch from 8fa4a18 to bed3b9c Compare March 1, 2023 21:50
Adds back the `runBuild` function to allow generating the alpha packages
and removes the `invididual-packages/.gitignore` file so they will be
commited going forward.
@MrArnoldPalmer MrArnoldPalmer merged commit 6f4ac28 into aws:feat/repo-restructure Mar 1, 2023
@aws-cdk-automation
Copy link
Collaborator

The pull request linter fails with the following errors:

❌ Features must contain a change to a README file.
❌ Features must contain a change to an integration test file and the resulting snapshot.

PRs must pass status checks before we can provide a meaningful review.

If you would like to request an exemption from the status checks or clarification on feedback, please leave a comment on this PR containing Exemption Request and/or Clarification Request.

@MrArnoldPalmer MrArnoldPalmer deleted the feat/integ-test-package branch April 26, 2023 21:47
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.

2 participants