Skip to content

Commit

Permalink
feat: add support to nodejs20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
saartochner-lumigo committed Nov 21, 2023
1 parent e69ce7c commit 64ed80a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
23 changes: 23 additions & 0 deletions layers/LAYERS20x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Layers runtime: nodejs20.x
----
| Region | ARN |
| --- | --- |
|US East (N. Virginia) `us-east-1`|`arn:aws:lambda:us-east-1:114300393969:layer:lumigo-node-tracer:252`|
|US East (Ohio) `us-east-2`|`arn:aws:lambda:us-east-2:114300393969:layer:lumigo-node-tracer:252`|
|US West (N. California) `us-west-1`|`arn:aws:lambda:us-west-1:114300393969:layer:lumigo-node-tracer:252`|
|US West (Oregon) `us-west-2`|`arn:aws:lambda:us-west-2:114300393969:layer:lumigo-node-tracer:255`|
|Canada (Central) `ca-central-1`|`arn:aws:lambda:ca-central-1:114300393969:layer:lumigo-node-tracer:252`|
|EU (Stockholm) `eu-north-1`|`arn:aws:lambda:eu-north-1:114300393969:layer:lumigo-node-tracer:252`|
|EU (Ireland) `eu-west-1`|`arn:aws:lambda:eu-west-1:114300393969:layer:lumigo-node-tracer:252`|
|EU (London) `eu-west-2`|`arn:aws:lambda:eu-west-2:114300393969:layer:lumigo-node-tracer:252`|
|EU (Paris) `eu-west-3`|`arn:aws:lambda:eu-west-3:114300393969:layer:lumigo-node-tracer:252`|
|EU (Frankfurt) `eu-central-1`|`arn:aws:lambda:eu-central-1:114300393969:layer:lumigo-node-tracer:252`|
|Asia Pacific (Tokyo) `ap-northeast-1`|`arn:aws:lambda:ap-northeast-1:114300393969:layer:lumigo-node-tracer:253`|
|Asia Pacific (Seoul) `ap-northeast-2`|`arn:aws:lambda:ap-northeast-2:114300393969:layer:lumigo-node-tracer:252`|
|Asia Pacific (Singapore) `ap-southeast-1`|`arn:aws:lambda:ap-southeast-1:114300393969:layer:lumigo-node-tracer:252`|
|Asia Pacific (Sydney) `ap-southeast-2`|`arn:aws:lambda:ap-southeast-2:114300393969:layer:lumigo-node-tracer:252`|
|Asia Pacific (Hong Kong) `ap-east-1`|`arn:aws:lambda:ap-east-1:114300393969:layer:lumigo-node-tracer:237`|
|Asia Pacific (Mumbai) `ap-south-1`|`arn:aws:lambda:ap-south-1:114300393969:layer:lumigo-node-tracer:252`|
|South America (São Paulo) `sa-east-1`|`arn:aws:lambda:sa-east-1:114300393969:layer:lumigo-node-tracer:252`|
|Middle East (Bahrain) `me-south-1`|`arn:aws:lambda:me-south-1:114300393969:layer:lumigo-node-tracer:237`|
|Africa (Cape Town) `af-south-1`|`arn:aws:lambda:af-south-1:114300393969:layer:lumigo-node-tracer:129`|
4 changes: 3 additions & 1 deletion scripts/bd_to_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,21 @@ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm run semantic-release

echo "Creating lumigo-node layer"
../utils/common_bash/create_layer.sh --layer-name lumigo-node-tracer --region ALL --package-folder "nodejs lumigo_wrapper" --version $(git describe --abbrev=0 --tags) --runtimes "nodejs10.x nodejs12.x nodejs14.x nodejs16.x nodejs18.x"
../utils/common_bash/create_layer.sh --layer-name lumigo-node-tracer --region ALL --package-folder "nodejs lumigo_wrapper" --version $(git describe --abbrev=0 --tags) --runtimes "nodejs10.x nodejs12.x nodejs14.x nodejs16.x nodejs18.x nodejs20.x"

echo "Creating layer latest version arn table md file (LAYERS.md)"
cd ../larn && npm i -g
larn -r nodejs12.x -n layers/LAYERS12x --filter lumigo-node-tracer -p ~/lumigo-node
larn -r nodejs14.x -n layers/LAYERS14x --filter lumigo-node-tracer -p ~/lumigo-node
larn -r nodejs16.x -n layers/LAYERS16x --filter lumigo-node-tracer -p ~/lumigo-node
larn -r nodejs18.x -n layers/LAYERS18x --filter lumigo-node-tracer -p ~/lumigo-node
larn -r nodejs20.x -n layers/LAYERS20x --filter lumigo-node-tracer -p ~/lumigo-node
cd ../lumigo-node
git add layers/LAYERS12x.md
git add layers/LAYERS14x.md
git add layers/LAYERS16x.md
git add layers/LAYERS18x.md
git add layers/LAYERS20x.md
git commit -m "docs: layers md [skip ci]"

source ../utils/common_bash/functions.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ echo "Creating lumigo-node layer to ${region}"
--region "$region" \
--package-folder "nodejs lumigo_wrapper" \
--version "$version" \
--runtimes "nodejs10.x nodejs12.x nodejs14.x nodejs16.x nodejs18.x"
--runtimes "nodejs10.x nodejs12.x nodejs14.x nodejs16.x nodejs18.x nodejs20.x"

0 comments on commit 64ed80a

Please sign in to comment.