statusbot/.zuul.yaml
Clark Boylan 9e9f9fa108 Move statusbot to python3.11 and Bookworm
Time for our semi annual update to the base OS and python version. The
motivation here is that OpenDev would like to drop bullseye image builds
and older python image builds. Needs things to move off the old stuff
first.

Change-Id: I9156ef39ce8541dc77e08a4094dec1368bb02dc7
2023-09-19 10:39:04 -07:00

66 lines
2.4 KiB
YAML

- secret:
name: statusbot-opendev-dockerhub
data:
username: opendevzuul
password: !encrypted/pkcs1-oaep
- iNW5LmF+l127d5Tsbku/SoFSHv4+f5Y6GBKHRbdODzR2hNt+ZhEOGvJxRIg+majHdX+Qs
2ds7KISBocOYc1W20ro5w2R6leNMlSaS8N/9zsA0vhEVXoc3vaCe3EC1/fdmcQZYPkjnY
HNwh+5WqYC5zwAiimyNwp6f3amHYs/TyrgRagzbCJe1cSIkuXbW9U4gT1tOBDxOFh9GzN
PnnaiXmEhuN3X3a39dn1+HhDdNcY0xGNkzXDkemqQznlV/zx1AssEhjBfzFGZll55J/jW
REdURvim8/8F16sK5XMFRBuIw3a9PARt70pIlrwMAwPwpzrFCHOVCyyw0+Zlm0DzppcXc
dxlX0ZBPdQLPaWw3qN5Hz1mxH6fr2o4muMFASuFXGXpbdiGKBbHOOKX7V7tfr62JXVcKG
bglaRXrl3nMiMsroEuqIOXYxfpvDbuWlX8vbkdI6bhunkA81tdjytSTOCU7fXeucAeVtp
MpqPwuSGvUcU+DIbOTSP+EVHq7/096ERzEuGx1h3SI05HojDaYRop7GYuCoFO7KkxNt+5
X4zziFreoJn5ixwr+/8rqlpXmylbKknKBolZAiBVGsGF5cKW3LGoMr9NPIc2MjEqnJzz2
Y9BD/RSAX1HMiPdzSEKefNUYqG8lEsWGQoSisyAw357laBYYJ1q/m0nxAFqqWU=
- job:
name: statusbot-build-opendev-image
parent: opendev-build-docker-image
description: Build OpenDev Docker images for statusbot
provides: statusbot-container-image
requires:
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
vars: &statusbot_opendev_image_vars
zuul_work_dir: src/opendev.org/opendev/statusbot
docker_images:
- context: .
repository: opendevorg/statusbot
target: statusbot
- job:
name: statusbot-upload-opendev-image
parent: opendev-upload-docker-image
description: Build OpenDev statusbot Docker images and upload to Docker Hub.
provides: statusbot-container-image
requires:
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
vars: *statusbot_opendev_image_vars
secrets:
- name: docker_credentials
secret: statusbot-opendev-dockerhub
pass-to-parent: true
- job:
name: statusbot-promote-opendev-image
parent: opendev-promote-docker-image
description: Promote previously uploaded statusbot Docker images.
vars: *statusbot_opendev_image_vars
secrets:
- name: docker_credentials
secret: statusbot-opendev-dockerhub
pass-to-parent: true
- project:
check:
jobs:
- statusbot-build-opendev-image
gate:
jobs:
- statusbot-upload-opendev-image
promote:
jobs:
- statusbot-promote-opendev-image