summaryrefslogtreecommitdiff
path: root/buildbot/keys.sh
blob: 45f4f86072ae5ca4e07a30c42c10eef0ac2838f5 (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-keyup'