-
Notifications
You must be signed in to change notification settings - Fork 4k
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
core: refresh the contributing guide #25196
Labels
@aws-cdk/core
Related to core CDK functionality
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p1
Comments
pahud
added
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
labels
Apr 19, 2023
peterwoodworth
added
p1
effort/small
Small work item – less than a day of effort
labels
Apr 21, 2023
This was referenced Apr 24, 2023
...
100_sam/998_lift_transform_patch.json: AWS::Serverless::LayerVersion: Lift transform version to each resource
100_sam/998_lift_transform_patch.json: AWS::Serverless::SimpleTable: Lift transform version to each resource
100_sam/998_lift_transform_patch.json: AWS::Serverless::StateMachine: Lift transform version to each resource
100_sam/999_cleanup_patch.json: Remove properties that conflict with the CFN spec
spec-source/specification/100_sam
TypeError: Cannot use 'in' operator to search for 'Properties' in undefined
at Object.isRecordType (/Users/***/Code/GitHub/***/aws-cdk/packages/@aws-cdk/cfnspec/lib/schema/specification.ts:55:22)
at replaceIncompleteTypes (/Users/***/Code/GitHub/***/aws-cdk/packages/@aws-cdk/cfnspec/build-tools/massage-spec.ts:20:17)
at massageSpec (/Users/***/Code/GitHub/***/aws-cdk/packages/@aws-cdk/cfnspec/build-tools/massage-spec.ts:6:3)
at generateResourceSpecification (/Users/***/Code/GitHub/***/aws-cdk/packages/@aws-cdk/cfnspec/build-tools/build.ts:42:14)
at async main (/Users/***/Code/GitHub/***/aws-cdk/packages/@aws-cdk/cfnspec/build-tools/build.ts:28:5)
error Command failed with exit code 255. |
mergify bot
pushed a commit
that referenced
this issue
Apr 27, 2023
This PR explains how to `Verify your fix by deployment` before you submit a pull request. When contributors complete their hack on any modules under `aws-cdk-lib`, it's unclear to them how to verify and ensure their fix can successfully synthesize and deploy in a real AWS environment. This PR explains how to do that with more details including: 1. How to write a minimal cdk App with your fix to verify it in your AWS account 2. How to run all unit tests against your hack 3. How to run a single unit test against your hack 4. How to run all integ tests against your hack 5. How to run a single integ test against your hack With the additional content, contributors will be able to iterate their development easily and ensure their hack can successfully deploy in their own AWS accounts as expected before they submit their PRs. Closes #25196 ---- *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/core
Related to core CDK functionality
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p1
Describe the feature
The contributing guide has been missing a lot of information since the repo remodel and is getting very difficult for the community to contribute the pull requests. I think we should update the contributing guide to clarify some important steps including:
yarn watch
when we start our hacking on individual module(such as aws-eks).Use Case
After the repo remodel, contributors now feel confused and the contributing guide is out-of-date.
Proposed Solution
Update the contributing guide with relevant steps and guidance.
Other Information
This is my personal note for a recent PR to
aws-eks
but I expect a formal guidance.Acknowledgements
CDK version used
v2.72.1
Environment details (OS name and version, etc.)
mac os x
The text was updated successfully, but these errors were encountered: