From c1accc7915291a33560115f7ab34ce5e1e9c0b82 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Fri, 18 Aug 2023 19:46:21 +0200 Subject: [PATCH] .github: move github action to ubuntu22.04 # Conflicts: # .github/workflows/test_scripts.yml --- .github/workflows/esp32_build.yml | 2 +- .github/workflows/test_ccache.yml | 2 +- .github/workflows/test_chibios.yml | 2 +- .github/workflows/test_coverage.yml | 2 +- .github/workflows/test_dds.yml | 2 +- .github/workflows/test_environment.yml | 2 +- .github/workflows/test_linux_sbc.yml | 2 +- .github/workflows/test_replay.yml | 2 +- .github/workflows/test_scripting.yml | 2 +- .github/workflows/test_scripts.yml | 2 +- .github/workflows/test_sitl_copter.yml | 8 ++++---- .github/workflows/test_sitl_periph.yml | 4 ++-- .github/workflows/test_sitl_plane.yml | 4 ++-- .github/workflows/test_sitl_rover.yml | 4 ++-- .github/workflows/test_sitl_sub.yml | 4 ++-- .github/workflows/test_sitl_tracker.yml | 4 ++-- .github/workflows/test_size.yml | 2 +- .github/workflows/test_unit_tests.yml | 2 +- 18 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index d61477b32d..f9dd3ab050 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -145,7 +145,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false # don't cancel if a job from the matrix fails matrix: diff --git a/.github/workflows/test_ccache.yml b/.github/workflows/test_ccache.yml index ef1961c363..dc93eabddc 100644 --- a/.github/workflows/test_ccache.yml +++ b/.github/workflows/test_ccache.yml @@ -125,7 +125,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_chibios.yml b/.github/workflows/test_chibios.yml index e9082244ad..83ed7c318d 100644 --- a/.github/workflows/test_chibios.yml +++ b/.github/workflows/test_chibios.yml @@ -133,7 +133,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index 4c9ff4cc93..be28506455 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -13,7 +13,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-${{ matrix.type }}:v0.0.29 options: --privileged diff --git a/.github/workflows/test_dds.yml b/.github/workflows/test_dds.yml index 77cdb854fa..6037a16ad7 100644 --- a/.github/workflows/test_dds.yml +++ b/.github/workflows/test_dds.yml @@ -139,7 +139,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-ros:latest options: --user 1001 diff --git a/.github/workflows/test_environment.yml b/.github/workflows/test_environment.yml index 01bcb5f60d..44ea04ed8b 100644 --- a/.github/workflows/test_environment.yml +++ b/.github/workflows/test_environment.yml @@ -20,7 +20,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ${{matrix.os}}:${{matrix.name}} options: --privileged diff --git a/.github/workflows/test_linux_sbc.yml b/.github/workflows/test_linux_sbc.yml index 943360ca08..6ca74e0388 100644 --- a/.github/workflows/test_linux_sbc.yml +++ b/.github/workflows/test_linux_sbc.yml @@ -134,7 +134,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_replay.yml b/.github/workflows/test_replay.yml index 462fa6477e..7d7fbac706 100644 --- a/.github/workflows/test_replay.yml +++ b/.github/workflows/test_replay.yml @@ -147,7 +147,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_scripting.yml b/.github/workflows/test_scripting.yml index 8fbc8a10d7..fa8d693e55 100644 --- a/.github/workflows/test_scripting.yml +++ b/.github/workflows/test_scripting.yml @@ -21,7 +21,7 @@ concurrency: jobs: test-scripting: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-base:v0.0.29 steps: # git checkout the PR diff --git a/.github/workflows/test_scripts.yml b/.github/workflows/test_scripts.yml index 7f0b8cba14..a5f654cf92 100644 --- a/.github/workflows/test_scripts.yml +++ b/.github/workflows/test_scripts.yml @@ -8,7 +8,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-base:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_sitl_copter.yml b/.github/workflows/test_sitl_copter.yml index e72c244ed8..4f5e81b710 100644 --- a/.github/workflows/test_sitl_copter.yml +++ b/.github/workflows/test_sitl_copter.yml @@ -160,7 +160,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails @@ -205,7 +205,7 @@ jobs: autotest: needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-base:v0.0.29 options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined @@ -273,7 +273,7 @@ jobs: retention-days: 7 build-gcc-heli: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-base:v0.0.29 options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined @@ -309,7 +309,7 @@ jobs: autotest-heli: needs: build-gcc-heli # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-base:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_sitl_periph.yml b/.github/workflows/test_sitl_periph.yml index 7ade9cfd4b..f78f4ffe75 100644 --- a/.github/workflows/test_sitl_periph.yml +++ b/.github/workflows/test_sitl_periph.yml @@ -159,7 +159,7 @@ concurrency: jobs: build-gcc-ap_periph: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-periph:v0.0.29 steps: # git checkout the PR @@ -199,7 +199,7 @@ jobs: autotest-can: needs: build-gcc-ap_periph # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-periph:v0.0.29 options: --privileged diff --git a/.github/workflows/test_sitl_plane.yml b/.github/workflows/test_sitl_plane.yml index b04962e8b9..0973250ea0 100644 --- a/.github/workflows/test_sitl_plane.yml +++ b/.github/workflows/test_sitl_plane.yml @@ -161,7 +161,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails @@ -206,7 +206,7 @@ jobs: autotest: needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-base:v0.0.29 options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined diff --git a/.github/workflows/test_sitl_rover.yml b/.github/workflows/test_sitl_rover.yml index baf8ae40d9..b4e4a67c62 100644 --- a/.github/workflows/test_sitl_rover.yml +++ b/.github/workflows/test_sitl_rover.yml @@ -160,7 +160,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails @@ -205,7 +205,7 @@ jobs: autotest: needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-base:v0.0.29 options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined diff --git a/.github/workflows/test_sitl_sub.yml b/.github/workflows/test_sitl_sub.yml index d54ee41777..1fc0ac8d47 100644 --- a/.github/workflows/test_sitl_sub.yml +++ b/.github/workflows/test_sitl_sub.yml @@ -163,7 +163,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails @@ -208,7 +208,7 @@ jobs: autotest: needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-base:v0.0.29 options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined diff --git a/.github/workflows/test_sitl_tracker.yml b/.github/workflows/test_sitl_tracker.yml index e57e038d47..a95036ed68 100644 --- a/.github/workflows/test_sitl_tracker.yml +++ b/.github/workflows/test_sitl_tracker.yml @@ -163,7 +163,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails @@ -208,7 +208,7 @@ jobs: autotest: needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-base:v0.0.29 options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined diff --git a/.github/workflows/test_size.yml b/.github/workflows/test_size.yml index 26c42d2c67..ae8e6a8a66 100644 --- a/.github/workflows/test_size.yml +++ b/.github/workflows/test_size.yml @@ -60,7 +60,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 strategy: fail-fast: false # don't cancel if a job from the matrix fails diff --git a/.github/workflows/test_unit_tests.yml b/.github/workflows/test_unit_tests.yml index 933ee4f210..870a3844f7 100644 --- a/.github/workflows/test_unit_tests.yml +++ b/.github/workflows/test_unit_tests.yml @@ -99,7 +99,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.0.29 options: --user 1001