Update workflow
This commit is contained in:
parent
d2af84b8d2
commit
76be8d717c
2 changed files with 21 additions and 1 deletions
|
@ -90,8 +90,10 @@ jobs:
|
|||
ssh osaka-linode-01 'sudo systemctl restart podman-derp'
|
||||
ssh frankfurt-linode-01 'sudo systemctl restart podman-derp'
|
||||
ssh milan-linode-01 'sudo systemctl restart podman-derp'
|
||||
ssh -qA warsaw-ovh-01 'sudo systemctl restart container@rdesktop'
|
||||
ssh -qA framework-server 'sudo systemctl restart container@rdesktop'
|
||||
sleep 30
|
||||
deploy
|
||||
deploy -sd
|
||||
"
|
||||
|
||||
- name: "nixos-version (Post)"
|
||||
|
|
|
@ -50,6 +50,24 @@
|
|||
git pull
|
||||
docker compose up -d $argv
|
||||
popd
|
||||
'';
|
||||
# Deploy-RS script
|
||||
deploy-rs = ''
|
||||
pushd /etc/nixos/git/
|
||||
echo -en "Restarting DERP Relays.... "
|
||||
echo -en "Osaka"
|
||||
ssh -qA osaka-linode-01 "sudo systemctl restart podman-derp"
|
||||
echo -en ", Frankfurt"
|
||||
ssh -qA frankfurt-linode-01 "sudo systemctl restart podman-derp"
|
||||
echo -en ", Milan"
|
||||
ssh -qA milan-linode-01 "sudo systemctl restart podman-derp"
|
||||
echo -e "... Done"
|
||||
echo -en "Restarting rdesktop containers.... "
|
||||
ssh -qA warsaw-ovh-01 "sudo systemctl restart container@rdesktop"
|
||||
ssh -qA framework-server "sudo systemctl restart container@rdesktop"
|
||||
echo -e "... Done"
|
||||
deploy -s
|
||||
popd
|
||||
'';
|
||||
# Build ISOs/SD Card Images
|
||||
nixos-build-all-images = ''
|
||||
|
|
Loading…
Reference in a new issue