From 8ef5283edc3c38abb05c25e76b3f8deb693af858 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 1 Jun 2016 02:09:14 +0200 Subject: PATH in coverage, skeleton for blue-green switch --- taler-build/coverage.sh | 1 + taler-build/switch_active.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 taler-build/switch_active.sh (limited to 'taler-build') 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 -- cgit v1.2.3