diff --git a/.github/workflows/biotestmine.yml b/.github/workflows/biotestmine.yml index ff74e4c..453a438 100644 --- a/.github/workflows/biotestmine.yml +++ b/.github/workflows/biotestmine.yml @@ -46,6 +46,11 @@ jobs: # Wait 15 minutes wait-for-it localhost:9999 --timeout=900 + - name: Check webapp + run: | + set -eux -o pipefail + curl -I -L --retry 10 --fail --insecure "http://localhost:9999/biotestmine/" + - name: Dump Docker logs if: failure() run: | @@ -56,7 +61,3 @@ jobs: DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker compose -f local.docker-compose.yml logs postgres DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker compose -f local.docker-compose.yml logs solr DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker compose -f local.docker-compose.yml logs tomcat - - name: Check webapp - run: | - set -eux -o pipefail - curl -I -L --retry 10 --fail --insecure "http://localhost:9999/biotestmine/" diff --git a/.github/workflows/camchildmine.yml b/.github/workflows/camchildmine.yml index 1b4abfe..024cd67 100644 --- a/.github/workflows/camchildmine.yml +++ b/.github/workflows/camchildmine.yml @@ -51,6 +51,11 @@ jobs: # Wait 15 minutes wait-for-it localhost:9999 --timeout=900 + - name: Check webapp + run: | + set -eux -o pipefail + curl -I -L --retry 10 --fail --insecure "http://localhost:9999/camCHILDMine/" + - name: Dump Docker logs if: failure() run: | @@ -61,7 +66,3 @@ jobs: DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker compose -f local.docker-compose.yml logs postgres DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker compose -f local.docker-compose.yml logs solr DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker compose -f local.docker-compose.yml logs tomcat - - name: Check webapp - run: | - set -eux -o pipefail - curl -I -L --retry 10 --fail --insecure "http://localhost:9999/camCHILDMine/"