-
Notifications
You must be signed in to change notification settings - Fork 35
/
gitlab-ci.yml
40 lines (37 loc) · 1.43 KB
/
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
# Run the standard pipeline (regression and upgrade tests on all supported
# implementations) on the default branch, tags, merge requests, and when
# triggered via the web interface.
Standard pipeline:
trigger:
include:
- local: gitlab-pipelines/standard-pipeline.yml
strategy: depend
rules:
- if: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_TAG
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CLDI_EVENT == null'
- if: $CI_PIPELINE_SOURCE == "web"
# This pipeline is triggered by the cl-docker-images project using a CI
# Trigger. It is run whenever a new image is released for an implementation
# release candidate or full release.
New image pipeline:
trigger:
include:
- local: gitlab-pipelines/new-implementation-version.yml
strategy: depend
variables:
l: $CLDI_IMAGE_NAME
IMAGE_TAG: $CLDI_IMAGE_TAG
LISP_VERSION: $CLDI_LISP_VERSION
rules:
- if: '$CI_PIPELINE_TRIGGERED && ($CLDI_EVENT == "new-rc" || $CLDI_EVENT == "new-version")'
# This job is also included when triggered by the cl-docker-images project. It
# exists only to have the trigger variables visible for debugging and
# traceability. This is needed because bridge jobs (such as above) do not have
# an individual job page that shows all the information.
Show cldi trigger info:
image: alpine
script:
- "true"
rules:
- if: '$CI_PIPELINE_TRIGGERED && ($CLDI_EVENT == "new-rc" || $CLDI_EVENT == "new-version")'