Skip to content

Commit

Permalink
test(systemd): only test systemd using rhel 8 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed Nov 7, 2022
1 parent 5121b93 commit 2e7fbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/01-package/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2e7fbba

Please sign in to comment.