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 osaka-linode-01 'sudo systemctl restart podman-derp'
|
||||||
ssh frankfurt-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 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
|
sleep 30
|
||||||
deploy
|
deploy -sd
|
||||||
"
|
"
|
||||||
|
|
||||||
- name: "nixos-version (Post)"
|
- name: "nixos-version (Post)"
|
||||||
|
|
|
@ -51,6 +51,24 @@
|
||||||
docker compose up -d $argv
|
docker compose up -d $argv
|
||||||
popd
|
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
|
# Build ISOs/SD Card Images
|
||||||
nixos-build-all-images = ''
|
nixos-build-all-images = ''
|
||||||
echo "Building Linode image..."
|
echo "Building Linode image..."
|
||||||
|
|
Loading…
Reference in a new issue