From 918101b4bd7f290e04479a83881f5f892f1c30ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Fr=C3=A9con?= Date: Sun, 11 Feb 2024 22:38:01 +0100 Subject: [PATCH] Enforce ephemeral runners --- runner.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runner.sh b/runner.sh index 155f3dd..7a5897c 100755 --- a/runner.sh +++ b/runner.sh @@ -75,6 +75,10 @@ RUNNER_MOUNT=${RUNNER_MOUNT:-""} # Location (at host) where to place environment files for each run. RUNNER_ENVIRONMENT=${RUNNER_ENVIRONMENT:-""} +# Should the runner be ephemeral, i.e. only run once. There is no CLI option for +# this, since the much preferred behaviour is to run ephemeral runners. +RUNNER_EPHEMERAL=${RUNNER_EPHEMERAL:-"1"} + # shellcheck source=lib/common.sh . "$RUNNER_ROOTDIR/lib/common.sh"