Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timetables api and tiamat health checks #23

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 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 @@ -247,6 +243,18 @@ runs:
"curl --fail http://localhost:3300/api/hastus/actuator/health --output
/dev/null --silent"

- name: Verify that timetables-api is up and running standalone
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
with:
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
Loading