-
Notifications
You must be signed in to change notification settings - Fork 32
62 lines (53 loc) · 1.35 KB
/
hotfix.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
name: HotFix 🔥
on:
push:
branches:
- 'hotfix/**'
paths-ignore:
- README.md
- catalog-info.yaml
- 'docs/**'
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
code-scan:
uses: devxp-tech/.github/.github/workflows/synk-golang.yaml@main
secrets: inherit
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
- code-scan
security-gateway:
uses: devxp-tech/.github/.github/workflows/trivy.yaml@main
with:
tag: ${{ needs.env.outputs.tag }}
needs:
- env
- build-and-push
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
notify:
uses: devxp-tech/.github/.github/workflows/notify.yaml@main
if: always()
secrets: inherit
needs:
- deploy