all repos — nixfiles @ 40f8ffccc4b95ca4efee72095e215b31d93a3477

System and user configuration, managed by nix and home-manager

scripts/ci/abort (view raw)

1
2
3
4
5
6
7
8
#!/usr/bin/env fish
# abort a running CI job

if test (count $argv) -eq 1
    # list returns [job]:[id], abort expects [job] [id]
    set --function argv (string split --max 2 --right : $argv[1])
end
ssh smrk laminarc abort $argv