From d57d7f3b11c044b86195a12cfb933d17fac85b34 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Fri, 11 Sep 2026 18:49:48 -0700 Subject: [PATCH] ci(ros): use PX4 development images for translation tests (#28683) * ci(ros): reuse the Jazzy toolchain for translation tests Use the same pinned PX4 development image as the ROS integration tests while preserving the Humble environment and both distro-specific caches. Assisted-by: Copilot:gpt-6-astra * ci(ros): pin published Humble and Jazzy development images Use the multi-architecture toolchains published from d8c01514ac79646d30aec67100e59adaf99f351d for both translation-test distributions. Reuse bundled ccache while preserving separate caches, message-versioning checks and checkout-matched translation builds. Assisted-by: Copilot:gpt-6-astra --- .github/workflows/ros_translation_node.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ros_translation_node.yml b/.github/workflows/ros_translation_node.yml index 6ba3f181eb2..4c02dc0b7eb 100644 --- a/.github/workflows/ros_translation_node.yml +++ b/.github/workflows/ros_translation_node.yml @@ -29,10 +29,12 @@ jobs: fail-fast: false matrix: config: - - {ros_version: "humble", ubuntu: "jammy"} - - {ros_version: "jazzy", ubuntu: "noble"} + - ros_version: "humble" + image: ghcr.io/px4/px4-dev-ros2:main-humble@sha256:22477581e61d0fd3edff894e8a4b9615898f0534273d3745831a819bd1c5b5a4 + - ros_version: "jazzy" + image: ghcr.io/px4/px4-dev-ros2:main-jazzy@sha256:741c007bc5faadf41ef92258b0cdadf7dea5c84447afcb8545ea7c1ef42ffd71 container: - image: ros:${{ matrix.config.ros_version }}-ros-base-${{ matrix.config.ubuntu }} + image: ${{ matrix.config.image }} steps: - uses: runs-on/action@v2 - uses: actions/checkout@v6 @@ -47,7 +49,6 @@ jobs: cache-key-prefix: ccache-ros-translation-${{ matrix.config.ros_version }} max-size: 150M base-dir: /ros_ws - install-ccache: 'true' - name: Check .msg file versioning if: github.event_name == 'pull_request'