Do not run git-master on Photon 4

This commit is contained in:
Gareth J. Greenaway 2023-04-21 17:33:34 -07:00 committed by Pedro Algarvio
parent 442cb1b180
commit 399d27b623
2 changed files with 7 additions and 2 deletions

View file

@ -515,7 +515,7 @@ jobs:
distro-slug: photon-4
display-name: Photon OS 4
timeout: 20
instances: '["stable-3006", "onedir-3006", "git-master", "latest"]'
instances: '["stable-3006", "onedir-3006", "latest"]'
rockylinux-8:

View file

@ -255,6 +255,10 @@ BLACKLIST_GIT_3006 = [
"ubuntu-2204",
]
BLACKLIST_GIT_MASTER = [
"photon-4",
]
SALT_VERSIONS = [
"3003",
"3004",
@ -597,6 +601,7 @@ def generate_test_jobs():
"3004": BLACKLIST_GIT_3004,
"3005": BLACKLIST_GIT_3005,
"3006": BLACKLIST_GIT_3006,
"master": BLACKLIST_GIT_MASTER,
}
# .0 versions are a virtual version for pinning to the first
@ -606,7 +611,7 @@ def generate_test_jobs():
continue
if (
salt_version in ("3003", "3004", "3005", "3006")
salt_version in ("3003", "3004", "3005", "3006", "master")
and distro in BLACKLIST[salt_version]
):
continue