forked from konstellation-io/kre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
47 lines (40 loc) · 1020 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
42
43
44
45
46
47
stages:
- security
- test
- quality
- semantic-release
- build
- publish-image
- semantic-release-helm
variables:
# semantic-release uses GITLAB_TOKEN
# gitlab-release uses GITLAB_ACCESS_TOKEN
GITLAB_TOKEN: $GITLAB_ACCESS_TOKEN
GITLAB_ACCESS_TOKEN: $GITLAB_ACCESS_TOKEN
.sonar-scanner:
stage: quality
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
cache:
key: "${CI_JOB_NAME}"
paths:
- .sonar/cache
script:
- cd $COMPONENT_PATH
- sonar-scanner
include:
# Admin
- local: admin/admin-api/.gitlab-ci.yml
- local: admin/admin-ui/.gitlab-ci.yml
- local: admin/k8s-manager/.gitlab-ci.yml
# Runtime
- local: runtime/k8s-runtime-operator/.gitlab-ci.yml
- local: runtime/runtime-api/.gitlab-ci.yml
- local: runtime/mongo-writer/.gitlab-ci.yml
# Runners
- local: runners/kre-entrypoint/.gitlab-ci.yml
- local: runners/kre-py/.gitlab-ci.yml
- local: runners/kre-go/.gitlab-ci.yml
# Helm
- local: helm/.gitlab-ci.yml