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

Add download subcommand #704

Merged

Conversation

danielmitterdorfer
Copy link
Member

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).

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).
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch labels Jun 5, 2019
@danielmitterdorfer danielmitterdorfer added this to the 1.2.0 milestone Jun 5, 2019
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)
Copy link
Member Author

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

Copy link
Contributor

@dliappis dliappis left a 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.

docs/command_line_reference.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@danielmitterdorfer danielmitterdorfer merged commit b973909 into elastic:master Jun 6, 2019
@danielmitterdorfer
Copy link
Member Author

Thanks for the review! :)

@danielmitterdorfer danielmitterdorfer deleted the download-subcommand branch June 6, 2019 11:38
@dliappis dliappis modified the milestones: 1.2.0, 1.2.1 Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch enhancement Improves the status quo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants