Skip to content
Snippets Groups Projects
Verified Commit 009979c8 authored by David Hoese's avatar David Hoese
Browse files

Fix postgres based image test

parent d9a025da
No related branches found
No related tags found
No related merge requests found
Pipeline #19024 passed with stages
in 4 minutes and 1 second
......@@ -30,7 +30,7 @@ debug "Done killing docker container."
# Test with postgres settings provided
debug "Starting test docker container (${image_url}:${image_tag})..."
docker run --rm -d --name test -e POSTGRES_HOST=localhost POSTGRES_PASSWORD_FILE="/secrets/fake_file" -p 8888:80 ${image_url}:${image_tag} || exit_status=1
docker run --rm -d --name test -e POSTGRES_HOST=localhost -e POSTGRES_PASSWORD_FILE="/secrets/fake_file" -p 8888:80 ${image_url}:${image_tag} || exit_status=1
# just wait a bit to let the server start
sleep 2
debug "Container started. Starting curl basic request..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment