-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
41 lines (35 loc) · 1023 Bytes
/
.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
include: .gitlab-ci/shared-pipeline-variables.yml
stages:
- build-and-test
- deploy
frontend-build-pipeline:
stage: build-and-test
trigger:
include: .gitlab-ci/frontend-build-pipeline.yml
strategy: depend
backend-build-pipeline:
stage: build-and-test
trigger:
include: .gitlab-ci/backend-build-pipeline.yml
strategy: depend
chart-build-pipeline:
stage: build-and-test
trigger:
include: .gitlab-ci/chart-build-pipeline.yml
strategy: depend
alerting-test-app-build-pipeline:
stage: build-and-test
rules:
- if: $CI_COMMIT_BRANCH == $MAIN_BRANCH_NAME && $CI_COMMIT_TAG == null
- if: $CI_COMMIT_TAG =~ $APP_VERSION_TAG_REGEX
trigger:
include: .gitlab-ci/alerting-test-app-build-pipeline.yml
strategy: depend
deployment-pipeline:
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == $MAIN_BRANCH_NAME && $CI_COMMIT_TAG == null
- if: $CI_COMMIT_TAG =~ $APP_VERSION_TAG_REGEX
trigger:
include: .gitlab-ci/deployment-pipeline.yml
strategy: depend