Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccmlib/scylla_repository: introduce get_manger_* functions #474

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

fruch
Copy link
Contributor

@fruch fruch commented Jul 6, 2023

those helper function could be user to retrive scylla manager relocatable packages, that we need in dtest for testing manager, those comes in two flavors:

  • one to retrive lastet version of of specific branches
  • one to retrive specific released versions

Architecture = Literal['x86_64', 'aarch64']


def get_manager_latest_reloc_url(branch: str = "master", architecture: Architecture = None) -> str:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we want to enforce type annotations, we might need to, well, enforce it. like

def get_manager_latest_reloc_url(branch: str = "master", architecture: Optional[Architecture] = None) -> str:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's mostly for documentation now, not going to enforce it with tools.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, if we want to use for document, i think we need to get it right from the very beginning.

@fruch fruch force-pushed the manager_versions_lookup branch 2 times, most recently from a6a5092 to 76fa918 Compare July 9, 2023 12:30
those helper function could be user to retrive scylla manager
relocatable packages, that we need in dtest for testing
manager, those comes in two flavors:
* one to retrive lastet version of of specific branches
* one to retrive specific released versions
@fruch fruch merged commit 4bd15a1 into scylladb:next Jul 11, 2023
1 check passed
@fruch fruch deleted the manager_versions_lookup branch July 11, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants