-
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
chore: support contributing to the AWS CDK using alternative container clients #23855
Conversation
16e6068
to
dc4d84e
Compare
I believe this will resolve #16209, linking for posterity. |
Is it possible to log the finch commands when they fail? We can probably get a full list of the imcompatible gap from this. |
Is the "build" in this PR mean the build of CDK binary? (as I saw you run yarn build for each in the PR description) If we add CDK_DOCEKR to yarn build, does it mean CDK will have different binaries for each container client? |
There is no such thing as a @mrgrain this makes me think we should fast-follow with a PR to ensure we run integration tests with both Docker & Finch (at least the container-using ones). |
@MrArnoldPalmer I don't think it does. #16209 talks about how |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
1 similar comment
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
@mrgrain I took it as "provide a way to swap out docker for something else" whether that something else is 100% compatible with all the things we need it to do is kinda hard to control. For podman specifically we can test it, but regardless you're right lets keep it open for now. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
elif [ "$container_client" == "finch" ]; then | ||
check_which $container_client $finch_min | ||
|
||
# Make sure docker is running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Make sure finch is running"
The AWS CDK uses
docker
for a feature subset related to building assets.For users, we already support the
CDK_DOCKER
env variable to change the container client at runtime.However contributing to the AWS CDK currently still requires a contributor to have
docker
installed.This PR extends the support for the
CDK_DOCKER
env variable to contributor tooling.For example one can now run:
When using
finch
, the following packages do still fail tests, due to known feature gaps:All Submissions:
Adding new Construct Runtime Dependencies:
New Features
yarn integ
to deploy the infrastructure and generate the snapshot (i.e.yarn integ
without--dry-run
)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license