From ccaa10394dc47ee34caf30413dad3d2c59103472 Mon Sep 17 00:00:00 2001
From: Ghanshyam Mann <gmann@ghanshyammann.com>
Date: Mon, 21 Oct 2024 19:05:36 -0700
Subject: [PATCH] Update gate jobs as per the 2025.1 cycle testing runtime

As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by depends-on tempest and devstack
patches to move base jobs to Noble) and at least single job to run on
Ubuntu Jammy (for smooth upgrade from previous releases).

This commit adds a new job to run on Jammy which can be removed
in future cycle when testing runtime test next version of Ubuntu
as default.

Currently doc job running on Noble fail with the below error
which is fixed by installing libjpeg-dev package
 - ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (Pillow)

Closes-Bug: #2088355

Depends-On: https://review.opendev.org/c/openstack/barbican-tempest-plugin/+/932946

[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html

Change-Id: I1b6332763c02b08cf2d1e0be9f1ed46e73b963f0
---
 .zuul.yaml | 1 +
 bindep.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.zuul.yaml b/.zuul.yaml
index bf83fb866..e657fa4d2 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -118,6 +118,7 @@
         - barbican-grenade:
             voting: false
         - barbican-tempest-plugin-simple-crypto
+        - barbican-tempest-plugin-simple-crypto-jammy
         - barbican-tempest-plugin-simple-crypto-secure-rbac
         - barbican-tempest-plugin-simple-crypto-ipv6-only
         - barbican-tox-functional-fips:
diff --git a/bindep.txt b/bindep.txt
index 95a6422f8..b43230cdf 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -3,6 +3,7 @@
 
 nss-devel [platform:rpm]
 libnss3-dev [platform:dpkg]
+libjpeg-dev [platform:dpkg]
 
 gettext [test]
 graphviz [doc test]