Skip to content

Commit

Permalink
CI: Update Vagrant boxes check
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Mar 17, 2021
1 parent 35eee77 commit eef7738
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/check_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ def check_vagrant():

# Get all Vagrant boxes from bundled parameters
boxes = set()
for distribution in itervalues(
_bundled_parameters['vagrant_boxes']['boxes'],
):
for distribution in _bundled_parameters['vagrant_boxes']['boxes']:
for version in distribution['versions']:
for image in itervalues(version['architectures']):
boxes.add(image)
for arch in itervalues(distribution['default']):
boxes.add(arch['box'])
for arch in itervalues(_bundled_parameters['vagrant_boxes']['default']):
boxes.add(arch['box'])

# Check that they exist
for box in boxes:
Expand Down

0 comments on commit eef7738

Please sign in to comment.