-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
31 lines (30 loc) · 980 Bytes
/
.gitlab-ci.yml
File metadata and controls
31 lines (30 loc) · 980 Bytes
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
## All rules templates
# Keywords starting with a '.' are ignored and can thus be reused later
.mirror: &mirror
- if: ( $CI_MIRROR_TARGET != null || $CI_MIRROR_TARGET =~ /^./ )
when: always
.default: &default
- if: ( $CI_MIRROR_TARGET != null || $CI_MIRROR_TARGET =~ /^./ )
when: never
- if: '$CI_SERVER_HOST == "gitlab.dlr.de"'
.public: &public
- if: '$CI_SERVER_HOST != "gitlab.dlr.de"'
when: always
## All GitLab CI/CD templates
# Contains all reusable code snippets.
include:
## External predefined pipeline templates to reduce code duplication
# Push mirror to public repository w/o tags
- project: 'fa_sw/stmlab/PyXMake'
file: '/.gitlab/ci_templates/project-mirror-template.yml'
rules:
- *mirror
- local: '.gitlab/ci*/project-main-template.yml'
rules:
- *default
- local: '.gitlab/**/project-local-template.yml'
rules:
- *public
- local: '.gitlab/**/project-public-template.yml'
rules:
- *public