-
Notifications
You must be signed in to change notification settings - Fork 0
84 lines (72 loc) · 1.89 KB
/
first-release.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: First Release 🌱
on:
push:
branches:
- 'first-release/*'
jobs:
env:
uses: devxp-tech/.github/.github/workflows/env.yaml@main
test:
uses: devxp-tech/.github/.github/workflows/test.yaml@main
quality-gate:
uses: devxp-tech/.github/.github/workflows/sonarqube.yaml@main
secrets: inherit
docs:
uses: devxp-tech/.github/.github/workflows/techdocs.yaml@main
secrets: inherit
with:
repository: ${{ needs.env.outputs.repository }}
needs:
- env
build-and-push:
uses: devxp-tech/.github/.github/workflows/build-and-push.yaml@main
with:
tag: ${{ needs.env.outputs.tag }}
needs:
- env
- test
- quality-gate
security-gateway:
uses: devxp-tech/.github/.github/workflows/trivy.yaml@main
with:
tag: ${{ needs.env.outputs.tag }}
needs:
- env
- build-and-push
release:
uses: devxp-tech/.github/.github/workflows/create-release.yaml@main
secrets: inherit
with:
tag: ${{ needs.env.outputs.tag }}
needs:
- env
- security-gateway
deploy:
uses: devxp-tech/.github/.github/workflows/deploy.yaml@main
secrets: inherit
with:
tag: ${{ needs.env.outputs.tag }}
repository: ${{ needs.env.outputs.repository }}
url: https://${{ needs.env.outputs.repository }}.devxp-tech.io
environment: development
needs:
- env
- security-gateway
- release
promote:
uses: devxp-tech/.github/.github/workflows/promote.yaml@main
secrets: inherit
with:
tag: ${{ needs.env.outputs.tag }}
repository: ${{ needs.env.outputs.repository }}
url: https://${{ needs.env.outputs.repository }}.devxp-tech.io
environment: production
needs:
- env
- deploy
notify:
uses: devxp-tech/.github/.github/workflows/notify.yaml@main
if: always()
secrets: inherit
needs:
- promote