-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (39 loc) · 1.16 KB
/
health-check-infra.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Health check infra
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
workflow_call:
env:
AWS_REGION: eu-west-3
jobs:
check-sync-stack:
timeout-minutes: 300
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: hei-school/[email protected]
with:
secrets: ${{ toJSON(secrets) }}
region: ${{ env.AWS_REGION }}
- run: sh .shell/checkHealth.sh ${{ github.ref_name }} /health/db
check-async-stack:
timeout-minutes: 300
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: hei-school/[email protected]
with:
secrets: ${{ toJSON(secrets) }}
region: ${{ env.AWS_REGION }}
- run: sh .shell/checkHealth.sh ${{ github.ref_name }} /health/event
check-bucket:
timeout-minutes: 300
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: hei-school/[email protected]
with:
secrets: ${{ toJSON(secrets) }}
region: ${{ env.AWS_REGION }}
- run: sh .shell/checkHealth.sh ${{ github.ref_name }} /health/bucket