-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create daily_cleanup_parallelworks.yaml (#289)
* Create daily_cleanup_parallelworks.yaml * Renamed the directory housing the CI scripts on Parallworks. * changing path to build directories.
- Loading branch information
1 parent
f919f46
commit 324e3da
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Old Build Cleanup | ||
|
||
# This GitHub Action Workflow is runing on the devcimultiintel cluster | ||
# This will delete all build directories older than 30 days | ||
# Build directories are on the cloud at /contrib/fv3/2023.2.0 | ||
|
||
on: | ||
schedule: | ||
# run daily at midnight | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
delete: | ||
runs-on: [self-hosted, devcimultiintel] | ||
name: Delete Builds | ||
steps: | ||
- run: find /contrib/fv3/2023.2.0/GFDL_atmos_cubed_sphere/refs/pull -maxdepth 1 -mindepth 1 -mtime +30 -type d -print -delete |