506a11f9d2
This new ansible role deploys gerritbot with docker-compose on eavesdrop.openstack.org. This way we can run it where the other bots live. Testing is rudimentary for now as we don't really want to connect to a production gerrit and freenode. We check things the best we can. We will want to coordinate deployment of this change with disabling the running service on the gerrit server. Depends-On: https://review.opendev.org/745240 Change-Id: I008992978791ff0a38f92fb4bc529ff643f01dd6
16 lines
492 B
YAML
16 lines
492 B
YAML
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
gerritbot:
|
|
image: docker.io/opendevorg/gerritbot:latest
|
|
network_mode: host
|
|
# TODO For testing our broken config may cause this to restart
|
|
# in a loop making freenode sad. Avoid that for now while we
|
|
# sort out how to test this.
|
|
restart: 'no'
|
|
volumes:
|
|
# This contains the main config, channel config, and ssh key
|
|
- /etc/gerritbot:/etc/gerritbot
|