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