Skip to content

Commit cbe5088

Browse files
authored
Fix Rolling agent (#701)
* Fix Rolling agent Signed-off-by: Pablo Garrido <pablogs9@gmail.com> * Remove Agent workflow --------- Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
1 parent d72e75e commit cbe5088

1 file changed

Lines changed: 50 additions & 49 deletions

File tree

.github/workflows/ci.yml

Lines changed: 50 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
path: src/micro_ros_setup
2525
ref: ${{ inputs.ci_target_ref }}
2626

27-
- uses: ros-tooling/setup-ros@0.7.0
27+
- uses: ros-tooling/setup-ros@0.7.7
2828
with:
2929
use-ros2-testing: false
3030
required-ros-distributions: ${{ env.ROS_DISTRO }}
@@ -51,53 +51,54 @@ jobs:
5151
name: micro_ros_build_${{ inputs.ci_target_ref }}
5252
path: install
5353

54-
micro_ros_agent:
55-
runs-on: ubuntu-latest
56-
container:
57-
image: ubuntu:jammy
58-
strategy:
59-
fail-fast: false
60-
needs: micro_ros_build
61-
62-
steps:
63-
- uses: actions/checkout@v4
64-
with:
65-
path: src/micro_ros_setup
66-
ref: ${{ inputs.ci_target_ref }}
67-
68-
- uses: ros-tooling/setup-ros@0.7.0
69-
with:
70-
use-ros2-testing: false
71-
required-ros-distributions: ${{ env.ROS_DISTRO }}
72-
73-
- name: dependencies
74-
run: |
75-
apt update
76-
apt install -y python3-pip
77-
pip3 install colcon-common-extensions
78-
apt install -y ros-${{ env.ROS_DISTRO }}-rmw-fastrtps-cpp
79-
rosdep update --rosdistro ${{ env.ROS_DISTRO }}
80-
rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y
81-
82-
- uses: actions/download-artifact@v1
83-
with:
84-
name: micro_ros_build_${{ inputs.ci_target_ref }}
85-
path: install
86-
87-
# Workaround https://github.com/actions/upload-artifact/issues/38
88-
- run: |
89-
chmod +x -R install
90-
91-
- name: build
92-
run: |
93-
. /opt/ros/${{ env.ROS_DISTRO }}/setup.sh
94-
. install/local_setup.sh
95-
ros2 run micro_ros_setup create_agent_ws.sh
96-
ros2 run micro_ros_setup build_agent.sh
97-
98-
- name: installation
99-
run: |
100-
(test -f install/micro_ros_agent/lib/micro_ros_agent/micro_ros_agent) && true || false
54+
# Skiped due to libfastcdr version 1 distributed en ROS 2 Rolling
55+
# micro_ros_agent:
56+
# runs-on: ubuntu-latest
57+
# container:
58+
# image: ubuntu:jammy
59+
# strategy:
60+
# fail-fast: false
61+
# needs: micro_ros_build
62+
63+
# steps:
64+
# - uses: actions/checkout@v4
65+
# with:
66+
# path: src/micro_ros_setup
67+
# ref: ${{ inputs.ci_target_ref }}
68+
69+
# - uses: ros-tooling/setup-ros@0.7.7
70+
# with:
71+
# use-ros2-testing: false
72+
# required-ros-distributions: ${{ env.ROS_DISTRO }}
73+
74+
# - name: dependencies
75+
# run: |
76+
# apt update
77+
# apt install -y python3-pip
78+
# pip3 install colcon-common-extensions
79+
# apt install -y ros-${{ env.ROS_DISTRO }}-rmw-fastrtps-cpp
80+
# rosdep update --rosdistro ${{ env.ROS_DISTRO }}
81+
# rosdep install --rosdistro ${{ env.ROS_DISTRO }} -y --from-paths src --ignore-src -y
82+
83+
# - uses: actions/download-artifact@v1
84+
# with:
85+
# name: micro_ros_build_${{ inputs.ci_target_ref }}
86+
# path: install
87+
88+
# # Workaround https://github.com/actions/upload-artifact/issues/38
89+
# - run: |
90+
# chmod +x -R install
91+
92+
# - name: build
93+
# run: |
94+
# . /opt/ros/${{ env.ROS_DISTRO }}/setup.sh
95+
# . install/local_setup.sh
96+
# ros2 run micro_ros_setup create_agent_ws.sh
97+
# ros2 run micro_ros_setup build_agent.sh
98+
99+
# - name: installation
100+
# run: |
101+
# (test -f install/micro_ros_agent/lib/micro_ros_agent/micro_ros_agent) && true || false
101102

102103
micro_ros_client:
103104
runs-on: ubuntu-latest
@@ -213,7 +214,7 @@ jobs:
213214
path: src/micro_ros_setup
214215
ref: ${{ inputs.ci_target_ref }}
215216

216-
- uses: ros-tooling/setup-ros@0.7.0
217+
- uses: ros-tooling/setup-ros@0.7.7
217218
with:
218219
use-ros2-testing: false
219220
required-ros-distributions: ${{ env.ROS_DISTRO }}

0 commit comments

Comments
 (0)