mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
chore: just, better grouping
This commit is contained in:
parent
c6efa50e65
commit
70afdfade5
1 changed files with 5 additions and 4 deletions
9
justfile
9
justfile
|
|
@ -2,6 +2,7 @@ default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
# Activate local configuration
|
# Activate local configuration
|
||||||
|
[group('main')]
|
||||||
activate:
|
activate:
|
||||||
nix run
|
nix run
|
||||||
|
|
||||||
|
|
@ -14,20 +15,20 @@ deploy:
|
||||||
colmena apply --build-on-target
|
colmena apply --build-on-target
|
||||||
|
|
||||||
# Deploy to github-runner VM
|
# Deploy to github-runner VM
|
||||||
[group('gr')]
|
[group('github-runner')]
|
||||||
gr-deploy:
|
gr-deploy:
|
||||||
colmena apply --build-on-target --on github-runner
|
colmena apply --build-on-target --on github-runner
|
||||||
|
|
||||||
# Re-animate the VM that was suspended until now.
|
# Re-animate the VM that was suspended until now.
|
||||||
[group('gr')]
|
[group('github-runner')]
|
||||||
gr-animate:
|
gr-animate:
|
||||||
colmena upload-keys
|
colmena upload-keys
|
||||||
ssh -t github-runner "sudo systemctl restart --all github-runner-*"
|
ssh -t github-runner "sudo systemctl restart --all github-runner-*"
|
||||||
|
|
||||||
[group('gr')]
|
[group('github-runner')]
|
||||||
gr-inspect:
|
gr-inspect:
|
||||||
ssh -t github-runner "sudo systemctl status --all github-runner-*"
|
ssh -t github-runner "sudo systemctl status --all github-runner-*"
|
||||||
|
|
||||||
[group('gr')]
|
[group('github-runner')]
|
||||||
gr-ssh:
|
gr-ssh:
|
||||||
ssh -t github-runner
|
ssh -t github-runner
|
||||||
Loading…
Add table
Add a link
Reference in a new issue