Skip to content

Commit

Permalink
Clean up previous jobs before trying to run
Browse files Browse the repository at this point in the history
For non-ephemeral workers, this is important
  • Loading branch information
jkmassel authored Nov 2, 2021
1 parent 204cd14 commit 753c146
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/cache_repo
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ AWS_BUCKET=$1

DATE=$(date +"%Y-%m-%d")

# Create the directory (and ensure it's empty)
rm -rf "/tmp/$DATE"
mkdir -p "/tmp/$DATE"

# Download the repo
Expand Down

0 comments on commit 753c146

Please sign in to comment.