Skip to content

Commit

Permalink
fix runner re-registration issue (evryfs#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybaa authored Nov 23, 2021
1 parent 67da082 commit 8bb89e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ fi

sudo install-runner

./config.sh --unattended --replace --url "${RUNNER_URL}" --token "${RUNNER_TOKEN}"
# Reconfigure from the clean state in case of runner failures/restarts
./config.sh remove --token "${RUNNER_TOKEN}"
./config.sh --unattended --url "${RUNNER_URL}" --token "${RUNNER_TOKEN}"

exec "./run.sh" "${RUNNER_ARGS}"

0 comments on commit 8bb89e3

Please sign in to comment.