Skip to content

Commit

Permalink
Create daily_cleanup_parallelworks.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenchilutti authored Oct 4, 2023
1 parent f919f46 commit 6826b02
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/daily_cleanup_parallelworks.yaml
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/refs/pull -maxdepth 1 -mindepth 1 -mtime +30 -type d -print -delete

0 comments on commit 6826b02

Please sign in to comment.