Skip to content

Commit f53e705

Browse files
committed
Testrun only with superset 3.1.0
1 parent ead959f commit f53e705

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

stack_scanner/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ def main():
5555
for product in product_versions.products:
5656
product_name: str = product["name"]
5757

58-
if product_name in excluded_products:
58+
if product_name in excluded_products or product_name != "superset":
5959
continue
6060
product_targets = {}
6161
for version_dict in product.get("versions", []):
6262
product_version: str = version_dict['product']
63+
if product_version != "3.1.0":
64+
continue
6365
image_name = f"{REGISTRY_URL}/stackable/{product_name}:{product_version}-stackable{release}"
6466
#print(f"Scanning {REGISTRY_URL}/stackable/{product_name}:{product_version}-stackable{release}")
6567
print(f"grype -o cyclonedx --file {release}-{product_name}-{product_version}.cdx {image_name}")

0 commit comments

Comments
 (0)