-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
34 lines (32 loc) · 1.07 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
workflow:
rules:
- if: '$CI_COMMIT_REF_NAME == "main"'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
stages:
- install
- check
- build
- test
- docker-build
- docker-scan
- docker-publish
- deploy
- release
include:
- local: /.gitlab/ci/setup-pnpm.gitlab-ci.yml
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
- template: Security/Container-Scanning.gitlab-ci.yml
- template: Security/Dependency-Scanning.gitlab-ci.yml
- local: /.gitlab/ci/install.gitlab-ci.yml
- local: /.gitlab/ci/check.gitlab-ci.yml
- local: /.gitlab/ci/build.gitlab-ci.yml
- local: /.gitlab/ci/test.gitlab-ci.yml
- local: /.gitlab/ci/docker-build-base.gitlab-ci.yml
- local: /.gitlab/ci/docker-build-api.gitlab-ci.yml
- local: /.gitlab/ci/docker-build-web.gitlab-ci.yml
- local: /.gitlab/ci/docker-scan.gitlab-ci.yml
- local: /.gitlab/ci/docker-publish.gitlab-ci.yml
- local: /.gitlab/ci/deploy.gitlab-ci.yml
- local: /.gitlab/ci/release.gitlab-ci.yml