From a63c9d2138e57eee86eb8dd1f2e1b06d56b950d0 Mon Sep 17 00:00:00 2001 From: Richard Kettelerij Date: Sat, 6 Jan 2024 19:41:21 +0100 Subject: [PATCH] Switch smoketest from curl to GDAL for more in-depth testing --- examples/docker-compose-features-azure.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/docker-compose-features-azure.yaml b/examples/docker-compose-features-azure.yaml index d2c4d82f..fad1437d 100644 --- a/examples/docker-compose-features-azure.yaml +++ b/examples/docker-compose-features-azure.yaml @@ -53,8 +53,14 @@ services: retries: 30 smoketest: - image: alpine/curl + image: ghcr.io/osgeo/gdal:ubuntu-small-latest depends_on: gokoala: condition: service_healthy - command: "--fail-with-body -lsS http://gokoala:8080/collections/dutch-addresses/items?f=json&limit=2" + entrypoint: + - sh + - -c + - | + set -e + echo "test OGC API" + ogrinfo -so OAPIF:http://gokoala:8080 dutch-addresses