commit acbfeb837614b7b6c76f52ce8c42e8719283058a parent fba5d65acdf16b96b6af37b9d66f46de392f96fe Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 23 Feb 2020 14:12:20 +0100 bootstrap script for integration test Diffstat:
| A | bootstrap-integration | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/bootstrap-integration b/bootstrap-integration @@ -0,0 +1,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