-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## π Description This PR improves the run loop by checking for changes in the `.env` which allows us to change stuff on the fly. - The `.env` is reloaded at the beginning of the loop - Before starting the runner, the script will now validate that the image exist, and attempt to pull it if it doesn't. - The script will check for a `SCHEDULE_SHUTDOWN` flag in the `.env` and will shutdown if it is set to true. This allows us to turn off the runner when it has completed its current job. - `SIGTERM` events will now be intercepted by the script to allow the cleanup to work when it is running as a service
- Loading branch information
1 parent
aa3b986
commit a76e073
Showing
1 changed file
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters