summaryrefslogtreecommitdiff
path: root/buildbot/sign.sh
blob: 68c4b519f26004514174368881f20ed6e963a65e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

active=$(sudo -u test cat /home/test/active)
nonactive="test-blue"
echo "Active party: ${active}"

if test $active = "test-blue"; then
  nonactive="test-green"
fi

sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-config-sign'