From b4c3bb6894e43248ac797bd0f86acb7356a6b22e Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Tue, 11 Aug 2026 22:59:36 -0700 Subject: [PATCH 1/5] ci: migrate to github --- .github/workflows/ros.yml | 37 +++++++++++++++++++++++++++++++++++++ .gitlab-ci.yml | 34 ---------------------------------- 2 files changed, 37 insertions(+), 34 deletions(-) create mode 100644 .github/workflows/ros.yml delete mode 100644 .gitlab-ci.yml diff --git a/.github/workflows/ros.yml b/.github/workflows/ros.yml new file mode 100644 index 0000000..cc1c44a --- /dev/null +++ b/.github/workflows/ros.yml @@ -0,0 +1,37 @@ +--- + +name: Build and test +on: + pull_request: + push: + branches: + - main + +jobs: + build_and_test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - ros: humble + ubuntu: jammy + - ros: jazzy + ubuntu: noble + - ros: lyrical + ubuntu: resolute + name: ROS 2 ${{ matrix.ros }} + container: + image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-${{ matrix.ubuntu }}:latest + env: + PIP_BREAK_SYSTEM_PACKAGES: 1 + steps: + - uses: actions/checkout@v4 + - uses: ros-tooling/action-ros-ci@v0.4 + with: + target-ros2-distro: ${{ matrix.ros }} + import-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/upload-artifact@v4 + with: + name: colcon-logs-${{ matrix.ros }} + path: ros_ws/log diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index c96e7af..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -variables: - REPOS_FILE: repos.yaml - PACKAGE_NAME: radar_layer - -include: -- project: 'polymathrobotics/ci/ci_templates' - ref: main - file: '/ros/ros2_package.impl.yml' -- project: 'polymathrobotics/ci/ci_templates' - ref: main - file: '/ros/ros2_container/containerize.impl.yml' -- project: 'polymathrobotics/ci/ci_templates' - ref: main - file: '/docker-bake/bake_with_vcs_import_arm64.impl.yml' -- project: 'polymathrobotics/ci/ci_templates' - ref: main - file: '/common/rules.yml' -- project: 'polymathrobotics/ci/ci_templates' - ref: main - file: '/common/stages.yml' - - -build_and_test_radar_layer: - extends: .ros2_build_and_test - -eval_radar_layer: - extends: .ros2_evaluate - needs: - - job: build_and_test_radar_layer - artifacts: true - artifacts: - reports: - junit: $ARTIFACTS_PATH/test_results/test_results/$PACKAGE_NAME/*.xml - From 7b6f62070461ed84cd6e55440cfc9e695e10e82a Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Tue, 11 Aug 2026 23:45:47 -0700 Subject: [PATCH 2/5] Use repos --- .github/workflows/ros.yml | 1 + repos.yaml | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ros.yml b/.github/workflows/ros.yml index cc1c44a..67cd0fa 100644 --- a/.github/workflows/ros.yml +++ b/.github/workflows/ros.yml @@ -31,6 +31,7 @@ jobs: with: target-ros2-distro: ${{ matrix.ros }} import-token: ${{ secrets.GITHUB_TOKEN }} + vcs-repo-file-url: repos.yaml - uses: actions/upload-artifact@v4 with: name: colcon-logs-${{ matrix.ros }} diff --git a/repos.yaml b/repos.yaml index a32cf5b..bc82e9d 100644 --- a/repos.yaml +++ b/repos.yaml @@ -1,9 +1,5 @@ repositories: navigation2_dynamic: type: git - url: git@gitlab.com:polymathrobotics/third_party/navigation2_dynamic.git + url: https://github.com/polymathrobotics/third_party/navigation2_dynamic.git version: master - radar_layer: - type: git - url: git@gitlab.com:polymathrobotics/radar_layer.git - version: main From e21bb311f80d68a94b8406c3154c181430a2b0d7 Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Tue, 11 Aug 2026 23:48:31 -0700 Subject: [PATCH 3/5] fix repo url --- repos.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos.yaml b/repos.yaml index bc82e9d..4579332 100644 --- a/repos.yaml +++ b/repos.yaml @@ -1,5 +1,5 @@ repositories: navigation2_dynamic: type: git - url: https://github.com/polymathrobotics/third_party/navigation2_dynamic.git + url: https://github.com/polymathrobotics/navigation2_dynamic.git version: master From a0c97dfc79150478227b6e6f1e322f033f9aec19 Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Tue, 11 Aug 2026 23:59:33 -0700 Subject: [PATCH 4/5] Limit test to this local package --- .github/workflows/ros.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ros.yml b/.github/workflows/ros.yml index 67cd0fa..55fc9ca 100644 --- a/.github/workflows/ros.yml +++ b/.github/workflows/ros.yml @@ -32,6 +32,7 @@ jobs: target-ros2-distro: ${{ matrix.ros }} import-token: ${{ secrets.GITHUB_TOKEN }} vcs-repo-file-url: repos.yaml + package_name: radar_layer - uses: actions/upload-artifact@v4 with: name: colcon-logs-${{ matrix.ros }} From 2f2711f30973d91ec70f9c5f4571c13e4b8069fb Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Wed, 12 Aug 2026 00:00:47 -0700 Subject: [PATCH 5/5] fix arg name --- .github/workflows/ros.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ros.yml b/.github/workflows/ros.yml index 55fc9ca..1275f13 100644 --- a/.github/workflows/ros.yml +++ b/.github/workflows/ros.yml @@ -32,7 +32,7 @@ jobs: target-ros2-distro: ${{ matrix.ros }} import-token: ${{ secrets.GITHUB_TOKEN }} vcs-repo-file-url: repos.yaml - package_name: radar_layer + package-name: radar_layer - uses: actions/upload-artifact@v4 with: name: colcon-logs-${{ matrix.ros }}