Skip to content

Commit

Permalink
kolla-images.py: Check for existence of skopeo
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoddard committed Jan 29, 2024
1 parent 82a194a commit 4e90858
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/kolla-images.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ def validate(kolla_image_tags: KollaImageTags):

def check_tags(base_distros: List[str], kolla_image_tags: KollaImageTags, registry: str, namespace: str):
"""Check whether expected tags are present in container image registry."""
try:
subprocess.check_output("type skopeo", shell=True)
except subprocess.CalledProcessError:
print("Failed to find skopeo. Please install it.")
sys.exit(1)
image_tags = get_tags(base_distros, kolla_image_tags)

missing = {}
Expand Down

0 comments on commit 4e90858

Please sign in to comment.