mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-22 12:55:20 +08:00
chore(just): improve for github-runner
This commit is contained in:
parent
f1cc2af77a
commit
ae2b27c138
1 changed files with 11 additions and 1 deletions
12
justfile
12
justfile
|
|
@ -9,11 +9,21 @@ activate:
|
|||
fmt:
|
||||
treefmt
|
||||
|
||||
# Deploy to all remote machines
|
||||
deploy:
|
||||
colmena apply --build-on-target
|
||||
|
||||
# Deploy to github-runner VM
|
||||
gr-deploy:
|
||||
colmena apply --build-on-target
|
||||
colmena apply --build-on-target --on github-runner
|
||||
|
||||
# Re-animate the VM that was suspended until now.
|
||||
gr-animate:
|
||||
colmena upload-keys
|
||||
ssh -t github-runner "sudo systemctl restart --all github-runner-*"
|
||||
|
||||
gr-inspect:
|
||||
ssh -t github-runner "sudo systemctl status --all github-runner-*"
|
||||
|
||||
gr-ssh:
|
||||
ssh -t github-runner
|
||||
Loading…
Add table
Add a link
Reference in a new issue