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