mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Account for fips for photon 4 and 5
This commit is contained in:
parent
2f6cb0b229
commit
658d57fbe8
1 changed files with 10 additions and 3 deletions
13
tools/ci.py
13
tools/ci.py
|
@ -852,14 +852,21 @@ def pkg_matrix(
|
|||
f"Found {version} ({backend}) for {distro_slug}: {objects[0]['Key']}"
|
||||
)
|
||||
for session in ("upgrade", "downgrade"):
|
||||
if backend == "classic":
|
||||
session += "-classic"
|
||||
_matrix.append(
|
||||
{
|
||||
"test-chunk": f"{session}-classic"
|
||||
if backend == "classic"
|
||||
else session,
|
||||
"test-chunk": session,
|
||||
"version": str(version),
|
||||
}
|
||||
)
|
||||
if (
|
||||
backend == "relenv"
|
||||
and fips is True
|
||||
and distro_slug.startswith(("photonos-4", "photonos-5"))
|
||||
):
|
||||
# Repeat the last one, but with fips
|
||||
_matrix.append({"fips": "fips", **_matrix[-1]})
|
||||
else:
|
||||
ctx.info(f"No {version} ({backend}) for {distro_slug} at {prefix}")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue