Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .gitlab/scripts/publish_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ STAGES=('prod', 'sandbox', 'staging')
expected_length=${#AWS_CLI_NODE_VERSIONS[@]}
if [[ ${#LAYER_PATHS[@]} -ne $expected_length ]] || \
[[ ${#LAYERS[@]} -ne $expected_length ]] || \
[[ ${#AVAILABLE_LAYERS[@]} -ne $expected_length ]]; then; then
[[ ${#NODE_VERSIONS[@]} -ne $expected_length ]]; then
echo "ERROR: arguments AWS_CLI_NODE_VERSIONS, LAYER_PATHS, LAYERS, and NODE_VERSIONS must have the same number of entries."
echo "AWS_CLI_NODE_VERSIONS has ${#AWS_CLI_NODE_VERSIONS[@]} entries."
echo "LAYER_PATHS has ${#LAYER_PATHS[@]} entries."
Expand Down
2 changes: 1 addition & 1 deletion scripts/add_new_region.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LAYER_NAMES=("Datadog-Node18-x", "Datadog-Node20-x" "Datadog-Node22-x" "Datadog-
NODE_VERSIONS_FOR_AWS_CLI=("nodejs18.x" "nodejs20.x" "nodejs22.x" "nodejs24.x")

# Ensure the argument arrays have the same length
if [[ ${#LAYER_NAMES[@]} -ne ${#NODE_VERSIONS_FOR_AWS_CLI[@]} ]] then
if [[ ${#LAYER_NAMES[@]} -ne ${#NODE_VERSIONS_FOR_AWS_CLI[@]} ]]; then
echo "ERROR: arguments LAYER_NAMES and NODE_VERSIONS_FOR_AWS_CLI must have the same number of entries."
echo "LAYER_NAMES has ${#LAYER_NAMES[@]} entries."
echo "NODE_VERSIONS_FOR_AWS_CLI has ${#NODE_VERSIONS_FOR_AWS_CLI[@]} entries."
Expand Down
Loading