Skip to content

Commit d452905

Browse files
committed
default to jazzy
1 parent 5fb3e72 commit d452905

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

.github/workflows/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG ROS_DISTRO=humble
1+
ARG ROS_DISTRO=jazzy
22

33
FROM osrf/ros:${ROS_DISTRO}-desktop-full
44
SHELL ["/bin/bash", "-xo", "pipefail", "-c"]

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Analyze (${{ matrix.language }})
1414
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
1515
container:
16-
image: osrf/ros:humble-desktop-full
16+
image: osrf/ros:jazzy-desktop-full
1717
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
1818
permissions:
1919
# required for all workflows
@@ -47,12 +47,12 @@ jobs:
4747
- if: matrix.build-mode == 'manual'
4848
shell: bash
4949
run: |
50-
source /opt/ros/humble/setup.bash
50+
source /opt/ros/jazzy/setup.bash
5151
colcon build --packages-up-to scenario_execution_interfaces
5252
source install/setup.bash
5353
apt update
54-
rosdep update --rosdistro=humble
55-
rosdep install --rosdistro=humble --from-paths scenario_execution_rviz --ignore-src -r -y;
54+
rosdep update --rosdistro=jazzy
55+
rosdep install --rosdistro=jazzy --from-paths scenario_execution_rviz --ignore-src -r -y;
5656
mkdir build_rviz
5757
cd build_rviz
5858
cmake ../scenario_execution_rviz

.github/workflows/image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
push: true
4848
tags: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref || steps.extract_branch.outputs.branch }}
4949
build-args: |
50-
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'humble' || github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}
50+
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'jazzy' || github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}
5151
test-devcontainer:
5252
runs-on: ubuntu-latest
5353
permissions:
@@ -68,4 +68,4 @@ jobs:
6868
file: .devcontainer/Dockerfile
6969
push: false
7070
build-args: |
71-
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'humble' || github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}
71+
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'jazzy' || github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}

.github/workflows/test_build.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Build
2626
shell: bash
2727
run: |
28-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
28+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
2929
git clone https://github.com/ros-navigation/nav2_minimal_turtlebot_simulation.git
3030
cd nav2_minimal_turtlebot_simulation
3131
git checkout f4eefd049359b3f0becabd7a0870005f4140ec08
@@ -55,7 +55,7 @@ jobs:
5555
- name: Test
5656
shell: bash
5757
run: |
58-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
58+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
5959
source install/setup.bash
6060
export -n CYCLONEDDS_URI
6161
export ROS_DOMAIN_ID=2
@@ -92,7 +92,7 @@ jobs:
9292
- name: Test
9393
shell: bash
9494
run: |
95-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
95+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
9696
source install/setup.bash
9797
export -n CYCLONEDDS_URI
9898
export ROS_DOMAIN_ID=2
@@ -127,7 +127,7 @@ jobs:
127127
- name: Test Scenario Files
128128
shell: bash
129129
run: |
130-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
130+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
131131
source install/setup.bash
132132
find . -name "*.osc" | grep -Ev "lib_osc/*|examples/example_scenario_variation|scenario_execution_coverage|fail*|install|build" | while read -r file; do
133133
echo "$file";
@@ -150,7 +150,7 @@ jobs:
150150
- name: Test Example Scenario
151151
shell: bash
152152
run: |
153-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
153+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
154154
source install/setup.bash
155155
#shellcheck disable=SC1083
156156
scenario_batch_execution -i examples/example_scenario/ -o test_example_scenario --ignore-process-return-value -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
@@ -177,7 +177,7 @@ jobs:
177177
- name: Test Example Library
178178
shell: bash
179179
run: |
180-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
180+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
181181
source install/setup.bash
182182
# shellcheck disable=SC1083
183183
scenario_batch_execution -i examples/example_library/scenarios -o test_example_library --ignore-process-return-value -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
@@ -204,7 +204,7 @@ jobs:
204204
- name: Test Example Variation
205205
shell: bash
206206
run: |
207-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
207+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
208208
source install/setup.bash
209209
scenario_variation -o scenario_variation_out examples/example_scenario_variation/example_scenario_variation.osc
210210
# shellcheck disable=SC1083
@@ -232,7 +232,7 @@ jobs:
232232
- name: Test Example Nav2
233233
shell: bash
234234
run: |
235-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
235+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
236236
source install/setup.bash
237237
Xvfb :1 -screen 0 800x600x16 &
238238
export DISPLAY=:1.0
@@ -265,7 +265,7 @@ jobs:
265265
- name: Test Example Simulation
266266
shell: bash
267267
run: |
268-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
268+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
269269
source install/setup.bash
270270
Xvfb :1 -screen 0 800x600x16 &
271271
export DISPLAY=:1.0
@@ -298,7 +298,7 @@ jobs:
298298
- name: Test Example Multirobot
299299
shell: bash
300300
run: |
301-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
301+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
302302
source install/setup.bash
303303
Xvfb :1 -screen 0 800x600x16 &
304304
export DISPLAY=:1.0
@@ -318,7 +318,7 @@ jobs:
318318
if: always()
319319
shell: bash
320320
run: |
321-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
321+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
322322
source /rosbag2_to_video/install/setup.bash
323323
ros2 bag to_video -t /static_camera/image_raw -o test_example_multirobot/example_multi_robot/example-multi-robot.mp4 test_example_multirobot/example_multi_robot/rosbag2_* --fps 5 --codec mp4v
324324
- name: Upload video
@@ -350,7 +350,7 @@ jobs:
350350
- name: Test Example External Method
351351
shell: bash
352352
run: |
353-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
353+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
354354
source install/setup.bash
355355
export -n CYCLONEDDS_URI
356356
export ROS_DOMAIN_ID=2
@@ -379,7 +379,7 @@ jobs:
379379
- name: Test Example Moveit2
380380
shell: bash
381381
run: |
382-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
382+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
383383
source install/setup.bash
384384
Xvfb :1 -screen 0 800x600x16 &
385385
export DISPLAY=:1.0
@@ -413,7 +413,7 @@ jobs:
413413
- name: Test Scenario Execution Gazebo
414414
shell: bash
415415
run: |
416-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
416+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
417417
source install/setup.bash
418418
Xvfb :1 -screen 0 800x600x16 &
419419
export DISPLAY=:1.0
@@ -446,7 +446,7 @@ jobs:
446446
- name: Test Scenario Execution Nav2
447447
shell: bash
448448
run: |
449-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
449+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
450450
source install/setup.bash
451451
Xvfb :1 -screen 0 800x600x16 &
452452
export DISPLAY=:1.0
@@ -465,7 +465,7 @@ jobs:
465465
if: always()
466466
shell: bash
467467
run: |
468-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
468+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
469469
source /rosbag2_to_video/install/setup.bash
470470
ros2 bag to_video -t /static_camera/image_raw -o test_scenario_execution_nav2/test_scenario_execution_nav2/example_nav2.mp4 test_scenario_execution_nav2/test_scenario_execution_nav2/rosbag2_* --fps 5 --codec mp4v
471471
- name: Upload video
@@ -492,7 +492,7 @@ jobs:
492492
- name: Test Scenario Execution PyBullet
493493
shell: bash
494494
run: |
495-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
495+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
496496
source install/setup.bash
497497
Xvfb :1 -screen 0 800x600x16 &
498498
export DISPLAY=:1.0
@@ -522,7 +522,7 @@ jobs:
522522
- name: Test Scenario Execution X11
523523
shell: bash
524524
run: |
525-
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
525+
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
526526
source install/setup.bash
527527
sudo apt -y install mesa-utils
528528
Xvfb :1 -screen 0 800x600x16 &

docs/development.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Create an `.env` file by executing:
6363

6464
.. code-block:: bash
6565
66-
source /opt/ros/humble/setup.bash
66+
source /opt/ros/jazzy/setup.bash
6767
source install/setup.bash
6868
echo PYTHONPATH=$PYTHONPATH > .env
6969
echo HOME=$HOME >> .env

libs/scenario_execution_floorplan_dsl/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ git checkout 34bd70bc89b285173226e27add6f4f5589de106a
1616
docker build . --tag floorplan:latest
1717

1818
# build scenario execution and dependencies
19-
source /opt/ros/humble/setup.bash
19+
source /opt/ros/jazzy/setup.bash
2020
colcon build --packages-up-to scenario_execution_floorplan_dsl scenario_execution_ros scenario_execution_gazebo scenario_execution_nav2 tb4_sim_scenario
2121
source install/setup.bash
2222
```

0 commit comments

Comments
 (0)