Skip to content

Commit

Permalink
Merge pull request #283 from Kong/fix/systemd-test
Browse files Browse the repository at this point in the history
fix(systemd) pin the systemd ubuntu version
  • Loading branch information
hutchic authored May 28, 2020
2 parents 6bef046 + 7661405 commit 0701a93
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 @@ -21,7 +21,7 @@ docker run ${USE_TTY} --user=root --rm ${DOCKER_GO_BUILDER} /bin/sh -c "ls -la /
# TODO enable this test in other distros containing systemd
if [[ "$RESTY_IMAGE_TAG" == "bionic" ]]; then
cp $PACKAGE_LOCATION/*.deb kong.deb
docker run -d --rm --name systemd-ubuntu -e KONG_DATABASE=off --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $PWD:/src jrei/systemd-ubuntu
docker run -d --rm --name systemd-ubuntu -e KONG_DATABASE=off --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $PWD:/src jrei/systemd-ubuntu:18.04
docker exec ${USE_TTY} systemd-ubuntu /bin/bash -c "apt-get update"
docker exec ${USE_TTY} systemd-ubuntu /bin/bash -c "dpkg -i /src/kong.deb || true"
docker exec ${USE_TTY} systemd-ubuntu /bin/bash -c "apt-get install -f -y"
Expand Down

0 comments on commit 0701a93

Please sign in to comment.