Skip to content

Commit

Permalink
Add a few more platform slugs which will get tested with the TCP tran…
Browse files Browse the repository at this point in the history
…sport

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
  • Loading branch information
s0undt3ch committed Nov 10, 2023
1 parent 40258b5 commit 6c27c94
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions tools/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,9 @@ def matrix(
if transport == "tcp":
if distro_slug not in (
"centosstream-9",
"centosstream-9-arm64",
"photonos-5",
"photonos-5-arm64",
"ubuntu-22.04",
"ubuntu-22.04-arm64",
):
Expand All @@ -683,19 +686,15 @@ def matrix(
"test-group-count": splits,
}
)
if (
fips is True
and transport != "tcp"
and distro_slug.startswith(("photonos-4", "photonos-5"))
if 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:
_matrix.append({"transport": transport, "tests-chunk": chunk})
if (
fips is True
and transport != "tcp"
and distro_slug.startswith(("photonos-4", "photonos-5"))
if fips is True and distro_slug.startswith(
("photonos-4", "photonos-5")
):
# Repeat the last one, but with fips
_matrix.append({"fips": "fips", **_matrix[-1]})
Expand Down

0 comments on commit 6c27c94

Please sign in to comment.