summaryrefslogtreecommitdiff
path: root/bootstrap-integration
blob: c9b0bd13dcc8d0f509181ee952b40f9bb1e34e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# Bootstrap the Taler setup for the integration test ("CHECKER_FACTORY")


set -eu

if [[ ! -d worker ]]; then
  buildbot-worker create-worker --umask=0o22 ~/worker localhost:9989 checker-worker checker-pass
fi

mkdir -p ~/.config/systemd/user/
cp systemd-services/buildbot-worker-checker.service ~/.config/systemd/user/

systemctl --user daemon-reload || echo "Please use 'machinectl shell checker@.host' to log in to use this script"

systemctl --user enable buildbot-worker-checker.service
systemctl --user start buildbot-worker-checker.service