File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ artifacts:
1111 type : custom
1212 runtime :
1313 type : standard1/amd64/large
14- source :
15- vcstool :
16- repositories_files :
17- - repositories/autoware.repos
18- - repositories/simulator.repos
19- import_path : src
2014 environment_variables :
2115 AUTOWARE_PATH : /opt/autoware
2216 DEBIAN_FRONTEND : noninteractive
@@ -37,6 +31,7 @@ artifacts:
3731 - .webauto-ci/main/environment-setup/**/*
3832 - name : autoware-setup
3933 user : autoware
34+ workdir : /opt/autoware
4035 exec : ./.webauto-ci/main/autoware-setup/run.sh
4136 caches :
4237 - name : apt-lists
@@ -53,6 +48,7 @@ artifacts:
5348 enabled : true
5449 - name : autoware-build
5550 user : autoware
51+ workdir : /opt/autoware
5652 exec : ./.webauto-ci/main/autoware-build/run.sh
5753 environment_variables :
5854 PARALLEL_WORKERS : " 32"
@@ -67,7 +63,8 @@ artifacts:
6763 build_result_reuse :
6864 key_files :
6965 - .webauto-ci/main/autoware-build/**/*
70- - src/**/*
66+ - src/autoware/**/*
67+ - src/simulator/**/*
7168 base_container_image :
7269 from : ubuntu:22.04
7370 output_container_image :
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22
3- : " ${WEBAUTO_CI_SOURCE_PATH:? is not set} "
43: " ${WEBAUTO_CI_DEBUG_BUILD:? is not set} "
54
6- : " ${AUTOWARE_PATH:? is not set} "
75: " ${CCACHE_DIR:= } "
86: " ${CCACHE_SIZE:= 1G} "
97: " ${PARALLEL_WORKERS:= 4} "
108
11- sudo mkdir " $AUTOWARE_PATH "
12- sudo chown " $( whoami) " : " $AUTOWARE_PATH "
13- cd " $WEBAUTO_CI_SOURCE_PATH "
14- cp -r src .webauto-ci.* " $AUTOWARE_PATH "
15- cd " $AUTOWARE_PATH "
16-
179if [ -n " $CCACHE_DIR " ]; then
1810 mkdir -p " $CCACHE_DIR "
1911 export USE_CCACHE=1
@@ -28,6 +20,8 @@ sudo pip3 install xmlschema==3.4.5
2820
2921sudo -E apt-get -y update
3022
23+ git submodule update --init --checkout src/autoware src/simulator
24+
3125# shellcheck disable=SC2012
3226ROS_DISTRO=$( ls -1 /opt/ros | head -1)
3327# shellcheck disable=SC1090
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22
3+ : " ${WEBAUTO_CI_SOURCE_PATH:? is not set} "
4+
5+ : " ${AUTOWARE_PATH:? is not set} "
6+
37apt-get update
48
59apt-get -y install sudo curl wget unzip gnupg lsb-release ccache python3-apt python3-pip apt-utils software-properties-common jq
@@ -12,3 +16,8 @@ useradd -m "$user" -s /bin/bash
1216echo " $user :$user " | chpasswd
1317echo " $user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
1418gpasswd -a " $user " sudo
19+
20+ mkdir -p " $AUTOWARE_PATH "
21+ chmod 755 " $AUTOWARE_PATH "
22+ cp -rfT " $WEBAUTO_CI_SOURCE_PATH " " $AUTOWARE_PATH "
23+ chown -R " $user " :" $user " " $AUTOWARE_PATH "
You can’t perform that action at this time.
0 commit comments