Skip to content

Commit

Permalink
ccmlib/scylla_repository: change manager package names
Browse files Browse the repository at this point in the history
offical manager relocatable packgaes, has dropped the hash id
and we need to fix the regex to not fail on those new packages names

(cherry picked from commit 230edf7)
  • Loading branch information
fruch committed Aug 27, 2024
1 parent 68645b5 commit c5d705f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccmlib/scylla_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ def get_manager_release_url(version: str = '', architecture: Architecture = None

url = f"{BASE_DOWNLOADS_URL}/downloads/scylla-manager/relocatable"

version_regex = re.compile('scylla-manager_(.*)-0')
version_regex = re.compile('scylla-manager_(.*)_')
# filter only specific architecture and version
all_packages = reversed(aws_bucket_ls(url))
latest_package = next(filter(lambda tar: architecture in tar and version in version_regex.search(tar)[0], all_packages))
Expand Down

0 comments on commit c5d705f

Please sign in to comment.