add ephemeral to runner config

This commit is contained in:
uazo 2022-02-18 16:08:27 +01:00 committed by GitHub
parent 94ad7d9a1d
commit 0978237d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,8 @@ echo "Registering runner ${runner_id}"
--allowedauthorslist "${ALLOWEDAUTHORSLIST}" \
--unattended \
--replace \
--disableupdate
--disableupdate \
--ephemeral
trap 'remove_runner; exit 130' SIGINT
trap 'remove_runner; exit 143' SIGTERM
@ -59,5 +60,5 @@ for f in runsvc.sh RunnerService.js; do
mv {patched,bin}/${f}
done
./bin/runsvc.sh --ephemeral "$*"
./bin/runsvc.sh --once "$*"
remove_runner