-
Notifications
You must be signed in to change notification settings - Fork 314
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
Add download subcommand #704
Add download subcommand #704
Conversation
With this commit we add a new subcommand `download` to Rally that can be used to download a binary. This can be useful in automated workflows that still want to abstract how the download artefact is actually retrieved (this has to be handled differently for different releases).
s = supplier.create(cfg, sources=False, distribution=True, build=False, | ||
challenge_root_path=challenge_root_path, car=car, plugins=plugins) | ||
binaries = s() | ||
console.println(json.dumps(binaries, indent=2), force=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far the output format is always JSON and intentionally not configurable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and works great! I left a comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks
Thanks for the review! :) |
With this commit we add a new subcommand
download
to Rally that can beused to download a binary. This can be useful in automated workflows
that still want to abstract how the download artefact is actually
retrieved (this has to be handled differently for different releases).