repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

feat(ssh): luci ci host alias and ci wrapper usage guard

5e2a82ce1af7887f2762cea514940fb7641eaca4

Oliver Jan Krylow <oliver@bugabinga.net> ·

SSH signature · not checked

Browse filesCompare with HEAD

Changed files (2)

nushell/modules/commands.nu

Modified
9 9 export def ci [...args] {
10 - ssh -p 2223 root@ci.bugabinga.net ...$args
10 + if ($args | is-empty) {
11 + print "usage: ci <status|run|repo|show|log|docs|env-check> [args...]"
12 + return
13 + }
14 + ssh ci ...$args
13 17 # Remove a literal NUL entry.

ssh/config

Modified
39 39 User root
40 40 IdentityFile ~/.ssh/bugabinga.net.key
42 +Host ci ci.bugabinga.net
43 + HostName ci.bugabinga.net
44 + Port 2223
45 + User root
46 + IdentityFile ~/.ssh/klops.key
42 48 Host vcs vcs.bugabinga.net
43 49 HostName vcs.bugabinga.net
44 50 User git