Skip to content

Commit 70e2568

Browse files
authored
Merge pull request #13 from gitpod-io/wv/fix-shutdown-cleanup
Fix runner cleanup
2 parents 9fd75dd + 7c793d4 commit 70e2568

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

action.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ FILE_EOF
203203
204204
set -e
205205
206-
pushd /actions-runner || exit 0
207-
208206
echo "Removing runner..."
209207
REMOVE_TOKEN=\$(curl \
210208
-X POST \
@@ -216,8 +214,8 @@ if [ -z "\$REMOVE_TOKEN" ]; then
216214
exit 0
217215
fi
218216
219-
su -s /bin/bash -c "cd /actions-runner/;/actions-runner-1/config.sh remove --token \${REMOVE_TOKEN}" runner
220-
su -s /bin/bash -c "cd /actions-runner/;/actions-runner-2/config.sh remove --token \${REMOVE_TOKEN}" runner
217+
su -s /bin/bash -c "cd /actions-runner-1/;/actions-runner-1/config.sh remove --token \${REMOVE_TOKEN}" runner
218+
su -s /bin/bash -c "cd /actions-runner-2/;/actions-runner-2/config.sh remove --token \${REMOVE_TOKEN}" runner
221219
222220
FILE_EOF
223221

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ inputs:
3535
image:
3636
description: Specifies the name of the image that the disk will be initialized with.
3737
required: false
38-
default: gh-runner-202312112146
38+
default: gh-runner-202312141129
3939
image_family:
4040
description: The image family for the operating system that the boot disk will be initialized with.
4141
required: false

vm/rootfs.tar

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)