-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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(cli-lib): deploy fails with "no such file or directory, open 'node_modules/@aws-cdk/integ-runner/lib/workers/db.json.gz'" #28199
Conversation
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
8c48beb
to
ce1436b
Compare
@@ -65,6 +65,7 @@ | |||
"yarn attribute", | |||
"mkdir -p ./lib/api/bootstrap/ && cp ../../aws-cdk/lib/api/bootstrap/bootstrap-template.yaml ./lib/api/bootstrap/", | |||
"cp ../../../node_modules/cdk-from-cfn/index_bg.wasm ./lib/", | |||
"cp ../../../node_modules/@aws-cdk/aws-service-spec/db.json.gz ./", |
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.
This is the fix. We cannot depend on @aws-cdk/aws-service-spec
since cli-lib
is a jsii package, and service-spec is not.
ce1436b
to
ed9e086
Compare
ed9e086
to
84e5f4d
Compare
…n './node_modules/@aws-cdk/cli-lib-alpha/db.json.gz'
84e5f4d
to
83a7a32
Compare
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). |
…e_modules/@aws-cdk/integ-runner/lib/workers/db.json.gz'" (aws#28199) After aws#27813 the `deploy` action was broken with the above error. This is effectively the same as aws#27983 . To ensure these kind of issues are not slipping through again, the PR is adding a basic testing harness for `cli-lib` to `@aws-cdk-testing/cli-integtests`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
After #27813 the
deploy
action was broken with the above error. This is effectively the same as #27983 .To ensure these kind of issues are not slipping through again, the PR is adding a basic testing harness for
cli-lib
to@aws-cdk-testing/cli-integtests
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license