| 27 Sep 2024 |
@asymmetric:matrix.dapp.org.uk | is a URL like this one supposed to take me to the last successful build, or the latest build? | 14:48:55 |
@asymmetric:matrix.dapp.org.uk | looking at e.g. https://hydra.nixos.org/job/nixpkgs/trunk/rippled.x86_64-linux/:
/latest takes me to https://hydra.nixos.org/build/259389382
- but the actual latest build is https://hydra.nixos.org/build/271754130
| 14:50:03 |
| @austreelis:the-apothecary.club left the room. | 16:09:06 |
| elikoga set a profile picture. | 16:27:32 |
@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 | * 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 | * 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 | * 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 joined the room. | 06:03:22 |
@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 | 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. | 15:02:20 |