-
Notifications
You must be signed in to change notification settings - Fork 30
/
.gitlab-ci.yml
68 lines (55 loc) · 1.75 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#Copyright 2021 The MathWorks, Inc.
# defining the stages
stages:
- Child pipelines
# if the logs path is changed in startup.m (to store the generated logs during pipeline execution), then change it here as well
# as this path ensures that logs are stored as artifacts upto package stage and then HTML Summary report is generated using them
variables:
LOGS_PATH: "./Code"
ARTIFACTS_DOWNLOAD_PATH: "C:/Users/$GITLAB_USER_LOGIN/Downloads"
# Defining the child pipelines: each one for one of the model references
# These child pipelines are triggered only when there is a change to any files/folders mentioned in the 'rules' path of the jobs
driverSwRequest_pipeline:
stage: Child pipelines
trigger:
include: .driverSwRequest-gitlab-ci.yml
strategy: depend
rules:
- changes:
- Design/DriverSwRequest/**/*
- .driverSwRequest-gitlab-ci.yml
- .gitlab-ci.yml
- tools/**/*
cruiseControlMode_pipeline:
stage: Child pipelines
trigger:
include: .cruiseControlMode-gitlab-ci.yml
strategy: depend
rules:
- changes:
- Design/CruiseControlMode/**/*
- .cruiseControlMode-gitlab-ci.yml
- .gitlab-ci.yml
- tools/**/*
targetSpeedThrottle_pipeline:
stage: Child pipelines
trigger:
include: .targetSpeedThrottle-gitlab-ci.yml
strategy: depend
rules:
- changes:
- Design/TargetSpeedThrottle/**/*
- .targetSpeedThrottle-gitlab-ci.yml
- .gitlab-ci.yml
- tools/**/*
crs_controller_pipeline:
stage: Child pipelines
trigger:
include: .crs_controller-gitlab-ci.yml
strategy: depend
rules:
- changes:
- Design/crs_controller/**/*
- .crs_controller-gitlab-ci.yml
- .gitlab-ci.yml
- tools/**/*