forked from the-distro/channel-scripts
7ee70fd479
Prometheus now has a configured alert if an update job fails for a while. Going back in time is not so unusual: 1. a hydra evaluation completes with some failed jobs 2. the channel advances to this commit 3. an admin restarts a failed job 4. the channel would go backward because the evaluation is complete Since it is not a problem, make it a non-problematic exit code. |
||
---|---|---|
default.nix | ||
delete-binary-cache-garbage.pl | ||
delete-old-releases.sh | ||
file-cache.hh | ||
find-binary-cache-garbage.pl | ||
generate-programs-index.cc | ||
index-debuginfo.cc | ||
mirror-nixos-branch.pl | ||
print-dead-files.pl | ||
README.md | ||
sign-binary-cache.pl |
Building
$ nix-build
Running
$ ./result/bin/mirror-nixos-branch nixos-16.03-small https://hydra.nixos.org/job/nixos/release-16.03-small/tested/latest-finished
$ ./result/bin/mirror-nixos-branch nixos-unstable-small https://hydra.nixos.org/job/nixos/unstable-small/tested/latest-finished
$ ./result/bin/generate-programs-index /data/releases/nixos-files.sqlite ./programs.sqlite http://nix-cache.s3.amazonaws.com/ /data/releases/nixos/unstable-small/nixos-16.09pre89017.9db1990-tmp/store-paths /data/releases/nixos/unstable-small/nixos-16.09pre89017.9db1990-tmp/unpack/nixos-16.09pre89017.9db1990/nixpkgs