mirror of
https://github.com/netdata/netdata.git
synced 2025-03-18 06:43:02 +00:00
Add support for openSUSE 15.5 (#15189)
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
This commit is contained in:
parent
faa3783211
commit
899b8b142f
4 changed files with 11 additions and 4 deletions
.github
packaging
6
.github/data/distros.yml
vendored
6
.github/data/distros.yml
vendored
|
@ -177,6 +177,12 @@ include:
|
|||
- aarch64
|
||||
test:
|
||||
ebpf-core: true
|
||||
- <<: *opensuse
|
||||
version: "15.5"
|
||||
base_image: opensuse/leap:15.5
|
||||
packages:
|
||||
<<: *opensuse_packages
|
||||
repo_distro: opensuse/15.5
|
||||
|
||||
- &oracle
|
||||
distro: oraclelinux
|
||||
|
|
4
.github/scripts/pkg-test.sh
vendored
4
.github/scripts/pkg-test.sh
vendored
|
@ -82,10 +82,10 @@ install_suse_like() {
|
|||
|
||||
# Install Netdata
|
||||
# Strange quoting is required here so that glob matching works.
|
||||
zypper install -y --allow-unsigned-rpm /netdata/artifacts/netdata*.rpm || exit 1
|
||||
zypper install -y --allow-downgrade --allow-unsigned-rpm /netdata/artifacts/netdata*.rpm || exit 1
|
||||
|
||||
# Install testing tools
|
||||
zypper install -y --no-recommends curl netcat-openbsd jq || exit 1
|
||||
zypper install -y --allow-downgrade --no-recommends curl netcat-openbsd jq || exit 1
|
||||
}
|
||||
|
||||
dump_log() {
|
||||
|
|
|
@ -69,6 +69,7 @@ to work on these platforms with minimal user effort.
|
|||
| Fedora | 38 | x86\_64, AArch64 | |
|
||||
| Fedora | 37 | x86\_64, AArch64 | |
|
||||
| openSUSE | Leap 15.4 | x86\_64, AArch64 | |
|
||||
| openSUSE | Leap 15.5 | x86\_64, AArch64 | |
|
||||
| Oracle Linux | 9.x | x86\_64, AArch64 | |
|
||||
| Oracle Linux | 8.x | x86\_64, AArch64 | |
|
||||
| Red Hat Enterprise Linux | 9.x | x86\_64, AArch64 | |
|
||||
|
|
|
@ -1723,6 +1723,7 @@ install_zypper() {
|
|||
fi
|
||||
|
||||
local opts="--ignore-unknown"
|
||||
local install_opts="--allow-downgrade"
|
||||
if [ "${NON_INTERACTIVE}" -eq 1 ]; then
|
||||
echo >&2 "Running in non-interactive mode"
|
||||
# http://unix.stackexchange.com/questions/82016/how-to-use-zypper-in-bash-scripts-for-someone-coming-from-apt-get
|
||||
|
@ -1730,9 +1731,8 @@ install_zypper() {
|
|||
fi
|
||||
|
||||
read -r -a zypper_opts <<< "$opts"
|
||||
|
||||
# install the required packages
|
||||
run ${sudo} zypper "${zypper_opts[@]}" install "${@}"
|
||||
run ${sudo} zypper "${zypper_opts[@]}" install "${install_opts}" "${@}"
|
||||
}
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue