-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update repos filename Signed-off-by: Masaya Kataoka <[email protected]> * add upload artifact step Signed-off-by: Masaya Kataoka <[email protected]> * enable build docker image for wamv Signed-off-by: Masaya Kataoka <[email protected]> * add ansible step Signed-off-by: Masaya Kataoka <[email protected]> * update Dockerfile Signed-off-by: Masaya Kataoka <[email protected]> * specify platform Signed-off-by: Masaya Kataoka <[email protected]> * add move repos file step Signed-off-by: Masaya Kataoka <[email protected]> * modify tag Signed-off-by: Masaya Kataoka <[email protected]> * update Dockerfile Signed-off-by: Masaya Kataoka <[email protected]> * update description Signed-off-by: Masaya Kataoka <[email protected]> * update needs tag Signed-off-by: Masaya Kataoka <[email protected]> * use v3 Signed-off-by: Masaya Kataoka <[email protected]> * modify step order Signed-off-by: Masaya Kataoka <[email protected]> * add debug step Signed-off-by: Masaya Kataoka <[email protected]> * rename tag Signed-off-by: Masaya Kataoka <[email protected]> * udpate Dockerfile Signed-off-by: Masaya Kataoka <[email protected]> * update Dockerfile Signed-off-by: Masaya Kataoka <[email protected]> * update pcl_type_adapter directory Signed-off-by: Masaya Kataoka <[email protected]> * update Dockerfile Signed-off-by: Masaya Kataoka <[email protected]> * move tcp_sender to the utility package Signed-off-by: Masaya Kataoka <[email protected]> * remove - uses: actions/checkout@v2 Signed-off-by: Masaya Kataoka <[email protected]> * use checkout v4 Signed-off-by: Masaya Kataoka <[email protected]> * remove unused files Signed-off-by: Masaya Kataoka <[email protected]> * empty commit Signed-off-by: Masaya Kataoka <[email protected]> * add python3-pip install line Signed-off-by: Masaya Kataoka <[email protected]> * add -DBUILD_TESTING=OFF option Signed-off-by: Masaya Kataoka <[email protected]> * change entrypoint path Signed-off-by: Masaya Kataoka <[email protected]> * remove vision_opencv package Signed-off-by: Masaya Kataoka <[email protected]> --------- Signed-off-by: Masaya Kataoka <[email protected]>
- Loading branch information
1 parent
26390f8
commit 55e0d12
Showing
21 changed files
with
203 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
repos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM docker.io/hakuturu583/cuda_ros:lt4-humble-cuda-12.2.2-devel | ||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
python3-vcstool git python3-colcon-common-extensions python3-rosdep python3-pip \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /wamv_ws/src | ||
WORKDIR /wamv_ws/src | ||
COPY ./repos/packages_exact.repos packages_exact.repos | ||
RUN vcs import . < packages_exact.repos | ||
WORKDIR ../ | ||
ENV USE_NCCL 0 | ||
ENV USE_DISTRIBUTED 1 | ||
ENV TORCH_CUDA_ARCH_LIST 8.7 | ||
RUN rosdep init && rosdep update | ||
|
||
RUN --mount=type=cache,target=/wamv_ws/build source /opt/ros/$ROS_DISTRO/setup.bash && \ | ||
apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
rosdep install -iry --from-paths src && \ | ||
apt-get clean &&\ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN source /opt/ros/$ROS_DISTRO/setup.bash && \ | ||
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF | ||
|
||
ADD entrypoint.sh / | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: "Build WAM-V image action" | ||
description: "Build WAM-V docker images" | ||
|
||
inputs: | ||
docker_username: | ||
description: "Username for Dockerhub" | ||
required: true | ||
docker_password: | ||
description: "Password for Dockerhub" | ||
required: true | ||
module: | ||
description: "Software module" | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} | ||
- name: Build and Push Docker Image | ||
if: ${{ github.event_name != 'pull_request'}} | ||
uses: docker/build-push-action@v2 | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} | ||
context: ./.github/workflows/docker/wamv | ||
file: ./.github/workflows/docker/wamv/Dockerfile | ||
tags: wamvtan/wamv_${{ inputs.module }}:latest | ||
no-cache: false | ||
cache-from: type=registry,ref=wamvtan/wamv_${{ inputs.module }}:buildcache | ||
cache-to: type=registry,ref=wamvtan/wamv_${{ inputs.module }}:buildcache,mode=max | ||
push: true | ||
platforms: linux/arm64/v8 | ||
- name: Build Docker Image | ||
if: ${{ github.event_name == 'pull_request'}} | ||
uses: docker/build-push-action@v2 | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} | ||
context: ./.github/workflows/docker/wamv | ||
file: ./.github/workflows/docker/wamv/Dockerfile | ||
tags: wamvtan/wamv_${{ inputs.module }}:latest | ||
no-cache: false | ||
cache-from: type=registry,ref=wamvtan/wamv_${{ inputs.module }}:buildcache | ||
push: false | ||
platforms: linux/arm64/v8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
source "/opt/ros/humble/setup.bash" | ||
source /wamv_ws/install/setup.sh | ||
|
||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- name: Export repos file of development workspace | ||
hosts: all | ||
roles: | ||
- role: ros2 | ||
tags: always | ||
- role: create_workspace | ||
tags: always | ||
- role: clone_packages | ||
- role: export_repos | ||
tags: always |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.