-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
48 lines (43 loc) · 1.23 KB
/
.gitlab-ci.yml
File metadata and controls
48 lines (43 loc) · 1.23 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
stages:
- prepare
- container
- container:boot
- test
workflow:
rules:
# do not run pipeline if release-tools pushes
- if: $CI_PIPELINE_SOURCE == "push" && $GITLAB_USER_LOGIN == "code0-release-tools"
when: never
# trigger a pipeline when triggered by api
- if: $CI_PIPELINE_SOURCE == "api"
# trigger a pipeline when triggered from upstream project
- if: $CI_PIPELINE_SOURCE == "pipeline"
# trigger a pipeline when triggerd manually
- if: $CI_PIPELINE_SOURCE == "web"
.default-retry:
retry:
max: 2
when:
- api_failure
- data_integrity_failure
- job_execution_timeout
- runner_system_failure
- scheduler_failure
- stuck_or_timeout_failure
- unknown_failure
.dind:
variables:
DOCKER_MIRROR: https://mirror.gcr.io
DOCKER_OPTIONS: "--registry-mirror ${DOCKER_MIRROR}"
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: /certs
services:
- name: docker:29.4.1-dind
alias: docker
entrypoint: [ "sh", "-c", "dockerd-entrypoint.sh $DOCKER_OPTIONS" ]
include:
- local: .gitlab/ci/*.gitlab-ci.yml
- project: code0-tech/development/telescopium
ref: build-branch
file: ci-template.gitlab-ci.yml