Skip to content

Commit

Permalink
Keep only 2 boxes
Browse files Browse the repository at this point in the history
Production runners require 2 boxes only (latest master and ipa-4-8
branches). Nightly runners are running close to the threshold to hit
out of space issues.

Signed-off-by: Armando Neto <abiagion@redhat.com>
  • Loading branch information
netoarmando committed Aug 11, 2020
1 parent 47c117a commit 6632cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/vagrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def clean_last_time_used(box):
# Do not delete Windows boxes
linux_boxes = [x for x in all_boxes if 'windows' not in x.name]

# Keep only the latest 3 boxes
for box in linux_boxes[:-3]:
# Keep only the latest 2 boxes
for box in linux_boxes[:-2]:
box.delete_box()

@staticmethod
Expand Down

0 comments on commit 6632cc7

Please sign in to comment.