Skip to content
Merged
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
3 changes: 2 additions & 1 deletion action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ function start_vm {
startup_prelude="#!/bin/bash
set -e
shutdown() {
echo ❌ Machine setup failed so deleting $VM_ID in ${machine_zone} ...
echo ❌ Machine setup failed so deleting $VM_ID in ${machine_zone} in ${shutdown_timeout} seconds ...
sleep ${shutdown_timeout}
${shutdown_command}
}
trap shutdown ERR
Expand Down
Loading