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 a tarball of the manual to Hydra build outputs #9275

Open
fricklerhandwerk opened this issue Nov 2, 2023 · 3 comments
Open

Add a tarball of the manual to Hydra build outputs #9275

fricklerhandwerk opened this issue Nov 2, 2023 · 3 comments
Labels
contributor-experience Developer experience for Nix contributors

Comments

@fricklerhandwerk
Copy link
Contributor

While trying to host the Nix manual on nix.dev instead of nixos.org I'm running into the following problem:

I want to automatically deploy the latest build of the manual from each of the selected release branches. But since Hydra may have failed builds, after updating the remote source, the deployment will either have to rebuild all of Nix (and likely fail), or I'll have to manually pin it to some state that is cached, both of which is a huge waste of time.

Proposal

Since Hydra offers a latest URL to each jobset, adding a build output that produces a tarball with the manual would solve the problem very elegantly. Consumers (in this case nix.dev) can fetch the tarball directly from Hydra, always getting the latest successful build.

Alternatives

Have a similar branching system like Nixpkgs, where the actual release branches are those that pass tests.

@thufschmitt
Copy link
Member

Have a similar branching system like Nixpkgs, where the actual release branches are those that pass tests.

Ideally we'd rather have a proper CI system preventing us from merging broken stuff :)

I talked to @grahamc some times ago about having some proper Hydra support for the PRs, and he seemed to imply that it wasn't too hard to get (although I guess he doesn't have time to do it himself). Maybe @NixOS/infra could be of help here

@thufschmitt thufschmitt moved this to 🏁 Assigned in Nix team Nov 10, 2023
@thufschmitt thufschmitt self-assigned this Nov 10, 2023
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-11-10-nix-team-meeting-minutes-102/35379/1

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-10-16-nix-team-meeting-minutes-187/54835/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor-experience Developer experience for Nix contributors
Projects
None yet
Development

No branches or pull requests

3 participants