Update tools/ci.py

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
Caleb Beard 2023-11-08 13:20:04 -05:00 committed by Pedro Algarvio
parent c16434074f
commit 7b24b91450

View file

@ -832,7 +832,7 @@ def pkg_matrix(
prefix.replace("/arm64/", "/aarch64/")
# Using a paginator allows us to list recursively and avoid the item limit
page_iterator = paginator.paginate(
Bucket="salt-project-prod-salt-artifacts-release", Prefix=prefix
Bucket=f"salt-project-{tools.utils.SPB_ENVIRONMENT}-salt-artifacts-release", Prefix=prefix
)
# Uses a jmespath expression to test if the wanted version is in any of the filenames
key_filter = f"Contents[?contains(Key, '{version}')][]"