blob: d8b631425179563d4011eaec48d21a0b6e3ac3b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
# Build all Taler components for the non active party
# of blue-green, and switch to it whenever compilation
# and testing succeed. The script is not portable to
# system using different usernames and directories,
# respect to taler.net, for blue-green deployments
set -eu
if ! taler-deployment-build; then
echo "Failed to rebuild, not switching"
else
echo "Successfully built, switching"
ln -fs -T /home/$INACTIVE/sockets /home/test/sockets
fi
taler-deployment-restart
|