-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
81 lines (81 loc) · 1.42 KB
/
.gitlab-ci.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
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
include:
- project: iiidevops-templates/ci-template
ref: v2.5.5
file: ci/template.gitlab-ci.yml
- local: iiidevops/jobs/*.yml
stages:
- initial
- scan
- build
- deploy
- test
- jobs
Test--SonarQube source code scan:
variables:
iiidevops: sonarqube
CHART_TYPE: normal
only:
- master
Test--Anchore SBOM source code scan:
variables:
iiidevops: anchore-code
only:
- skip
Test--Checkmarx source code scan:
variables:
iiidevops: checkmarx
only:
- master
Build image:
variables:
iiidevops: deployed-environments
DOCKERFILE_PATH: Dockerfile
only:
- skip
Build--Scan docker image:
variables:
iiidevops: deployed-environments
only:
- skip
Deploy--Set environment and wait deployment:
variables:
iiidevops: deployed-environments
only:
- skip
Deploy--Web:
variables:
iiidevops: deployed-environments
CHART_WEB_PORT: 80
CHART_PROXY_BODY_SIZE: 1m
CHART_VOLUME_ENABLED: "false"
CHART_VOLUME_PATH: /usr/src
only:
- skip
Test--Anchore SBOM:
variables:
iiidevops: anchore
only:
- skip
Test--ZAP:
variables:
iiidevops: zap
CHART_WEB_PORT: 80
only:
- skip
Test--WebInspect:
variables:
iiidevops: webinspect
only:
- skip
Test--Postman:
variables:
iiidevops: postman
CHART_WEB_PORT: 80
only:
- skip
Test--Sideex:
variables:
iiidevops: sideex
CHART_WEB_PORT: 80
only:
- skip