-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
54 lines (45 loc) · 1.22 KB
/
.gitlab-ci.yml
File metadata and controls
54 lines (45 loc) · 1.22 KB
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
workflow:
auto_cancel:
on_new_commit: interruptible
variables:
## CI Veriables
# IMAGE_REGISTRY: "$IMAGE_REGISTRY"
# GITOPS_REPO: "$GITOPS_REPO"
# GITOPS_BRANCH: "$GITOPS_BRANCH"
# GITLAB_OIDC_TOKEN: "$GITLAB_OIDC_TOKEN"
# GITLAB_USER_NAME: "$GITLAB_USER_NAME"
# GITLAB_USER_EMAIL: "$GITLAB_USER_EMAIL"
# GITOPS_ACCESS_TOKEN: "$GITOPS_ACCESS_TOKEN"
# AWS_ROLE_ARN: "$AWS_ROLE_ARN"
# AWS_DEFAULT_REGION: "$AWS_DEFAULT_REGION"
# SONAR_TOKEN: "$SONAR_TOKEN"
# Tools Versions
GO_VERSION: "1.25.6"
GOLANGCI_LINT_VERSION: "v1.64.8"
TRIVY_VERSION: "0.48.0"
# Config Settings
CI_DEBUG_TRACE: "false"
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_BUILDKIT: "1"
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"
GIT_DEPTH: "0"
# Local Variables
BACKEND_IMAGE: "${IMAGE_REGISTRY}/backend"
TRANSCODER_IMAGE: "${IMAGE_REGISTRY}/transcoder"
stages:
# - check
# - quality
- build
- container-scan
- update-manifests-dev
- update-manifests-stage
- update-manifests-prod
include:
- local: ci/templates.yml
# - local: ci/lint.yml
# - local: ci/test.yml
# - local: ci/quality.yml
- local: ci/build.yml
- local: ci/container-scan.yml
- local: ci/update-manifests.yml