Skip to content

Commit

Permalink
add protolink to the depends (#351)
Browse files Browse the repository at this point in the history
* add protolink to the depends

Signed-off-by: Masaya Kataoka <[email protected]>

* update action version

Signed-off-by: Masaya Kataoka <[email protected]>

* udpate python version

Signed-off-by: Masaya Kataoka <[email protected]>

* remove error step

Signed-off-by: Masaya Kataoka <[email protected]>

---------

Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 authored Sep 23, 2024
1 parent 374ce17 commit bab8171
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
ansible-playbook -i ansible/hosts/localhost.ini ansible/setup_dev_environment.yml --connection local --become -e ansible_user=ubuntu
- name: export repos file
run: vcs export --exact robotx_ws/src > robotx.repos
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: robotx.repos
path: robotx.repos
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: templates
path: ./workflow_templates/*.yaml
Expand Down Expand Up @@ -55,6 +55,7 @@ jobs:
playstation_controller_drivers,
point_painting,
prometheus_ros,
protolink,
quaternion_operation,
robotx_behavior_tree,
robotx_communication,
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/docker_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,38 +76,38 @@ jobs:
sudo apt install ansible
- name: Export repos file
run: ansible-playbook -i ansible/hosts/localhost.ini ansible/export_repos.yml --connection local -t ${{ matrix.module }} -t utility --become -e ansible_user=ubuntu
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: repos_file_${{ matrix.module }}
path: |
ansible/packages.repos
ansible/packages_exact.repos
wamv:
needs: export_wamv_repos
name: build and push wamvtan/wamv
runs-on: ubuntu-22.04
timeout-minutes: 360
strategy:
matrix:
module: ["perception", "control", "drivers", "localization", "planning"]
include:
- platform: "linux/arm64/v8"
base_image: docker.io/hakuturu583/cuda_ros:lt4-humble-cuda-12.2.2-devel
- platform: "linux/amd64"
base_image: docker.io/hakuturu583/cuda_ros:humble-cuda-12.2.0-devel
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/cleanup_runner
- uses: actions/download-artifact@v3
with:
name: repos_file_${{ matrix.module }}
path: ./.github/workflows/docker/wamv/repos
- run: ls ./.github/workflows/docker/wamv/repos
- run: cat ./.github/workflows/docker/wamv/repos/packages_exact.repos
- uses: ./.github/workflows/docker/wamv
with:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
module: ${{ matrix.module }}
platform: ${{ matrix.platform }}
base_image: ${{ matrix.base_image }}
# wamv:
# needs: export_wamv_repos
# name: build and push wamvtan/wamv
# runs-on: ubuntu-22.04
# timeout-minutes: 360
# strategy:
# matrix:
# module: ["perception", "control", "drivers", "localization", "planning"]
# include:
# - platform: "linux/arm64/v8"
# base_image: docker.io/hakuturu583/cuda_ros:lt4-humble-cuda-12.2.2-devel
# - platform: "linux/amd64"
# base_image: docker.io/hakuturu583/cuda_ros:humble-cuda-12.2.0-devel
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/workflows/actions/cleanup_runner
# - uses: actions/download-artifact@v3
# with:
# name: repos_file_${{ matrix.module }}
# path: ./.github/workflows/docker/wamv/repos
# - run: ls ./.github/workflows/docker/wamv/repos
# - run: cat ./.github/workflows/docker/wamv/repos/packages_exact.repos
# - uses: ./.github/workflows/docker/wamv
# with:
# docker_username: ${{ secrets.DOCKER_USERNAME }}
# docker_password: ${{ secrets.DOCKER_PASSWORD }}
# module: ${{ matrix.module }}
# platform: ${{ matrix.platform }}
# base_image: ${{ matrix.base_image }}
4 changes: 2 additions & 2 deletions .github/workflows/document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.10.14"
python-version: "3.10.15"
- name: Install
run: pip3 install mkdocs mkdocs-material fontawesome_markdown mkdocs-mermaid2-plugin pymdown-extensions plantuml-markdown python-markdown-math python-github-api mkdocs-github-dashboard pandas markdown==3.3.0
- name: Set env
run: echo "GITHUB_TOKEN=${{ secrets.WAMV_TAN_BOT_SECRET }}" >> $GITHUB_ENV
- name: Generate documentation
run: mkdocs build
working-directory: docs
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'pull_request'}}
with:
name: site
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_rosdep_yaml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
run: |
python3 generate_rosdep_yaml.py ../robotx_ws/src/
working-directory: scripts
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: rosdep_yaml
path: scripts/rosdep.yaml
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: repos_file
path: |
Expand Down
7 changes: 7 additions & 0 deletions ansible/roles/clone_packages/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@
version: master
accept_hostkey: yes
tags: [utility]
- name: clone protolink
git:
repo: https://github.com/OUXT-Polaris/protolink.git
dest: "{{workspace_path}}/src/drivers/protolink"
version: master
accept_hostkey: yes
tags: [utility]

# Description Packages
- name: clone wamv_description
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## dashboard

@github_dashboard(OUXT-Polaris/color_names,OUXT-Polaris/data_buffer,OUXT-Polaris/detic_onnx_ros2,OUXT-Polaris/geographic_conversion,OUXT-Polaris/geographic_info,OUXT-Polaris/grid_map_type_adapter,OUXT-Polaris/hermite_path_planner,OUXT-Polaris/image_processing_utils,OUXT-Polaris/joy_to_twist,OUXT-Polaris/lua_vendor,OUXT-Polaris/message_synchronizer,OUXT-Polaris/navi_sim,OUXT-Polaris/nmea_hardware_interface,OUXT-Polaris/nmea_to_geopose,OUXT-Polaris/odom_frame_publisher,OUXT-Polaris/ouxt_common,OUXT-Polaris/pcl_apps,OUXT-Polaris/pcl_type_adapter,OUXT-Polaris/perception_bringup,OUXT-Polaris/playstation_controller_drivers,OUXT-Polaris/point_painting,OUXT-Polaris/prometheus_ros,OUXT-Polaris/quaternion_operation,OUXT-Polaris/robotx_behavior_tree,OUXT-Polaris/robotx_communication,OUXT-Polaris/robotx_costmap_calculator,OUXT-Polaris/robotx_ekf,OUXT-Polaris/scan_segmentation,OUXT-Polaris/sol_vendor,OUXT-Polaris/tcp_sender,OUXT-Polaris/usv_controller,OUXT-Polaris/detic_onnx_ros2)
@github_dashboard(OUXT-Polaris/color_names,OUXT-Polaris/data_buffer,OUXT-Polaris/detic_onnx_ros2,OUXT-Polaris/geographic_conversion,OUXT-Polaris/geographic_info,OUXT-Polaris/grid_map_type_adapter,OUXT-Polaris/hermite_path_planner,OUXT-Polaris/image_processing_utils,OUXT-Polaris/joy_to_twist,OUXT-Polaris/lua_vendor,OUXT-Polaris/message_synchronizer,OUXT-Polaris/navi_sim,OUXT-Polaris/nmea_hardware_interface,OUXT-Polaris/nmea_to_geopose,OUXT-Polaris/odom_frame_publisher,OUXT-Polaris/ouxt_common,OUXT-Polaris/pcl_apps,OUXT-Polaris/pcl_type_adapter,OUXT-Polaris/perception_bringup,OUXT-Polaris/playstation_controller_drivers,OUXT-Polaris/point_painting,OUXT-Polaris/prometheus_ros,OUXT-Polaris/protolink,OUXT-Polaris/quaternion_operation,OUXT-Polaris/robotx_behavior_tree,OUXT-Polaris/robotx_communication,OUXT-Polaris/robotx_costmap_calculator,OUXT-Polaris/robotx_ekf,OUXT-Polaris/scan_segmentation,OUXT-Polaris/sol_vendor,OUXT-Polaris/tcp_sender,OUXT-Polaris/usv_controller,OUXT-Polaris/detic_onnx_ros2)

0 comments on commit bab8171

Please sign in to comment.