Skip to content

Commit

Permalink
set main to jazzy
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-labs committed Nov 22, 2024
1 parent e3047f3 commit dda1421
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
container:
image: osrf/ros:humble-desktop-full
image: osrf/ros:jazzy-desktop-full
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
Expand Down Expand Up @@ -47,12 +47,12 @@ jobs:
- if: matrix.build-mode == 'manual'
shell: bash
run: |
source /opt/ros/humble/setup.bash
source /opt/ros/jazzy/setup.bash
colcon build --packages-up-to scenario_execution_interfaces
source install/setup.bash
apt update
rosdep update --rosdistro=humble
rosdep install --rosdistro=humble --from-paths scenario_execution_rviz --ignore-src -r -y;
rosdep update --rosdistro=jazzy
rosdep install --rosdistro=jazzy --from-paths scenario_execution_rviz --ignore-src -r -y;
mkdir build_rviz
cd build_rviz
cmake ../scenario_execution_rviz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
push: true
tags: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref || steps.extract_branch.outputs.branch }}
build-args: |
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'humble' || github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'jazzy' || github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}
test-devcontainer:
runs-on: intellabs-01
permissions:
Expand All @@ -68,4 +68,4 @@ jobs:
file: .devcontainer/Dockerfile
push: false
build-args: |
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'humble' || github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'jazzy' || github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
name: License check
runs-on: intellabs-01
container:
image: osrf/ros:humble-desktop
image: osrf/ros:jazzy-desktop
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
git clone https://github.com/ros-navigation/nav2_minimal_turtlebot_simulation.git
cd nav2_minimal_turtlebot_simulation
git checkout f4eefd049359b3f0becabd7a0870005f4140ec08
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Test
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
export -n CYCLONEDDS_URI
export ROS_DOMAIN_ID=2
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Test
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
export -n CYCLONEDDS_URI
export ROS_DOMAIN_ID=2
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Test Scenario Files
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
find . -name "*.osc" | grep -Ev "lib_osc/*|examples/example_scenario_variation|scenario_execution_coverage|fail*|install|build" | while read -r file; do
echo "$file";
Expand All @@ -150,7 +150,7 @@ jobs:
- name: Test Example Scenario
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
#shellcheck disable=SC1083
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}
Expand All @@ -177,7 +177,7 @@ jobs:
- name: Test Example Library
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
# shellcheck disable=SC1083
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}
Expand All @@ -204,7 +204,7 @@ jobs:
- name: Test Example Variation
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
scenario_variation -o scenario_variation_out examples/example_scenario_variation/example_scenario_variation.osc
# shellcheck disable=SC1083
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
- name: Test Example Nav2
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- name: Test Example Simulation
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
- name: Test Example Multirobot
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand All @@ -318,7 +318,7 @@ jobs:
if: always()
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source /rosbag2_to_video/install/setup.bash
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
- name: Upload video
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
- name: Test Example External Method
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
export -n CYCLONEDDS_URI
export ROS_DOMAIN_ID=2
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
- name: Test Example Moveit2
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:
- name: Test Scenario Execution Gazebo
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
- name: Test Scenario Execution Nav2
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand All @@ -465,7 +465,7 @@ jobs:
if: always()
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source /rosbag2_to_video/install/setup.bash
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
- name: Upload video
Expand All @@ -492,7 +492,7 @@ jobs:
- name: Test Scenario Execution PyBullet
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
Xvfb :1 -screen 0 800x600x16 &
export DISPLAY=:1.0
Expand Down Expand Up @@ -522,7 +522,7 @@ jobs:
- name: Test Scenario Execution X11
shell: bash
run: |
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'jazzy' || github.event.pull_request.base.ref }}/setup.bash
source install/setup.bash
sudo apt -y install mesa-utils
Xvfb :1 -screen 0 800x600x16 &
Expand Down

0 comments on commit dda1421

Please sign in to comment.