Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
node-version: [18.12, 20.9, 22.11]
node-version: [18.12, 20.19, 22.11]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -67,7 +67,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Install NodeGYP
if: matrix.node-version == '20.9' || matrix.node-version == '22.11'
if: matrix.node-version == '20.19' || matrix.node-version == '22.11'
run: yarn global add node-gyp

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/datasources/runtimes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ runtimes:
node_version: "18.12"
node_major_version: "18"
- name: "node20"
node_version: "20.9"
node_version: "20.19"
node_major_version: "20"
- name: "node22"
node_version: "22.11"
Expand Down
6 changes: 3 additions & 3 deletions .gitlab/scripts/publish_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2023 Datadog, Inc.

# NODE_VERSION=20.9 REGION=us-east-1
# NODE_VERSION=20.19 REGION=us-east-1

set -e

# Available runtimes: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
AWS_CLI_NODE_VERSIONS=("nodejs18.x" "nodejs20.x" "nodejs22.x")
LAYER_PATHS=(".layers/datadog_lambda_node18.12.zip" ".layers/datadog_lambda_node20.9.zip" ".layers/datadog_lambda_node22.11.zip")
LAYER_PATHS=(".layers/datadog_lambda_node18.12.zip" ".layers/datadog_lambda_node20.19.zip" ".layers/datadog_lambda_node22.11.zip")
LAYERS=("Datadog-Node18-x" "Datadog-Node20-x" "Datadog-Node22-x")
NODE_VERSIONS=("18.12" "20.9" "22.11")
NODE_VERSIONS=("18.12" "20.19" "22.11")
STAGES=('prod', 'sandbox', 'staging')

printf "Starting script...\n\n"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -e
LAYER_DIR=".layers"
LAYER_FILES_PREFIX="datadog_lambda_node"

export NODE_VERSIONS=("18.12" "20.9" "22.11")
export NODE_VERSIONS=("18.12" "20.19" "22.11")

if [ -z "$NODE_VERSION" ]; then
echo "Node version not specified, running for all node versions."
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_govcloud_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

set -e

NODE_VERSIONS=("18.12" "20.9" "22.11")
NODE_VERSIONS=("18.12" "20.19" "22.11")

LAYER_PACKAGE=$1

Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
set -e

NODE_VERSIONS_FOR_AWS_CLI=("nodejs18.x" "nodejs20.x" "nodejs22.x")
LAYER_PATHS=(".layers/datadog_lambda_node18.12.zip" ".layers/datadog_lambda_node20.9.zip" ".layers/datadog_lambda_node22.11.zip")
LAYER_PATHS=(".layers/datadog_lambda_node18.12.zip" ".layers/datadog_lambda_node20.19.zip" ".layers/datadog_lambda_node22.11.zip")
AVAILABLE_LAYERS=("Datadog-Node18-x" "Datadog-Node20-x" "Datadog-Node22-x")
AVAILABLE_REGIONS=$(aws ec2 describe-regions | jq -r '.[] | .[] | .RegionName')
BATCH_SIZE=60
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mismatch_found=false
# [1]: nodejs version
# [2]: random 8-character ID to avoid collisions with other runs
node18=("nodejs18.x" "18.12" $(xxd -l 4 -c 4 -p < /dev/random))
node20=("nodejs20.x" "20.9" $(xxd -l 4 -c 4 -p < /dev/random))
node20=("nodejs20.x" "20.19" $(xxd -l 4 -c 4 -p < /dev/random))
node22=("nodejs22.x" "22.11" $(xxd -l 4 -c 4 -p < /dev/random))

PARAMETERS_SETS=("node18" "node20" "node22")
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# For local use only
set -e

NODE_VERSIONS=("18.12" "20.9" "22.11")
NODE_VERSIONS=("18.12" "20.19" "22.11")

for node_version in "${NODE_VERSIONS[@]}"
do
Expand Down
2 changes: 1 addition & 1 deletion scripts/sign_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set -e

LAYER_DIR=".layers"
LAYER_FILES=("datadog_lambda_node18.12.zip" "datadog_lambda_node20.9.zip" "datadog_lambda_node22.11.zip")
LAYER_FILES=("datadog_lambda_node18.12.zip" "datadog_lambda_node20.19.zip" "datadog_lambda_node22.11.zip")
SIGNING_PROFILE_NAME="DatadogLambdaSigningProfile"

if [ -z "$LAYER_FILE" ]; then
Expand Down
Loading