-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (52 loc) · 1.17 KB
/
infrastructure.yaml
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
52
53
54
55
56
57
58
name: Infrastructure
on:
push:
release:
types:
- released
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
ci:
name: Continous Integration
secrets: inherit
strategy:
fail-fast: false
matrix:
environment: [AT21, AT22, AT23, AT24]
uses: ./.github/workflows/infrastructure-template.yaml
with:
environment: ${{ matrix.environment }}
at:
name: AT
secrets: inherit
needs: ci
if: github.event_name == 'release'
strategy:
fail-fast: false
matrix:
environment: [AT21, AT22, AT23, AT24]
uses: ./.github/workflows/infrastructure-template.yaml
with:
environment: ${{ matrix.environment }}
tf_should_apply: true
tt02:
name: TT02
if: github.event_name == 'release'
needs: at
secrets: inherit
uses: ./.github/workflows/infrastructure-template.yaml
with:
environment: TT02
tf_should_apply: true
prod:
name: PROD
if: github.event_name == 'release'
needs: tt02
secrets: inherit
uses: ./.github/workflows/infrastructure-template.yaml
with:
environment: PROD
tf_should_apply: true