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

fix(lambda-nodejs): pnpm no longer supports nodejs14.x #24821

Merged
merged 2 commits into from
Mar 28, 2023
Merged

fix(lambda-nodejs): pnpm no longer supports nodejs14.x #24821

merged 2 commits into from
Mar 28, 2023

Conversation

corymhall
Copy link
Contributor

Doing a couple of things

  • Update Dockerfile image to nodejs18
  • Pin pnpm to 8.0.0 (latest version)
  • Add some error handling to the test to better catch this error in the future

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

Doing a couple of things
- Update `Dockerfile` image to nodejs18
- Pin pnpm to 8.0.0 (latest version)
- Add some error handling to the test to better catch this error in the
  future
@github-actions github-actions bot added the p2 label Mar 28, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team March 28, 2023 13:28
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 28, 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.

@aws-cdk-automation aws-cdk-automation dismissed their stale review March 28, 2023 13:53

✅ Updated pull request passes all PRLinter validations. Dissmissing previous PRLinter review.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 20feb70
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Mar 28, 2023

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).

@mergify mergify bot merged commit b1c9ab2 into aws:main Mar 28, 2023
corymhall added a commit that referenced this pull request Mar 28, 2023
Doing a couple of things
- Update `Dockerfile` image to nodejs18
- Pin pnpm to 8.0.0 (latest version)
- Add some error handling to the test to better catch this error in the future

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
corymhall added a commit that referenced this pull request Mar 28, 2023
Doing a couple of things
- Update `Dockerfile` image to nodejs18
- Pin pnpm to 8.0.0 (latest version)
- Add some error handling to the test to better catch this error in the future

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@corymhall
Copy link
Contributor Author

@Mergifyio backport v1-main

@mergify
Copy link
Contributor

mergify bot commented Mar 28, 2023

backport v1-main

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 28, 2023
Doing a couple of things
- Update `Dockerfile` image to nodejs18
- Pin pnpm to 8.0.0 (latest version)
- Add some error handling to the test to better catch this error in the future

----

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

(cherry picked from commit b1c9ab2)

# Conflicts:
#	packages/@aws-cdk/aws-lambda-destinations/test/destinations.integ.snapshot/asset.1bc7cf3a01a7153f942391263b3bac937812996cc28f9abaf83ffebbbe03e38b.bundle/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/compilations.integ.snapshot/integ.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/compilations.integ.snapshot/tree.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/node_modules/.yarn-integrity
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/node_modules/delay/index.d.ts
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/node_modules/delay/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/node_modules/delay/license
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/node_modules/delay/package.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/node_modules/delay/readme.md
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/package.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/dependencies.integ.snapshot/asset.9ea9c0b2e771d6d3cf404fc942748e905e9680505b2b07f5fa83e13d5d6490d3/yarn.lock
#	packages/@aws-cdk/aws-lambda-nodejs/test/docker.test.ts
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.compilations.js.snapshot/cdk-integ-compilations-lambda-nodejs.template.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.compilations.js.snapshot/manifest.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies-pnpm.js.snapshot/TestStack.template.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies-pnpm.js.snapshot/asset.92ec9d050245fd270cf2b0df478b31f140ba820c3407e964246946bcea933a19.bundle/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies-pnpm.js.snapshot/cdk.out
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies-pnpm.js.snapshot/integ.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies-pnpm.js.snapshot/manifest.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies-pnpm.js.snapshot/tree.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/LambdaDependenciesDefaultTestDeployAssert259C940B.assets.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/LambdaDependenciesDefaultTestDeployAssert259C940B.template.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/node_modules/.yarn-integrity
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/node_modules/delay/index.d.ts
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/node_modules/delay/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/node_modules/delay/license
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/node_modules/delay/package.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/node_modules/delay/readme.md
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/package.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.50a8879346510e33e69a511e29d588e7b2d2b477b6989a4db677027bb8605b9f/yarn.lock
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.92ec9d050245fd270cf2b0df478b31f140ba820c3407e964246946bcea933a19.bundle/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.b54b99043c35bd080b9d9d1afce31e3541cf15b679799ba980ed40c837dcb03b.bundle/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/node_modules/.yarn-integrity
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/node_modules/delay/index.d.ts
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/node_modules/delay/index.js
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/node_modules/delay/license
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/node_modules/delay/package.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/node_modules/delay/readme.md
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/package.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/asset.f078d47ca35d3ee8cf531975a21ac17857ee7d4afc2c1a5a01ccc8b597b9ba88/yarn.lock
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/cdk-integ-lambda-nodejs-dependencies-for-sdk-v3.assets.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/cdk-integ-lambda-nodejs-dependencies.template.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/cdk.out
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/integ.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/manifest.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.js.snapshot/tree.json
#	packages/@aws-cdk/aws-lambda-nodejs/test/integ.dependencies.ts
#	packages/@aws-cdk/aws-lambda/test/bundling.integ.snapshot/BundlingDefaultTestDeployAssertAACA0CAF.template.json
#	packages/@aws-cdk/pipelines/test/pipeline-with-assets-single-upload.integ.snapshot/PipelineStack.assets.json
#	packages/@aws-cdk/pipelines/test/pipeline-with-assets.integ.snapshot/PipelineStack.assets.json
#	packages/@aws-cdk/pipelines/test/pipeline-with-variables.integ.snapshot/VariablePipelineStack.assets.json
#	packages/@aws-cdk/pipelines/test/pipeline.integ.snapshot/PipelineStack.assets.json
mergify bot pushed a commit that referenced this pull request Mar 28, 2023
…) (#24829)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
HBobertz pushed a commit that referenced this pull request Mar 28, 2023
…) (#24829)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
homakk pushed a commit to homakk/aws-cdk that referenced this pull request Mar 28, 2023
Doing a couple of things
- Update `Dockerfile` image to nodejs18
- Pin pnpm to 8.0.0 (latest version)
- Add some error handling to the test to better catch this error in the future

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@0xdevalias
Copy link
Contributor

FYI, this PR is partially related to causing the following issue:

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.

4 participants