
This container installs Limnoria, the supybot replacement as the generic ircbot container. We install meetbot plugin as a sibling project. Previously we've conflated supybot with meetbot, which is a bit confusing because meetbot is a plugin, but we also use other plugins such as the channel logger. We also hope to convert some of our other bots to Limnoria (ptgbot?) to consolidate everything. For this reason I've called this the more generic "ircbot". The image installs meetbot as a sibling project, with the idea being any other plugins would also be installed as siblings. The siblings install expects the work directory to be a relative directory. I'm not sure we run this from other projects, but this will work the same if we do. Depends-On: https://review.opendev.org/c/opendev/meetbot/+/793876 Change-Id: Icee4c6bbb5ea235ba69c10f800a14bbf5beef3d5
17 lines
552 B
Bash
Executable File
17 lines
552 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
|
|
fi
|
|
|
|
docker build . -f Dockerfile --build-arg "ZUUL_SIBLINGS=opendev.org/opendev/meetbot"
|