Open twhitehead opened 6 years ago
Hm, tricky. I think selecting the oldest one may actually be better because it's stable (we won't create a new release if the release job didn't change). For the NixOS/Nixpkgs jobsets, we ensure that the release job changes on every commit by including the revision in the release job's name
attribute.
@edolstra Was trying to figure out why a script I wrote based on
mirror-nixos-branch
wasn't working. Finally tracked it down to the fact that that thejobsetevals
attribute is sorted in ascending order.This means that this code
references the oldest
jobseteval
and not the newest.You can see this here via the following
curl
request to our hydra server. The official nixos one seems to rarely have more than one evaluation on tap, so this is harder to see (and catch) on it.