Clark Boylan 13cfceaea4 Base jobs for quay.io image publishing
This adds new jobs for publishing our images to quay.io. We also add a
secret with the necessary items (password for images pushes, API token
for repo creation). Then we update the zookeeper-statsd image as the
first image to get moved to quay.io. This should exercise things and
ensure it is working for us.

Note we don't try to update all of the images at once as we have many
images managed in this one repository and debugging every one of them
after a single merge just seems like pain. Instead, we'll start with one
image and go from there.

Depends-On: https://review.opendev.org/c/opendev/base-jobs/+/881522
Change-Id: I5198942f184df72543185a0ea88d50f9dc2d9421
2023-05-01 10:05:17 -07:00

25 lines
657 B
YAML

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
zk:
image: docker.io/library/zookeeper:3.7
restart: always
network_mode: host
user: "10001:10001"
volumes:
- "/var/zookeeper/conf/zoo.cfg:/conf/zoo.cfg"
- "/var/zookeeper/data:/data"
- "/var/zookeeper/datalog:/datalog"
- "/var/zookeeper/logs:/logs"
- "/var/zookeeper/tls:/tls"
zookeeper-statsd:
restart: always
image: quay.io/opendevorg/zookeeper-statsd:latest
network_mode: host
user: "10001:10001"
environment:
STATSD_HOST: graphite.opendev.org
STATSD_PORT: 8125