summaryrefslogtreecommitdiffstats
path: root/.github/scripts
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-03-29 07:56:27 -0400
committerGitHub <noreply@github.com>2023-03-29 07:56:27 -0400
commit88809d369ac776803bd20f710de2561c31445af4 (patch)
tree63a113b8341b1d34d272e3a4b6536580484ec5d0 /.github/scripts
parente8ac84e4f2b75dd332e49b808b84bbdb81b9804b (diff)
Add Amazon Linux 2023 to CI, packaging, and platform support. (#14771)
* Add Amazon Linux 2023 to CI, packaging, and platform support. * Fix dependencies for AL2023 in RPM spec file. * Fix handling of package tests with DNF.
Diffstat (limited to '.github/scripts')
-rwxr-xr-x.github/scripts/pkg-test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/scripts/pkg-test.sh b/.github/scripts/pkg-test.sh
index 6e6e64f486..45b8c320b6 100755
--- a/.github/scripts/pkg-test.sh
+++ b/.github/scripts/pkg-test.sh
@@ -28,6 +28,10 @@ install_fedora_like() {
pkg_version="$(echo "${VERSION}" | tr - .)"
+ if [ "${PKGMGR}" = "dnf" ]; then
+ opts="--allowerasing"
+ fi
+
# Install Netdata
# Strange quoting is required here so that glob matching works.
"$PKGMGR" install -y /netdata/artifacts/netdata-"${pkg_version}"-*.rpm || exit 1
@@ -65,6 +69,10 @@ install_amazon_linux() {
pkg_version="$(echo "${VERSION}" | tr - .)"
+ if [ "${PKGMGR}" = "dnf" ]; then
+ opts="--allowerasing"
+ fi
+
# Install Netdata
# Strange quoting is required here so that glob matching works.
"$PKGMGR" install -y /netdata/artifacts/netdata-"${pkg_version}"-*.rpm || exit 1