all repos — nixfiles @ d29e3063f5b86499ae5ec52d346602fa2c2c233e

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 ci.alin.ovh laminarc abort $argv