I’m using gitlab runners on a digital ocean droplet. I set up a cron job to clean up disk space so my CI never crashes because of missing storage space. I currently stop the runner to put any upcoming builds on hold, run a docker prune and restart the runner when it’s done. I was just curious to know if there is a way I could know if the runner is currently executing a job when I try to stop it so I don’t interrupt a build when I try to clean the disk. I couldn’t find such command online. Thanks for the help!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to list the currently running jobs of a (private) runner? | 1 | 9998 | August 3, 2021 | |
Issues with local runners using gitlab.com | 2 | 842 | February 3, 2023 | |
How to restart gitlab runner safely? | 1 | 4361 | April 2, 2021 | |
Gitlab-runner check job infrequently | 0 | 1414 | March 31, 2021 | |
High output crashed GitLab Runner sync with GitLab Job | 0 | 1230 | November 28, 2021 |