Skip to content

Commit af0402a

Browse files
authored
feat(ci): add stack health check (#242)
* feat(ci): add stack health check * fix(ci/stack-healthcheck): paths trailing slash * fix(ci/stack-healthcheck): allow exit * fix(ci/stack-healthcheck): stack not shutdown * chore(ci/stack-healthcheck): update naming
1 parent 5d7f316 commit af0402a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: stack-healthcheck
2+
3+
on:
4+
# Runs on pull requests
5+
pull_request:
6+
7+
jobs:
8+
dispatch:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check dispatch-service stack
12+
uses: it-at-m/lhm_actions/action-templates/actions/action-dockercompose-healthcheck@a7d25dbabec2057695f865169fdc411d475d4667 # v1.0.19
13+
with:
14+
skip-exited: true # required for init containers
15+
compose-file-path: "./dispatch-service/stack/"
16+
17+
matching:
18+
needs: []
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Check matching-service stack
22+
uses: it-at-m/lhm_actions/action-templates/actions/action-dockercompose-healthcheck@a7d25dbabec2057695f865169fdc411d475d4667 # v1.0.19
23+
with:
24+
skip-exited: true # required for init containers
25+
compose-file-path: "./matching-service/stack/"

0 commit comments

Comments
 (0)