Skip to content

Commit

Permalink
Fix MySQL 8.0 tests with SLES 15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKurek committed Sep 23, 2024
1 parent e9e9589 commit 6b64960
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ platforms_to_skip:
# MySQL8.0 is not currently supported on various distros.
- debian-cloud:debian-12
- debian-cloud:debian-12-arm64
- suse-cloud:sles-15
- suse-cloud:sles-15-arm64
supported_app_version: ["5.7", "8.0", "8.4"]
expected_metrics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ else
if [[ "${SUSE_VERSION}" == 12 ]]; then
mysql_repo_pkg_name=mysql80-community-release-sles12.rpm
elif [[ "${SUSE_VERSION}" == 15 ]]; then
mysql_repo_pkg_name=mysql80-community-release-sl15.rpm
mysql_repo_pkg_name=mysql84-community-release-sl15.rpm
fi

# Installation followed in: https://dev.mysql.com/doc/mysql-sles-repo-quick-guide/en/
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
sudo zypper -n install https://dev.mysql.com/get/${mysql_repo_pkg_name}
if [[ "${SUSE_VERSION}" == 15 ]]; then
sudo zypper modifyrepo -d mysql-8.4-lts-community
sudo zypper modifyrepo -e mysql80-community
fi
sudo zypper -n install mysql-community-server
fi

Expand Down

0 comments on commit 6b64960

Please sign in to comment.