Skip to content

Commit

Permalink
tests(*): fix file name
Browse files Browse the repository at this point in the history
  • Loading branch information
locao committed Jun 21, 2024
1 parent ed32266 commit ed348d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/01-image.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ function run_test {
export COMPOSE_PROFILES=database
export KONG_DATABASE=postgres
pushd compose
curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d
curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker-compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d
until docker ps -f health=healthy | grep -q kong:1.5.0; do
curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker compose.yml | docker compose -p kong -f - ps
curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker-compose.yml | docker compose -p kong -f - ps
docker ps
sleep 15
curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d
curl -fsSL https://raw.githubusercontent.com/Kong/docker-kong/1.5.0/swarm/docker-compose.yml | KONG_DOCKER_TAG=kong:1.5.0 docker compose -p kong -f - up -d
done
curl -I localhost:8001 | grep 'Server: openresty'
sed -i -e 's/127.0.0.1://g' docker compose.yml
sed -i -e 's/127.0.0.1://g' docker-compose.yml

KONG_DOCKER_TAG=${KONG_DOCKER_TAG} docker compose -p kong up -d
until docker ps -f health=healthy | grep -q ${KONG_DOCKER_TAG}; do
Expand All @@ -120,7 +120,7 @@ function run_test {
sleep 5
docker volume prune -f
docker system prune -y
git checkout -- docker compose.yml
git checkout -- docker-compose.yml
popd

# Run Kong functional tests
Expand Down

0 comments on commit ed348d0

Please sign in to comment.