Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(autoware.repos): fix autoware.universe and autoware_launch versions to 0.38.0 #5435

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/docker-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ inputs:
cache-tag-suffix:
description: Suffix of the target cache tag.
required: true
repos:
description: Target .repos file.
default: autoware.repos
required: true
build-args:
description: Additional build args.
required: false
Expand All @@ -28,7 +32,7 @@ runs:
- name: Run vcs import
run: |
mkdir src
vcs import src < autoware.repos
vcs import src < ${{ inputs.repos }}
shell: bash

- name: Cache ccache
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/health-check-nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: health-check-nightly

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
schedule:
- cron: 0 6 * * *
workflow_dispatch:

jobs:
label-check:
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
with:
label: tag:run-health-check

load-env:
needs: label-check
if: ${{ needs.label-check.outputs.result == 'true' ||
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/load-env.yaml

docker-build-nightly:
needs: load-env
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Free disk space
uses: ./.github/actions/free-disk-space

- name: Build 'Autoware'
uses: ./.github/actions/docker-build
with:
platform: amd64
cache-tag-suffix: nightly
repos: autoware-nightly.repos
build-args: |
ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
LIB_DIR=x86_64

- name: Show disk space
if: always()
run: |
df -h
140 changes: 140 additions & 0 deletions autoware-nightly.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
repositories:
# core
core/autoware_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_msgs.git
version: main
core/autoware_adapi_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_adapi_msgs.git
version: main
core/autoware_internal_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_internal_msgs.git
version: main
# TODO(youtalk): Remove autoware_common when https://github.com/autowarefoundation/autoware/issues/4911 is closed
core/autoware_common:
type: git
url: https://github.com/autowarefoundation/autoware_common.git
version: remove-autoware-cmake-utils
core/autoware_cmake:
type: git
url: https://github.com/autowarefoundation/autoware_cmake.git
version: main
core/autoware_utils:
type: git
url: https://github.com/autowarefoundation/autoware_utils.git
version: main
core/autoware_lanelet2_extension:
type: git
url: https://github.com/autowarefoundation/autoware_lanelet2_extension.git
version: main
core/autoware.core:
type: git
url: https://github.com/autowarefoundation/autoware.core.git
version: main
# universe
universe/autoware.universe:
type: git
url: https://github.com/autowarefoundation/autoware.universe.git
version: main
universe/external/tier4_ad_api_adaptor: # TODO(TIER IV): Migrate to AD API
type: git
url: https://github.com/tier4/tier4_ad_api_adaptor.git
version: tier4/universe
universe/external/tier4_autoware_msgs:
type: git
url: https://github.com/tier4/tier4_autoware_msgs.git
version: tier4/universe
# Fix the version not to merge https://github.com/MORAI-Autonomous/MORAI-ROS2_morai_msgs/pull/9
universe/external/morai_msgs:
type: git
url: https://github.com/MORAI-Autonomous/MORAI-ROS2_morai_msgs.git
version: e2e75fc1603a9798773e467a679edf68b448e705
universe/external/muSSP:
type: git
url: https://github.com/tier4/muSSP.git
version: tier4/main
universe/external/pointcloud_to_laserscan:
type: git
url: https://github.com/tier4/pointcloud_to_laserscan.git
version: tier4/main
universe/external/eagleye:
type: git
url: https://github.com/MapIV/eagleye.git
version: autoware-main
universe/external/rtklib_ros_bridge:
type: git
url: https://github.com/MapIV/rtklib_ros_bridge.git
version: ros2-v0.1.0
universe/external/llh_converter:
type: git
url: https://github.com/MapIV/llh_converter.git
version: ros2
universe/external/glog: # TODO(Horibe): to use isGoogleInitialized() API in v0.6.0. Remove when the rosdep glog version is updated to v0.6.0 (already updated in Ubuntu 24.04)
type: git
url: https://github.com/tier4/glog.git
version: v0.6.0_t4-ros
# launcher
launcher/autoware_launch:
type: git
url: https://github.com/autowarefoundation/autoware_launch.git
version: main
# sensor_component
sensor_component/external/sensor_component_description:
type: git
url: https://github.com/tier4/sensor_component_description.git
version: main
sensor_component/external/tamagawa_imu_driver:
type: git
url: https://github.com/tier4/tamagawa_imu_driver.git
version: ros2
sensor_component/external/nebula:
type: git
url: https://github.com/tier4/nebula.git
version: main
# Fork of transport_drivers that enables reduction of copy operations
sensor_component/transport_drivers:
type: git
url: https://github.com/autowarefoundation/transport_drivers
version: main
# Continental compatible version of ROS 2 socket CAN
sensor_component/ros2_socketcan:
type: git
url: https://github.com/autowarefoundation/ros2_socketcan
version: main
# sensor_kit
sensor_kit/sample_sensor_kit_launch:
type: git
url: https://github.com/autowarefoundation/sample_sensor_kit_launch.git
version: main
sensor_kit/external/awsim_sensor_kit_launch: # TODO: Integrate into sample_sensor_kit_launch
type: git
url: https://github.com/tier4/awsim_sensor_kit_launch.git
version: main
sensor_kit/awsim_labs_sensor_kit_launch:
type: git
url: https://github.com/autowarefoundation/awsim_labs_sensor_kit_launch.git
version: main
sensor_kit/single_lidar_sensor_kit_launch:
type: git
url: https://github.com/autowarefoundation/single_lidar_sensor_kit_launch.git
version: main
# vehicle
vehicle/sample_vehicle_launch:
type: git
url: https://github.com/autowarefoundation/sample_vehicle_launch.git
version: main
vehicle/awsim_labs_vehicle_launch:
type: git
url: https://github.com/autowarefoundation/awsim_labs_vehicle_launch.git
version: main
vehicle/external/pacmod_interface:
type: git
url: https://github.com/tier4/pacmod_interface.git
version: main
# param
param/autoware_individual_params:
type: git
url: https://github.com/autowarefoundation/autoware_individual_params.git
version: main
10 changes: 7 additions & 3 deletions autoware.repos
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ repositories:
universe/autoware.universe:
type: git
url: https://github.com/autowarefoundation/autoware.universe.git
version: main
version: 0.38.0
universe/external/tier4_ad_api_adaptor: # TODO(TIER IV): Migrate to AD API
type: git
url: https://github.com/tier4/tier4_ad_api_adaptor.git
version: tier4/universe
version: 3de19bc5b554d4cecef2240da3c33434379ccb54
universe/external/tier4_autoware_msgs:
type: git
url: https://github.com/tier4/tier4_autoware_msgs.git
Expand All @@ -55,6 +55,10 @@ repositories:
type: git
url: https://github.com/tier4/muSSP.git
version: tier4/main
universe/external/ndt_omp:
type: git
url: https://github.com/tier4/ndt_omp.git
version: tier4/main
universe/external/pointcloud_to_laserscan:
type: git
url: https://github.com/tier4/pointcloud_to_laserscan.git
Expand All @@ -79,7 +83,7 @@ repositories:
launcher/autoware_launch:
type: git
url: https://github.com/autowarefoundation/autoware_launch.git
version: main
version: 0.38.0
# sensor_component
sensor_component/external/sensor_component_description:
type: git
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG BASE_IMAGE

# hadolint ignore=DL3006
FROM $BASE_IMAGE AS base

Check warning on line 4 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / docker-build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BASE_IMAGE results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG ROS_DISTRO

Expand Down Expand Up @@ -48,7 +48,7 @@
&& apt-get autoremove -y && rm -rf "$HOME"/.cache

# hadolint ignore=DL3006
FROM $BASE_IMAGE AS rosdep-depend

Check warning on line 51 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / docker-build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BASE_IMAGE results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG ROS_DISTRO

Expand Down Expand Up @@ -274,7 +274,7 @@
--mount=type=bind,from=rosdep-universe-sensing-perception-depend,source=/autoware/src/universe/autoware.universe/perception/autoware_tensorrt_yolox,target=/autoware/src/universe/autoware.universe/perception/autoware_tensorrt_yolox \
--mount=type=bind,from=rosdep-universe-sensing-perception-depend,source=/autoware/src/universe/autoware.universe/perception/autoware_traffic_light_classifier,target=/autoware/src/universe/autoware.universe/perception/autoware_traffic_light_classifier \
--mount=type=bind,from=rosdep-universe-sensing-perception-depend,source=/autoware/src/universe/autoware.universe/perception/autoware_traffic_light_fine_detector,target=/autoware/src/universe/autoware.universe/perception/autoware_traffic_light_fine_detector \
--mount=type=bind,from=rosdep-universe-sensing-perception-depend,source=/autoware/src/universe/autoware.universe/sensing/autoware_cuda_utils,target=/autoware/src/universe/autoware.universe/sensing/autoware_cuda_utils \
--mount=type=bind,from=rosdep-universe-sensing-perception-depend,source=/autoware/src/universe/autoware.universe/sensing/cuda_utils,target=/autoware/src/universe/autoware.universe/sensing/cuda_utils \
source /opt/ros/"$ROS_DISTRO"/setup.bash \
&& source /opt/autoware/setup.bash \
&& /autoware/build_and_clean.sh ${CCACHE_DIR} /opt/autoware
Expand Down
Loading