Skip to content

Commit

Permalink
Add tiamat to health check
Browse files Browse the repository at this point in the history
  • Loading branch information
culka committed Feb 12, 2024
1 parent 582ffb4 commit 6a277fc
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions github-actions/setup-e2e-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ description:
running."
inputs:
bundle_version:
description:
Version of the docker-compose bundle to use (= github release version)
description: Version of the docker-compose bundle to use (= github release version)
required: false
default: "e2e-docker-compose"
bundle_repo:
Expand Down Expand Up @@ -157,14 +156,12 @@ runs:
- name: Verify that hasura is up and running standalone
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
with:
command:
"curl --fail http://localhost:3201/healthz --output /dev/null --silent"
command: "curl --fail http://localhost:3201/healthz --output /dev/null --silent"

- name: Verify that hasura is up and running through proxy
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
with:
command:
"curl --fail http://localhost:3300/api/graphql/healthz --output
command: "curl --fail http://localhost:3300/api/graphql/healthz --output
/dev/null --silent"

- name: Verify that auth backend is up and running standalone
Expand All @@ -191,8 +188,7 @@ runs:
- name: Verify that mbtiles server is up and running standalone
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
with:
command:
"curl --fail http://localhost:3203/services --output /dev/null
command: "curl --fail http://localhost:3203/services --output /dev/null
--silent"

- name: Verify that mbtiles server is up and running through proxy
Expand Down Expand Up @@ -253,6 +249,12 @@ runs:
command: "curl --fail http://localhost:3009/actuator/health --output
/dev/null --silent"

- name: Verify that tiamat is up and running standalone
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
with:
command: "curl --fail http://localhost:3010/actuator/health --output
/dev/null --silent"

- name: Verify that all containers are healthy
run: '[ -z "$(docker ps -q --filter health=unhealthy)" ]'
shell: bash

0 comments on commit 6a277fc

Please sign in to comment.