statusbot/.zuul.yaml
Clark Boylan d5b2eb868f Move statusbot to quay.io
This moves statusbot image publication to quay.io. We also update the
source of our base python images to quay.io.

Depends-On: https://review.opendev.org/c/opendev/system-config/+/881932
Change-Id: Ie5b49b917a1406266c198072d2cfd7b1529abb3d
2023-05-05 16:24:17 -07:00

75 lines
2.9 KiB
YAML

- secret:
name: statusbot-opendev-quayio
data:
quay.io:
username: opendevorg+opendevrobot
password: !encrypted/pkcs1-oaep
- j//Ad32wTEjWWhbh6R1NEfE0oebM/WfsNNFeSeenOpiGDNY20f8wamOp0eyxKHZ0fZ5rv
Njqg65I4VTBTuU7gHilAPT5Wf0CzK8kE5neEZp7ZB2fUWP4c5/RaEGCGz6cI65xIhUGPE
eoqN/OkmO09l6MMiBi1zZ3HCcWWjHMAijcP79jQL4cODIyVMTv7wLeUxE5qQgyyVs1Lkq
RE9HE4pltBA+Om/dgieXtinODhb06BATOcrogJ4CAAmqlk1MKlv9qzcNUbfucz3t0j7Z5
wv4ill2REHnUPCu4rn5UiupNG/g8s1qa06NUP6Vw3EI7Y32PN1IgLTFddz5Cj1QgJhiKn
W5dgZ9zwBHGKGeAy1TnCR8peQw5RZ/vmZHRRQMeyQVXNX0RMMYSUNqkPfMINwjq7X5h76
NhRCYHloR+J770fIPmGp66S/pG1lpCewWecOspVZOugOLdZ4elmaWmbzwCxNInE/GO7wK
0wCD9xc2f5eID2FhbQC9O4R3nzS7YKB7uexPHBe3pyconfRunnYgGJWgXWr6XWzYvyNF/
Prr6kuyBUI1FBoXfItxhWAC4EhjRFH1ZVueRXj13srPxDGfWbiKXm/PgTNo3WYH5CrPEy
pJP9aiQx9wM9VY1CTH1hYBG5aMazekxeGPvqv2WZgWZKa5QD16IgyT9aRh6w1I=
# No api token because we won't need to create new statusbot repos
- job:
name: statusbot-build-opendev-image
parent: opendev-build-container-image
description: Build OpenDev Docker images for statusbot
provides: statusbot-container-image
requires:
- python-builder-3.10-bullseye-container-image
- python-base-3.10-bullseye-container-image
vars: &statusbot_opendev_image_vars
zuul_work_dir: src/opendev.org/opendev/statusbot
promote_container_image_method: intermediate-registry
promote_container_image_job: statusbot-upload-opendev-image
container_command: docker
container_images:
- context: .
registry: quay.io
repository: quay.io/opendevorg/statusbot
namespace: opendevorg
repo_shortname: statusbot
repo_description: An IRC (and more) operational status update bot
target: statusbot
- job:
name: statusbot-upload-opendev-image
parent: opendev-upload-container-image
description: Build OpenDev statusbot Docker images and upload to Docker Hub.
provides: statusbot-container-image
requires:
- python-builder-3.10-bullseye-container-image
- python-base-3.10-bullseye-container-image
vars: *statusbot_opendev_image_vars
secrets:
- name: container_registry_credentials
secret: statusbot-opendev-quayio
pass-to-parent: true
- job:
name: statusbot-promote-opendev-image
parent: opendev-promote-container-image
description: Promote previously uploaded statusbot Docker images.
vars: *statusbot_opendev_image_vars
secrets:
- name: container_registry_credentials
secret: statusbot-opendev-quayio
pass-to-parent: true
- project:
check:
jobs:
- statusbot-build-opendev-image
gate:
jobs:
- statusbot-upload-opendev-image
promote:
jobs:
- statusbot-promote-opendev-image