From 8c9e6621db01ea9e891d1f6406f0f56a83433b1b Mon Sep 17 00:00:00 2001 From: David Murphy Date: Wed, 18 Sep 2024 17:00:36 -0600 Subject: [PATCH] Removed testing for OpenSUSE Tumbleweed and install contextvars for Fedora git --- .github/workflows/ci.yml | 15 --------------- .github/workflows/templates/generate.py | 14 +++++++------- bootstrap-salt.sh | 4 ++++ kitchen.yml | 17 +++++++++-------- 4 files changed, 20 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c81057..bc416fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -346,20 +346,6 @@ jobs: instances: '["latest", "default"]' - opensuse-tumbleweed: - name: Opensuse Tumbleweed - if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true' - uses: ./.github/workflows/test-linux.yml - needs: - - lint - - generate-actions-workflow - with: - distro-slug: opensuse-tumbleweed - display-name: Opensuse Tumbleweed - timeout: 20 - instances: '["git-master", "latest", "default"]' - - oraclelinux-8: name: Oracle Linux 8 if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true' @@ -510,7 +496,6 @@ jobs: - gentoo - gentoo-systemd - opensuse-15 - - opensuse-tumbleweed - oraclelinux-8 - oraclelinux-9 - photon-4 diff --git a/.github/workflows/templates/generate.py b/.github/workflows/templates/generate.py index a1cd887..0fb6181 100755 --- a/.github/workflows/templates/generate.py +++ b/.github/workflows/templates/generate.py @@ -7,6 +7,7 @@ import pathlib os.chdir(os.path.abspath(os.path.dirname(__file__))) ## "amazon-2023", +## "opensuse-tumbleweed", LINUX_DISTROS = [ "almalinux-8", "almalinux-9", @@ -20,7 +21,6 @@ LINUX_DISTROS = [ "gentoo", "gentoo-systemd", "opensuse-15", - "opensuse-tumbleweed", "oraclelinux-8", "oraclelinux-9", "photon-4", @@ -43,6 +43,7 @@ OSX = [ ## "amazon-2023", +## "opensuse-tumbleweed", STABLE_DISTROS = [ "almalinux-8", "almalinux-9", @@ -54,7 +55,6 @@ STABLE_DISTROS = [ "fedora-39", "fedora-40", "opensuse-15", - "opensuse-tumbleweed", "oraclelinux-8", "oraclelinux-9", "photon-4", @@ -99,6 +99,7 @@ ONEDIR_RC_DISTROS = [ "ubuntu-2404", ] +## "opensuse-tumbleweed", BLACKLIST_3006 = [ "arch", "debian-12", @@ -106,22 +107,22 @@ BLACKLIST_3006 = [ "gentoo", "gentoo-systemd", "opensuse-15", - "opensuse-tumbleweed", "ubuntu-2404", ] +## "opensuse-tumbleweed", BLACKLIST_3007 = [ "arch", "fedora-39", "gentoo", "gentoo-systemd", "opensuse-15", - "opensuse-tumbleweed", "photon-4", "photon-5", ] ## "amazon-2023", +## "opensuse-tumbleweed", BLACKLIST_GIT_3006 = [ "almalinux-9", "amazon-2", @@ -133,7 +134,6 @@ BLACKLIST_GIT_3006 = [ "gentoo", "gentoo-systemd", "opensuse-15", - "opensuse-tumbleweed", "oraclelinux-9", "photon-4", "photon-5", @@ -144,6 +144,7 @@ BLACKLIST_GIT_3006 = [ ] ## "amazon-2023", +## "opensuse-tumbleweed", BLACKLIST_GIT_3007 = [ "almalinux-9", "amazon-2", @@ -156,7 +157,6 @@ BLACKLIST_GIT_3007 = [ "gentoo", "gentoo-systemd", "opensuse-15", - "opensuse-tumbleweed", "oraclelinux-9", "photon-4", "photon-5", @@ -240,6 +240,7 @@ LATEST_PKG_BLACKLIST = [ ] ## "amazon-2023": "Amazon 2023", +## "opensuse-tumbleweed": "Opensuse Tumbleweed", DISTRO_DISPLAY_NAMES = { "almalinux-8": "AlmaLinux 8", "almalinux-9": "AlmaLinux 9", @@ -253,7 +254,6 @@ DISTRO_DISPLAY_NAMES = { "gentoo": "Gentoo", "gentoo-systemd": "Gentoo (systemd)", "opensuse-15": "Opensuse 15", - "opensuse-tumbleweed": "Opensuse Tumbleweed", "oraclelinux-8": "Oracle Linux 8", "oraclelinux-9": "Oracle Linux 9", "photon-4": "Photon OS 4", diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index b98f17e..ef88685 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -3843,6 +3843,10 @@ install_fedora_git_deps() { CONFIG_SALT_FUNC="config_salt" fi + _fedora_dep="contextvars" + echodebug "Running '${_PY_EXE} -m pip install --upgrade ${_fedora_dep}'" + ${_PY_EXE} -m pip install --upgrade "${_fedora_dep}" + return 0 } diff --git a/kitchen.yml b/kitchen.yml index 4fe49f6..62cc738 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -36,6 +36,15 @@ provisioner: ## - yum -y install --allowerasing procps-ng curl ## - echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config +## - name: opensuse-tumbleweed +## driver: +## image: opensuse/tumbleweed:latest +## provision_command: +## - *opensuse_provision_command_01 +## - *opensuse_provision_command_02 +## - *opensuse_provision_command_03 +## - echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config + platforms: - name: almalinux-9 driver: @@ -104,14 +113,6 @@ platforms: - &opensuse_provision_command_01 zypper --non-interactive install --auto-agree-with-licenses dbus-1 - &opensuse_provision_command_02 zypper --non-interactive install --auto-agree-with-licenses sudo openssh which curl systemd - &opensuse_provision_command_03 systemctl enable sshd.service - - name: opensuse-tumbleweed - driver: - image: opensuse/tumbleweed:latest - provision_command: - - *opensuse_provision_command_01 - - *opensuse_provision_command_02 - - *opensuse_provision_command_03 - - echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config - name: rockylinux-9 driver: platform: centosstream