lodgeit/.zuul.yaml
Clark Boylan b16ec64fa4 Run python3.11 job on Jammy
We didn't specify the nodeset to run the python3.11 tox jobs on so we go
with default which is now Noble. Noble has python3.12 not 3.11 so we
fail to find the right python version. Fix this by pinning back to Jammy
(the old default).

Change-Id: I4858021e838dd9494744668d33d4c520c9f5b048
2024-11-19 13:05:54 -08:00

80 lines
2.7 KiB
YAML

- secret:
name: lodgeit-opendev-dockerhub
data:
username: opendevzuul
password: !encrypted/pkcs1-oaep
- D6Z2bpBW0RSHMeqZP1PwjlJA8nLIac0BPKNMefelwHXeqD1w0pHTQ4W7MNvbmpmqxO0YG
vWOS5wxCuUJ37gELGfBRvWwvbnrfzhlh+nHqfZ2rh/8wYJuMV4HZOEnjJ5gHQSGldRW4g
+woxkkcJ/GzakyITAm/FhUiyMB6G3E6NLo8YDm/WTKsEtRmUtSbQMkGaZLfXY1QwCA9pN
7lYLr6Pibd2PQzCQWq1CAr4BJGdc10r/LWxyWC4EphF4RxsKLWNEktkT+ZfP2K9+tNtrL
/nkwdc9IUjSqWFa8JUQy0GREghpOW7GgMthoqvADgpdxOoqIhyC4gpFfciC2jXbsMC0pV
3kkCGQbv29LJ/gJ4QcqJHZ00OvI76XrE5CwQ7MFu+KIcTdoQtorIMOOx9ey/5UybJYlh9
nHnZP6UwMPQuxkbdJhlwhUnGKXaiJWGs97gHWVwcrThT/IEEKfFata2/Wn4dXlSr6u4t/
Xt34+eZOfqaGGdOjo/+U3IrxeMIM+KZl30/30vNBM95TxNxZ9JKR7XmOFwUWWxNc7LQng
soT47t74JaCpeUeX8otlpSKz9N+rFWkphrFai3qakKgqxpjyZ7k12veNhdrcqMLVrsOSI
EKTCnKphRQKSiMe0WjiaIvXNEGeIXMu6PlCIYvexzlrlUJJfc95Er+OlY7vvHg=
- job:
name: lodgeit-build-opendev-image
parent: opendev-build-docker-image
description: Build OpenDev Docker images for LodgeIt
dependencies: opendev-buildset-registry
requires:
- python-builder-3.11-bookworm-container-image
- uwsgi-base-3.11-bookworm-container-image
provides: lodgeit-container-image
vars: &lodgeit_opendev_image_vars
zuul_work_dir: src/opendev.org/opendev/lodgeit
docker_images:
- context: .
repository: opendevorg/lodgeit
target: lodgeit
- job:
name: lodgeit-upload-opendev-image
parent: opendev-upload-docker-image
description: Build OpenDev LodgeIt Docker images and upload to Docker Hub.
dependencies: opendev-buildset-registry
requires:
- python-builder-3.11-bookworm-container-image
- uwsgi-base-3.11-bookworm-container-image
provides: lodgeit-container-image
vars: *lodgeit_opendev_image_vars
secrets:
- name: docker_credentials
secret: lodgeit-opendev-dockerhub
pass-to-parent: true
- job:
name: lodgeit-promote-opendev-image
parent: opendev-promote-docker-image
description: Promote previously uploaded LodgeIt Docker images.
vars: *lodgeit_opendev_image_vars
secrets:
- name: docker_credentials
secret: lodgeit-opendev-dockerhub
pass-to-parent: true
- project:
check:
jobs:
- tox-pep8
- tox-py38:
nodeset: ubuntu-focal
- tox-py311:
nodeset: ubuntu-jammy
- opendev-buildset-registry
- lodgeit-build-opendev-image
gate:
jobs:
- tox-pep8
- tox-py38:
nodeset: ubuntu-focal
- tox-py311:
nodeset: ubuntu-jammy
- opendev-buildset-registry
- lodgeit-upload-opendev-image
promote:
jobs:
- lodgeit-promote-opendev-image