mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 17:50:22 +00:00
Merge pull request #1837 from myii/feat/add-support-and-update-ci-for-opensuse-leap-15.4
feat: add support and update CI for openSUSE Leap 15.4
This commit is contained in:
commit
efd1df20c9
2 changed files with 4 additions and 2 deletions
|
@ -6463,6 +6463,8 @@ __set_suse_pkg_repo() {
|
|||
# Set distro repo variable
|
||||
if [ "${DISTRO_MAJOR_VERSION}" -gt 2015 ]; then
|
||||
DISTRO_REPO="openSUSE_Tumbleweed"
|
||||
elif [ "${DISTRO_MAJOR_VERSION}" -eq 15 ] && [ "${DISTRO_MINOR_VERSION}" -ge 4 ]; then
|
||||
DISTRO_REPO="${DISTRO_MAJOR_VERSION}.${DISTRO_MINOR_VERSION}"
|
||||
elif [ "${DISTRO_MAJOR_VERSION}" -ge 42 ] || [ "${DISTRO_MAJOR_VERSION}" -eq 15 ]; then
|
||||
DISTRO_REPO="openSUSE_Leap_${DISTRO_MAJOR_VERSION}.${DISTRO_MINOR_VERSION}"
|
||||
else
|
||||
|
@ -6612,7 +6614,7 @@ install_opensuse_git_deps() {
|
|||
fi
|
||||
# Check for Tumbleweed
|
||||
elif [ "${DISTRO_MAJOR_VERSION}" -ge 20210101 ]; then
|
||||
__PACKAGES="python3-pip"
|
||||
__PACKAGES="python3-pip gcc-c++ python310-pyzmq-devel"
|
||||
else
|
||||
__PACKAGES="python-pip python-setuptools gcc"
|
||||
fi
|
||||
|
|
|
@ -81,7 +81,7 @@ platforms:
|
|||
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
||||
- name: opensuse-15
|
||||
driver:
|
||||
image: opensuse/leap:15.3
|
||||
image: opensuse/leap:15.4
|
||||
provision_command:
|
||||
- &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
|
||||
|
|
Loading…
Add table
Reference in a new issue