mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
lnl: add hydra-bad-machines alias
This commit is contained in:
parent
b0a8af6cc9
commit
81169fc83e
1 changed files with 5 additions and 0 deletions
|
@ -242,6 +242,11 @@
|
|||
nix repl ''${@:-<nixpkgs>}
|
||||
}
|
||||
|
||||
hydra-bad-machines() {
|
||||
local url=''${1:-https://hydra.nixos.org}
|
||||
curl -fsSL -H 'Accept: application/json' $url/queue-runner-status | jq -r '.machines | to_entries | .[] | select(.value.consecutiveFailures>0) | .key'
|
||||
}
|
||||
|
||||
hydra-job-revision() {
|
||||
local jobseteval job=$1
|
||||
shift 1
|
||||
|
|
Loading…
Reference in a new issue