From 2e7fbbad6208a8f1fadd76aaa20e06e14bbd083d Mon Sep 17 00:00:00 2001 From: Colin Hutchinson Date: Mon, 7 Nov 2022 13:45:25 +0000 Subject: [PATCH] test(systemd): only test systemd using rhel 8 for now --- test/tests/01-package/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/01-package/run.sh b/test/tests/01-package/run.sh index 2c828fd6..65e72107 100644 --- a/test/tests/01-package/run.sh +++ b/test/tests/01-package/run.sh @@ -181,7 +181,7 @@ if [ "$SSL_PROVIDER" = "openssl" ]; then fi # TODO enable this test in other distros containing systemd -if [[ "$RESTY_IMAGE_BASE" == "rhel" ]] && [ -z "${DARWIN:-}" ]; then +if [[ "$RESTY_IMAGE_BASE" == "rhel" ]] && [[ "$RESTY_IMAGE_BASE" == "8" ]] && [ -z "${DARWIN:-}" ]; then cp $PACKAGE_LOCATION/*${KONG_ARCHITECTURE}.rpm kong.rpm docker run -d --rm --name=systemd --privileged --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v $PWD:/src redhat/ubi8-init docker exec ${USE_TTY} systemd /bin/bash -c "yum install -y /src/kong.rpm"