Skip to content

Commit

Permalink
[GEODE-10369] if scratch ssd is used, fall back to n1 machine type.
Browse files Browse the repository at this point in the history
  • Loading branch information
smgoller committed Jun 13, 2022
1 parent e2ac111 commit 7198032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/create_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ RAM_MEGABYTES=$( expr ${RAM} \* 1024 )

MACHINE_PREFIX="e2"

if (( ${RAM} > 128 )) || (( ${CPUS} > 32 )); then
if (( ${RAM} > 128 )) || (( ${CPUS} > 32 )) || [[ ${USE_SCRATCH_SSD} == "true" ]]; then
MACHINE_PREFIX="n1"
fi

Expand Down

0 comments on commit 7198032

Please sign in to comment.