gerritbot/.zuul.yaml
Clark Boylan 738a671459 Update Gerrit bot to python3.11 on bookworm
This drops python3.8 and python3.10 testing focusing only on python3.11.
At the same time we bump the container image to python3.11 and bookworm.

The eventual goal here is to have opendev services on bookworm and
python3.11 so that we can drop docker image builds for bullseye and
older python versions.

Change-Id: I37b2ed3fafb3599db95730f3a9bbb90da95ff0e4
2023-09-19 10:58:24 -07:00

77 lines
2.7 KiB
YAML

- secret:
name: gerritbot-opendev-dockerhub
data:
username: opendevzuul
password: !encrypted/pkcs1-oaep
- 1lrelk7zn4fl31rF2n/+erP4aYWXWfHMnt7piYyBtfSlbIh3z+u8BIDY5/LXU9bswwxVR
IKRmMSME8sH4wE9+DAmsGiiuEuVdq2fKu7jF2doL86EVYsOMYtOJak7jN1l5mOHWn/IZy
lKATn/OaAHosX8un30T9pSn4cNCtsdbIRxxjXJUdprZfbcDHAJ5Ezf5PsBs9Szg/SUZWU
DLVvAYoTpyYHTHQMCf1idKevAnewrDLtPuIjVf0FWmMsRURBh5HVZILVn6NFCHQZR93ca
mzNpQOaw/v/F+hjtKZSFRbuwuOe1st5qK1KLbzb0xYJ0DhM5bIKO/O3gTKwWV30+0rEJC
geouNC+qhhVRGAqvA3y1DJZNYcY4lGTYE2hMhaIKBm1tj1UpzbexVU66NTUZ6xAzsq28c
D2ffLmVMeNtnZUud1JiwpeHOGB/zwpJJTcJBHI9bzn19NNF9MhnRGbaJUU69goPgc8O17
HD18TsHAGm4mJwLNp8zWUb0VMP06v8PHI7clRAK07FUN6Gc7mjdgGoPI1RtLoZ8Fr0Il7
vbfU6acyzrH/CIyF5mNvrUBuy3J6QoKElFG2pXGfZj8xKhCTbShT2rZwyZdhgONvjNWIN
cY8abkqFpILCTTEtByIs0A02XJLOf9XdK5R3/yPPNhv5OPSfBTwpIgwLsAJqPU=
- job:
name: gerritbot-build-opendev-image
parent: opendev-build-docker-image
description: Build OpenDev Docker images for storyboard webclient
provides: gerritbot-container-image
requires:
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
required-projects: &gerritbot_opendev_required_projects
- opendev/gerritlib
vars: &gerritbot_opendev_image_vars
zuul_work_dir: src/opendev.org/opendev/gerritbot
docker_images:
- context: .
repository: opendevorg/gerritbot
target: gerritbot
siblings:
- opendev.org/opendev/gerritlib
- job:
name: gerritbot-upload-opendev-image
parent: opendev-upload-docker-image
description: Build OpenDev gerritbot Docker images and upload to Docker Hub.
provides: gerritbot-container-image
requires:
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
required-projects: *gerritbot_opendev_required_projects
vars: *gerritbot_opendev_image_vars
secrets:
- name: docker_credentials
secret: gerritbot-opendev-dockerhub
pass-to-parent: true
- job:
name: gerritbot-promote-opendev-image
parent: opendev-promote-docker-image
description: Promote previously uploaded gerritbot Docker images.
vars: *gerritbot_opendev_image_vars
secrets:
- name: docker_credentials
secret: gerritbot-opendev-dockerhub
pass-to-parent: true
- project:
check:
jobs:
- tox-pep8
- tox-py311:
nodeset: ubuntu-jammy
- gerritbot-build-opendev-image
gate:
jobs:
- tox-pep8
- tox-py311:
nodeset: ubuntu-jammy
- gerritbot-upload-opendev-image
promote:
jobs:
- gerritbot-promote-opendev-image