Skip to content

Commit 17d01c4

Browse files
author
Joonas Hiltunen
committed
Change healthchecks to use https instead of http
1 parent 29458e8 commit 17d01c4

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/shared-run-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
steps:
156156
- name: Start e2e env
157157
id: start-e2e-env
158-
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v9
158+
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@use-https-cypress
159159
with:
160160
docker_compose_bundle_gha_artifact: "${{ inputs.docker_compose_bundle_gha_artifact }}"
161161
ui_version: "${{ inputs.ui_version }}"

github-actions/setup-e2e-environment/action.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ runs:
186186
- name: Verify that UI is up and running through proxy
187187
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
188188
with:
189-
command: "curl --fail http://localhost:3300 --output /dev/null --silent"
189+
command: "curl --fail https://localhost:3301 --output /dev/null --silent --insecure"
190190

191191
- name: Verify that postgresql is up and running
192192
id: verify_postgresql_started
@@ -242,8 +242,9 @@ runs:
242242
- name: Verify that hasura is up and running through proxy
243243
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
244244
with:
245-
command: "curl --fail http://localhost:3300/api/graphql/healthz --output
246-
/dev/null --silent"
245+
command:
246+
"curl --fail https://localhost:3301/api/graphql/healthz --output
247+
/dev/null --silent --insecure"
247248

248249
- name: Verify that auth backend is up and running standalone
249250
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
@@ -263,8 +264,8 @@ runs:
263264
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
264265
with:
265266
command:
266-
"curl --fail http://localhost:3300/api/auth/actuator/health --output
267-
/dev/null --silent"
267+
"curl --fail https://localhost:3301/api/auth/actuator/health --output
268+
/dev/null --silent --insecure"
268269

269270
- name: Verify that jore3 importer is up and running standalone
270271
if: ${{ inputs.start_jore3_importer == 'true' }}
@@ -289,8 +290,8 @@ runs:
289290
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
290291
with:
291292
command:
292-
"curl --fail http://localhost:3300/api/mbtiles/services --output
293-
/dev/null --silent"
293+
"curl --fail https://localhost:3301/api/mbtiles/services --output
294+
/dev/null --silent --insecure"
294295

295296
- name: Verify that hastus importer is up and running standalone
296297
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
@@ -303,8 +304,8 @@ runs:
303304
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
304305
with:
305306
command:
306-
"curl --fail http://localhost:3300/api/hastus/actuator/health --output
307-
/dev/null --silent"
307+
"curl --fail https://localhost:3301/api/hastus/actuator/health --output
308+
/dev/null --silent --insecure"
308309

309310
- name: Verify that timetables-api is up and running standalone
310311
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
@@ -328,8 +329,8 @@ runs:
328329
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
329330
with:
330331
command:
331-
"curl --fail http://localhost:3300/api/mapmatching/actuator/health
332-
--output /dev/null --silent"
332+
"curl --fail https://localhost:3301/api/mapmatching/actuator/health
333+
--output /dev/null --silent --insecure"
333334

334335
- name: Verify that tiamat is up and running standalone
335336
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1

0 commit comments

Comments
 (0)