summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-01 02:09:14 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-01 02:09:14 +0200
commit8ef5283edc3c38abb05c25e76b3f8deb693af858 (patch)
tree4e720cfc5befcb76a54a1bf1ba340352e8aebfda
parent9359fab818edbbe9eb921338929c3c5096aee3f5 (diff)
downloaddeployment-8ef5283edc3c38abb05c25e76b3f8deb693af858.tar.gz
deployment-8ef5283edc3c38abb05c25e76b3f8deb693af858.tar.bz2
deployment-8ef5283edc3c38abb05c25e76b3f8deb693af858.zip
PATH in coverage, skeleton for blue-green switch
-rwxr-xr-xtaler-build/coverage.sh1
-rwxr-xr-xtaler-build/switch_active.sh7
2 files changed, 8 insertions, 0 deletions
diff --git a/taler-build/coverage.sh b/taler-build/coverage.sh
index 4834317..2ed3df8 100755
--- a/taler-build/coverage.sh
+++ b/taler-build/coverage.sh
@@ -1,6 +1,7 @@
#!/bin/sh
# Run from 'exchange/' top-level directory to generate code coverage data.
export CFLAGS="-g -O0"
+export PATH=$HOME/local/bin:$PATH
cd $HOME/exchange/
git pull
./bootstrap
diff --git a/taler-build/switch_active.sh b/taler-build/switch_active.sh
new file mode 100755
index 0000000..1390899
--- /dev/null
+++ b/taler-build/switch_active.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Build all Taler components (currently only the wallet build+test is
+# not supported) 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