system-config/zuul.d/docker-images/zookeeper-statsd.yaml
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

34 lines
1.3 KiB
YAML

# zookeeper-statsd jobs
- job:
name: system-config-build-image-zookeeper-statsd
description: Build a zookeeper-statsd image.
parent: system-config-build-container-image
requires: python-base-3.9-bullseye-container-image
vars: &zookeeper-statsd_vars
promote_container_image_job: system-config-upload-image-zookeeper-statsd
container_images:
- context: docker/zookeeper-statsd
registry: quay.io
repository: quay.io/opendevorg/zookeeper-statsd
namespace: opendevorg
repo_shortname: zookeeker-statsd
repo_description: Tool to report ZooKeeper stats to statsd
files: &zookeeper-statsd_files
- docker/zookeeper-statsd/
- docker/python-base/
- job:
name: system-config-upload-image-zookeeper-statsd
description: Build and upload a zookeeper-statsd image.
parent: system-config-upload-container-image
requires: python-base-3.9-bullseye-container-image
vars: *zookeeper-statsd_vars
files: *zookeeper-statsd_files
- job:
name: system-config-promote-image-zookeeper-statsd
description: Promote a previously published zookeeper-statsd image to latest.
parent: system-config-promote-container-image
vars: *zookeeper-statsd_vars
files: *zookeeper-statsd_files