mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
fixing fitbit
This commit is contained in:
27
sops
Normal file
27
sops
Normal file
@@ -0,0 +1,27 @@
|
||||
bootstrap-repos:$
|
||||
mr --trust-all bootstrap /run/user/1000/secrets/mrconfig$
|
||||
$
|
||||
update-repos:$
|
||||
cd ~/vmimages$
|
||||
sops -e ~/justfile > /secrets/user_dotfiles/test$
|
||||
$
|
||||
$
|
||||
sops-updatekeys:$
|
||||
#!/usr/bin/env bash$
|
||||
cd ~/vmimages$
|
||||
sops updatekeys secrets/user-secrets.yaml$
|
||||
sops updatekeys secrets/host-secrets.yaml$
|
||||
sops updatekeys secrets/*.yaml$
|
||||
$
|
||||
run SERVICE: $
|
||||
nomad run ~/projects/nomad/nomad_jobs/enabled/{{SERVICE}}.nomad$
|
||||
purge SERVICE: $
|
||||
nomad stop --purge {{SERVICE}}$
|
||||
stop SERVICE: $
|
||||
nomad stop ~/projects/nomad/nomad_jobs/enabled/{{SERVICE}}$
|
||||
$
|
||||
exec SERVICE:$
|
||||
ID=$(nomad status {{SERVICE}} | grep "running" | grep "{{SERVICE}}" | head -n 1| awk '{print $1}'); nomad alloc exec -task {{SERVICE}} -t ${ID} /bin/bash$
|
||||
$
|
||||
sh SERVICE:$
|
||||
ID=$(nomad status {{SERVICE}} | grep "running" | grep "{{SERVICE}}" | head -n 1| awk '{print $1}'); nomad alloc exec -task {{SERVICE}} -t ${ID} /bin/sh$
|
||||
Reference in New Issue
Block a user