Skip to content

Commit

Permalink
GEODE-7448: Increase heavy-lifter instance time-to-live value (apache…
Browse files Browse the repository at this point in the history
…#4321)

Increasing the time-to-live value to 12 hrs as the new tests take longer
than 6 hrs. And as this value is used to delete heavy-lifter instance it
might to be too close to kill them.
  • Loading branch information
BalaKaza authored and robbadler committed Nov 19, 2019
1 parent 0959833 commit 543f4df
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 @@ -103,7 +103,7 @@ echo "${ZONE}" > "instance-data/zone"
echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config
RAM_MEGABYTES=$( expr ${RAM} \* 1024 )

TTL=$(($(date +%s) + 60 * 60 * 6))
TTL=$(($(date +%s) + 60 * 60 * 12))
LABELS="instance_type=heavy-lifter,time-to-live=${TTL},job-name=${SANITIZED_BUILD_JOB_NAME},pipeline-name=${SANITIZED_BUILD_PIPELINE_NAME},build-name=${SANITIZED_BUILD_NAME},sha=${GEODE_SHA}"
echo "Applying the following labels to the instance: ${LABELS}"

Expand Down

0 comments on commit 543f4df

Please sign in to comment.