Cleaning runner 04 (schedule) #183
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
# Perform clean up or health checks on the VM runner 03 | |
# | |
name: '[system] Clean gh-runner-04' | |
run-name: Cleaning runner 04 (${{ github.event_name }}) | |
on: | |
schedule: | |
- cron: '0 */2 * * *' | |
workflow_dispatch: | |
jobs: | |
run-check: | |
runs-on: [self-hosted, Linux, X64, ten-test-gh-runner-04] | |
steps: | |
- name: 'Clean the docker folder' | |
run: | | |
sudo systemctl stop docker | |
sudo rm -rf /var/lib/docker/ | |
sudo systemctl start docker | |