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

hercules command #12

Open
domenkozar opened this issue Jan 3, 2017 · 3 comments
Open

hercules command #12

domenkozar opened this issue Jan 3, 2017 · 3 comments
Labels
Milestone

Comments

@domenkozar
Copy link
Contributor

domenkozar commented Jan 3, 2017

Once we have the RESTful API, I'd like to have a CLI client that's first class citizen user of it + Nix underground.

API Sketch:

# Parse yaml, build the project using plain nix-build locally (useful for testing)
$ hercules build

# Parse yaml, print what is about to be built (dry-run)
$ hercules build --preview

# Between the last failing build and last suceeding build, find the commit that broke the build
$ hercules bisect
@domenkozar domenkozar added this to the post 1.0 milestone Jan 3, 2017
@expipiplus1
Copy link
Contributor

expipiplus1 commented Jan 3, 2017 via email

@ghost
Copy link

ghost commented May 6, 2017

For local installation or for use against a central server instance? If it is for a local installation, consider having the local version use a simpler db like acid-state or sqlite.

@lukego
Copy link

lukego commented May 7, 2017

This would be awesome. I would love to be able to have one pool of servers for both CI use and also direct interactive use. This seems a bit tricky with the current nix ecosystem. I don't see how to make Hydra and distributed nix-build jobs coexist in a smooth way. Seems like a neat solution would be for nix-build to issue the request to Hydra rather than talking with all the build slaves directly, and perhaps that is what hercules build would do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants