forked from autowarefoundation/autoware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.webauto-ci.yaml
103 lines (99 loc) · 3.01 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
# 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
import_path: src
environment_variables:
AUTOWARE_PATH: /opt/autoware
DEBIAN_FRONTEND: noninteractive
LANG: C.UTF-8
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/**/*
base_container_image:
from: ubuntu:22.04
output_container_image:
from: autoware-build
workdir: /opt/autoware
user: autoware
simulations:
- 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"
release:
components:
- name: planning
deployment:
type: container
artifact: main
- name: perception
deployment:
type: container
artifact: main