revert GIT_VERSIONS code.

This commit is contained in:
Gareth J. Greenaway 2023-04-20 14:23:12 -07:00
parent e7c8f7698b
commit c2c6bd1e70
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41
3 changed files with 6 additions and 18 deletions

View file

@ -263,7 +263,7 @@ jobs:
distro-slug: almalinux-9
display-name: AlmaLinux 9
timeout: 20
instances: '["git-v3005", "onedir-3005", "git-3006.x", "onedir-3006", "git-master", "onedir-nightly"]'
instances: '["git-3005", "onedir-3005", "git-3006", "onedir-3006", "git-master", "onedir-nightly"]'
amazon-2:
@ -333,7 +333,7 @@ jobs:
distro-slug: centos-stream9
display-name: CentOS Stream 9
timeout: 20
instances: '["git-v3005", "onedir-3005", "git-3006.x", "onedir-3006", "git-master", "onedir-nightly"]'
instances: '["git-3005", "onedir-3005", "git-3006", "onedir-3006", "git-master", "onedir-nightly"]'
debian-10:
@ -529,7 +529,7 @@ jobs:
distro-slug: rockylinux-9
display-name: Rocky Linux 9
timeout: 20
instances: '["git-v3005", "onedir-3005", "git-3006.x", "onedir-3006", "git-master", "onedir-nightly"]'
instances: '["git-3005", "onedir-3005", "git-3006", "onedir-3006", "git-master", "onedir-nightly"]'
ubuntu-2004:

View file

@ -269,14 +269,6 @@ VERSION_DISPLAY_NAMES = {
"nightly": "Nightly",
}
GIT_VERSIONS = {
"3003": "v3003",
"3004": "v3004",
"3005": "v3005",
"3006": "3006.x",
"master": "master",
}
STABLE_VERSION_BLACKLIST = [
"master",
"nightly",
@ -408,7 +400,6 @@ def generate_test_jobs():
# BSD's don't have a stable release, only use git
for bootstrap_type in ("git",):
_salt_version = salt_version
BLACKLIST = {
"3003": BLACKLIST_3003,
"3004": BLACKLIST_3004,
@ -424,7 +415,6 @@ def generate_test_jobs():
# there is no git version.
if salt_version.endswith("-0"):
continue
_salt_version = GIT_VERSIONS[salt_version]
if (
salt_version in ("3003", "3004")
@ -432,7 +422,7 @@ def generate_test_jobs():
):
continue
kitchen_target = f"{bootstrap_type}-{_salt_version}"
kitchen_target = f"{bootstrap_type}-{salt_version}"
instances.append(kitchen_target)
if instances:
@ -556,7 +546,6 @@ def generate_test_jobs():
continue
for bootstrap_type in ("stable", "git", "onedir", "onedir-rc"):
_salt_version = salt_version
if bootstrap_type == "onedir":
if salt_version not in ONEDIR_SALT_VERSIONS:
continue
@ -604,7 +593,6 @@ def generate_test_jobs():
# there is no git version.
if salt_version.endswith("-0"):
continue
_salt_version = GIT_VERSIONS[salt_version]
if (
salt_version in ("3003", "3004", "3005", "3006")
@ -612,7 +600,7 @@ def generate_test_jobs():
):
continue
kitchen_target = f"{bootstrap_type}-{_salt_version}"
kitchen_target = f"{bootstrap_type}-{salt_version}"
instances.append(kitchen_target)
if instances:

View file

@ -180,7 +180,7 @@ suites:
- freebsd-131
- freebsd-123
- openbsd-6
- name: git-3006.x
- name: git-3006
provisioner:
salt_version: 3006.x
salt_bootstrap_options: -x python3 -MPfq git %s