Skip to content

Commit daf5406

Browse files
committed
Add node 12.13 to layer scripts
1 parent 31bb413 commit daf5406

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

scripts/build_layers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010

1111
LAYER_DIR=".layers"
1212
LAYER_FILES_PREFIX="datadog_lambda_node"
13-
NODE_VERSIONS=("8.10" "10.15")
13+
NODE_VERSIONS=("8.10" "10.15" "12.13")
1414

1515
function make_path_absolute {
1616
echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"

scripts/list_layers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
set -e
1212

13-
LAYER_NAMES=("Datadog-Node8-10" "Datadog-Node10-x")
13+
LAYER_NAMES=("Datadog-Node8-10" "Datadog-Node10-x" "Datadog-Node12-x")
1414
AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1)
1515

1616
# Check region arg

scripts/publish_layers.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
# Specifying the region arg will publish the layer for the single specified region
1111
set -e
1212

13-
NODE_VERSIONS_FOR_AWS_CLI=("nodejs8.10" "nodejs10.x")
14-
LAYER_PATHS=(".layers/datadog_lambda_node8.10.zip" ".layers/datadog_lambda_node10.15.zip")
15-
LAYER_NAMES=("Datadog-Node8-10" "Datadog-Node10-x")
13+
NODE_VERSIONS_FOR_AWS_CLI=("nodejs8.10" "nodejs10.x" "nodejs12.x")
14+
LAYER_PATHS=(".layers/datadog_lambda_node8.10.zip" ".layers/datadog_lambda_node10.15.zip" ".layers/datadog_lambda_node12.13.zip")
15+
LAYER_NAMES=("Datadog-Node8-10" "Datadog-Node10-x" "Datadog-Node12-x")
1616
AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1)
1717

1818
# Check that the layer files exist

scripts/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Run unit tests in Docker
99
set -e
1010

11-
NODE_VERSIONS=("10.15" "8.10")
11+
NODE_VERSIONS=("10.15" "8.10" "12.13")
1212

1313
for node_version in "${NODE_VERSIONS[@]}"
1414
do

0 commit comments

Comments
 (0)