Skip to content

Commit

Permalink
Perform full disk cleanup hourly for self-hosted runners (#7088)
Browse files Browse the repository at this point in the history
  • Loading branch information
phelpsdb authored Jan 4, 2024
1 parent 90f3b13 commit 78460d7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .circleci/scripts/circleci-startup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ chmod 755 /usr/local/sbin/periodic-cleanup

cat <<EOT > /etc/cron.hourly/audius-ci-hourly
#!/bin/sh
/usr/local/sbin/periodic-cleanup | logger -t cleanup
EOT
chmod 755 /etc/cron.hourly/audius-ci-hourly

cat <<EOT > /etc/cron.daily/audius-ci-daily
#!/bin/sh
/usr/local/sbin/periodic-cleanup --full | logger -t cleanup
EOT
chmod 755 /etc/cron.daily/audius-ci-daily
chmod 755 /etc/cron.hourly/audius-ci-hourly

0 comments on commit 78460d7

Please sign in to comment.