From c4c6e833a76fadbc9b2bb7529cca34e0dbb14f78 Mon Sep 17 00:00:00 2001 From: toast-gear Date: Mon, 14 Mar 2022 12:35:07 +0000 Subject: [PATCH] chore: add deprecation warning --- runner/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runner/entrypoint.sh b/runner/entrypoint.sh index 24ad7e31..d59b7687 100755 --- a/runner/entrypoint.sh +++ b/runner/entrypoint.sh @@ -165,7 +165,8 @@ fi args=() if [ "${RUNNER_FEATURE_FLAG_EPHEMERAL:-}" != "true" -a "${RUNNER_EPHEMERAL}" != "false" ]; then args+=(--once) - echo "Passing --once to runsvc.sh to enable the legacy ephemeral runner." + echo "[WARNING] Passing --once is deprecated and will be removed as an option from the image and ARC at the release of 0.24.0." + echo "[WARNING] Upgrade to GHES => 3.3 to continue using actions-runner-controller. If you are using github.com ignore this warning." fi unset RUNNER_NAME RUNNER_REPO RUNNER_TOKEN