!zghijEASpYQWYFzriI:nixos.org

Hydra

368 Members
110 Servers

Load older messages


SenderMessageTime
27 Sep 2024
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk

btw i think the something equivalent to the job endpoint does exist:

 curl -s -L -H 'Accept: application/json' "https://hydra.nixos.org/api/latestbuilds?nr=1&project=nixpkgs&jobset=trunk&job=taler-merchant.x86_64-linux"

contrary to what the docs say, there does seem to be a whole api endpoint at a separate url than the webpage (see above)

20:04:00
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk *

btw i think that something functionally equivalent to a job endpoint does exist:

 curl -s -L -H 'Accept: application/json' "https://hydra.nixos.org/api/latestbuilds?nr=1&project=nixpkgs&jobset=trunk&job=taler-merchant.x86_64-linux"

contrary to what the docs say, there does seem to be a whole api endpoint at a separate url than the webpage (see above)

20:04:14
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk *

btw i think that something functionally equivalent to a job endpoint does exist:

❯ curl -s -L -H 'Accept: application/json' "https://hydra.nixos.org/api/latestbuilds?nr=1&project=nixpkgs&jobset=trunk&job=taler-merchant.x86_64-linux"
[{"timestamp":1726685143,"id":272888968,"nixname":"taler-merchant-0.13.0","buildstatus":0,"job":"taler-merchant.x86_64-linux","project":"nixpkgs","finished":1,"system":"x86_64-linux","jobset":"trunk"}]⏎                                                                      

contrary to what the docs say, there does seem to be a whole api endpoint at a separate url than the webpage (see above)

20:04:28
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk *

btw i think that something functionally equivalent to a job endpoint does exist:

❯ curl -s "https://hydra.nixos.org/api/latestbuilds?nr=1&project=nixpkgs&jobset=trunk&job=taler-merchant.x86_64-linux"
[{"timestamp":1726685143,"id":272888968,"nixname":"taler-merchant-0.13.0","buildstatus":0,"job":"taler-merchant.x86_64-linux","project":"nixpkgs","finished":1,"system":"x86_64-linux","jobset":"trunk"}]⏎                                                                      

contrary to what the docs say, there does seem to be a whole api endpoint at a separate url than the webpage (see above)

20:07:57
28 Sep 2024
@belak:matrix.org@belak:matrix.org joined the room.06:03:22
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk
In reply to @asymmetric:matrix.dapp.org.uk

btw i think that something functionally equivalent to a job endpoint does exist:

❯ curl -s "https://hydra.nixos.org/api/latestbuilds?nr=1&project=nixpkgs&jobset=trunk&job=taler-merchant.x86_64-linux"
[{"timestamp":1726685143,"id":272888968,"nixname":"taler-merchant-0.13.0","buildstatus":0,"job":"taler-merchant.x86_64-linux","project":"nixpkgs","finished":1,"system":"x86_64-linux","jobset":"trunk"}]⏎                                                                      

contrary to what the docs say, there does seem to be a whole api endpoint at a separate url than the webpage (see above)

i guess what i'm asking is, can i rely on this endpoint sticking around, or is it part of some private/unstable API that will be removed?
10:43:40
@belak:matrix.org@belak:matrix.orgAre there any good tutorials for using Hydra? I've been debating between Hydra and Woodpecker for personal CI and figured I'd use hydra but most of the docs I've seen so far are just how to enable the service and get an admin set up - nothing about projects or jobsets or how to actually configure it.15:02:20
@k900:0upti.meK900Don't15:02:28
@k900:0upti.meK900Hydra is a NixOS sized solution for a NixOS sized problem15:02:36
@k900:0upti.meK900It's not a good fit for personal CI15:02:45
@belak:matrix.org@belak:matrix.orgFair enough15:04:53
@hacker1024:matrix.orghacker1024Eh, with declarative jobsets it's not too bad once you get over the learning curve. It has a built in binary cache server and everything15:05:43
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @belak:matrix.org
Are there any good tutorials for using Hydra? I've been debating between Hydra and Woodpecker for personal CI and figured I'd use hydra but most of the docs I've seen so far are just how to enable the service and get an admin set up - nothing about projects or jobsets or how to actually configure it.
Shameless plug but try looking at buildbot-nix, its a small sized ci for small problems
15:27:10
@belak:matrix.org@belak:matrix.orgOh nice15:28:10
@belak:matrix.org@belak:matrix.orgI guess there's also hercules? I'll look into buildbot and hercules.15:47:18
@belak:matrix.org@belak:matrix.org
In reply to @magic_rb:matrix.redalder.org
Shameless plug but try looking at buildbot-nix, its a small sized ci for small problems
Is there a way to require confirmation before running PRs from untrusted users?
16:31:54
@libregeekingkid:matrix.orgrajudev joined the room.22:15:06
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:00:33
3 Oct 2024
@midirhee12:tchncs.de@midirhee12:tchncs.de joined the room.12:58:30
4 Oct 2024
@sophie:nue.soopy.moesoopyc (she/it) joined the room.08:48:19
5 Oct 2024
@magic_rb:matrix.redalder.orgmagic_rb changed their profile picture.22:17:00
6 Oct 2024
@nikolay:matrix.orgNikolay Kolev changed their profile picture.00:17:30
7 Oct 2024
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:57
8 Oct 2024
@schuelermine:matrix.orgschuelermine changed their profile picture.16:32:04
9 Oct 2024
@schuelermine:matrix.orgschuelermine changed their profile picture.23:46:53
12 Oct 2024
@tim92:matrix.orgtimhow do I configure the settings of the nix (daemon) that hydra uses?15:34:45
@rick:matrix.ciphernetics.nlRick (Mindavi)Via nix.conf or via nixos settings, depending on where you run it16:17:44
@rick:matrix.ciphernetics.nlRick (Mindavi)The settings are configurable for each builder, and for localhost it's just the nix daemon settings of the machine16:18:18
@tim92:matrix.orgtim
In reply to @rick:matrix.ciphernetics.nl
The settings are configurable for each builder, and for localhost it's just the nix daemon settings of the machine
I am not sure that is the case, at least the hydra web ui shows nix version 2.22.3 but the default version installed on that machine and the daemon are on 2.18.8
19:00:10
@rick:matrix.ciphernetics.nlRick (Mindavi)Well, yeah so the settings and the version are indeed a different thing20:15:34

Show newer messages


Back to Room ListRoom Version: 6