forked from autowarefoundation/autoware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.webauto-ci.yaml
165 lines (159 loc) · 5.3 KB
/
.webauto-ci.yaml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# The configuration file for Web.Auto CI/CD tool.
# https://docs.web.auto/user-manuals/evaluator/configuration/reference/introduction
version: 2
artifacts:
- name: main
metadata:
play-ondemand.ci.web.auto/buildspec: Autoware-Humble_v0.29.0
build:
type: custom
runtime:
type: standard1/amd64/large
source:
vcstool:
repositories_files:
- autoware.repos
- simulator.repos
- tools.repos
import_path: src
environment_variables:
AUTOWARE_PATH: /home/autoware/pilot-auto
ML_MODELS_PATH: /opt/autoware/mlmodels
DEBIAN_FRONTEND: noninteractive
LANG: C.UTF-8
developer_options:
- name: webauto:ci:caret_enabled
environment_variables:
WEBAUTO_CI_BUILD_OPTION_CARET_ENABLED: ENABLED
linux_parameters:
kernel_version: 5.15.0-72-generic
phases:
- name: environment-setup
user: root
exec: ./.webauto-ci/main/environment-setup/run.sh
caches:
- name: apt-lists
mountpoint: /var/lib/apt/lists
- name: apt-archives
mountpoint: /var/cache/apt/archives
build_result_reuse:
key_files:
- .webauto-ci/main/environment-setup/**/*
- name: autoware-setup
user: autoware
exec: ./.webauto-ci/main/autoware-setup/run.sh
caches:
- name: apt-lists
mountpoint: /var/lib/apt/lists
- name: apt-archives
mountpoint: /var/cache/apt/archives
build_result_reuse:
key_files:
- .webauto-ci/main/autoware-setup/**/*
- ansible/**/*
- ansible-galaxy-requirements.yaml
- amd64.env
incremental_build:
enabled: true
- name: autoware-build
user: autoware
exec: ./.webauto-ci/main/autoware-build/run.sh
environment_variables:
PARALLEL_WORKERS: "32"
CCACHE_DIR: /tmp/build/cache/ccache
caches:
- name: apt-lists
mountpoint: /var/lib/apt/lists
- name: apt-archives
mountpoint: /var/cache/apt/archives
- name: ccache
mountpoint: /tmp/build/cache/ccache
build_result_reuse:
key_files:
- .webauto-ci/main/autoware-build/**/*
- src/**/*
- "!src/ecu_system_setup/**"
incremental_build:
enabled: true
- name: ecu-system-setup
user: autoware
exec: ./.webauto-ci/main/ecu-system-setup/run.sh
environment_variables:
ECU_SYSTEM_SETUP_SOURCE_PATH: ansible
ECU_SYSTEM_SETUP_ANSIBLE_PLAYBOOK: ansible/playbooks/ecu_setup.yaml
caches:
- name: apt-lists
mountpoint: /var/lib/apt/lists
- name: apt-archives
mountpoint: /var/cache/apt/archives
build_result_reuse:
key_files:
- .webauto-ci/main/ecu-system-setup/**/*
- src/ecu_system_setup/**/*
- ansible/**/*
- ansible-galaxy-requirements.yaml
base_container_image:
from: ubuntu:22.04
# from: ghcr.io/tier4/pilot-auto/base-image:latest # use base image
output_container_image:
from: autoware-build
workdir: /home/autoware/pilot-auto
user: autoware
output_rootfs_image:
from: ecu-system-setup
persistent_file_path: /home/autoware/pilot-auto/.webauto-ci/main/ecu-system-setup/persistents.txt
output_installer_image:
from: ecu-system-setup
type: iso
base_iso: ubuntu-20.04.3-live-server-amd64
simulations:
- name: perception
type: perception
simulator:
deployment:
type: container
artifact: main
runtime:
type: gpu1/amd64/large
pre_tasks:
- exec: source /home/autoware/autoware.proj/install/setup.bash && ros2 launch lidar_centerpointlidar_centerpoint.launch.xml model_name:=centerpoint_tiny model_path:=/home/autoware/autoware_data/lidar_centerpoint model_param_path:=$(ros2 pkg prefixlidar_centerpoint --share)/config/centerpoint_tiny.param.yaml build_only:=true
mounts:
- volume: model
volumes:
- name: model
path: /home/autoware/autoware_data/lidar_centerpoint
preserve_original_files: true
- name: lexus_planning_sim
type: planning_sim_v2
simulator:
deployment:
type: container
artifact: main
runtime:
type: standard1/amd64/medium
parameters:
launch_autoware: "true"
autoware_launch_package: autoware_launch
autoware_launch_file: planning_simulator.launch.xml
architecture_type: awf/universe/20230906
vehicle_model: sample_vehicle
sensor_model: sample_sensor_kit
initialize_duration: "90"
- name: localization
type: localization
simulator:
deployment:
type: container
artifact: main
runtime:
type: standard1/amd64/large
release:
components:
- name: planning
deployment:
type: container
artifact: main
- name: perception
deployment:
type: container
artifact: main