system-config/docker/ircbot/local-build.sh
Ian Wienand 23fac31c92 Run statusbot from eavesdrop01.opendev.org
This installs statusbot on eavesdrop01.opendev.org.

Otherwise it's just config translation and bringing up the daemon.

Change-Id: I246b2723372594e65bcd1ba90215d6831d4c0c72
2021-06-11 07:52:51 +10:00

19 lines
570 B
Bash
Executable File

#!/bin/bash
# This clones meetbot into a top-level "meetbot" (and in the future
# other sibling plugins) directory and sets up a sibling install to
# build the container locally.
if [ ! -d .zuul-siblings/opendev.org/opendev/meetbot ]; then
mkdir -p .zuul-siblings/opendev.org/opendev
if [ ! -d meetbot ]; then
git clone https://opendev.org/opendev/meetbot
fi
pushd .zuul-siblings/opendev.org/opendev
ln -sf ../../../meetbot meetbot
popd
fi
docker build . -f Dockerfile --build-arg \
ZUUL_SIBLINGS="opendev.org/opendev/meetbot"