diff --git a/.github/workflows/cache_cleanup.yml b/.github/workflows/cache_cleanup.yml index cb3ffb5495..dfc73eebb2 100644 --- a/.github/workflows/cache_cleanup.yml +++ b/.github/workflows/cache_cleanup.yml @@ -7,7 +7,7 @@ on: jobs: cleanup: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: # `actions:write` permission is required to delete caches # See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index f9dd3ab050..adad8f8e0c 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -145,7 +145,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 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 ba1a27780c..fabff75687 100644 --- a/.github/workflows/test_ccache.yml +++ b/.github/workflows/test_ccache.yml @@ -125,7 +125,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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 a18872959f..97a405eec7 100644 --- a/.github/workflows/test_chibios.yml +++ b/.github/workflows/test_chibios.yml @@ -133,7 +133,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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 0cc1001523..508e2cb99c 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -13,7 +13,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-${{ matrix.type }}:v0.1.0 options: --privileged @@ -91,7 +91,7 @@ jobs: finish: if: always() needs: build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Coveralls Finished uses: coverallsapp/github-action@master diff --git a/.github/workflows/test_dds.yml b/.github/workflows/test_dds.yml index 6037a16ad7..b4487d4731 100644 --- a/.github/workflows/test_dds.yml +++ b/.github/workflows/test_dds.yml @@ -139,7 +139,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 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 44ea04ed8b..8d63446732 100644 --- a/.github/workflows/test_environment.yml +++ b/.github/workflows/test_environment.yml @@ -20,7 +20,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 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 a097047c1d..1c2259f353 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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 53cca3f3c0..1cd0b1c6af 100644 --- a/.github/workflows/test_replay.yml +++ b/.github/workflows/test_replay.yml @@ -147,7 +147,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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 8c1c25d212..c8d4b17c82 100644 --- a/.github/workflows/test_scripting.yml +++ b/.github/workflows/test_scripting.yml @@ -21,7 +21,7 @@ concurrency: jobs: test-scripting: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-base:v0.1.0 steps: # git checkout the PR diff --git a/.github/workflows/test_scripts.yml b/.github/workflows/test_scripts.yml index 60306191cc..1728f5facd 100644 --- a/.github/workflows/test_scripts.yml +++ b/.github/workflows/test_scripts.yml @@ -8,7 +8,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-base:v0.1.0 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 8d7fc39954..9783a04c3d 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-base:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-base:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-base:v0.1.0 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 edb2902c0e..d3bd91ff2c 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-periph:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-periph:v0.1.0 options: --privileged diff --git a/.github/workflows/test_sitl_plane.yml b/.github/workflows/test_sitl_plane.yml index 310f7b0fed..24a48476c1 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-base:v0.1.0 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 73b7ae30d0..5ca2fa60ac 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-base:v0.1.0 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 b0340ad0e1..57d69d575d 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-base:v0.1.0 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 b98b258300..c869fb2d66 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-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-base:v0.1.0 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 c14eac56cf..5aacd03031 100644 --- a/.github/workflows/test_size.yml +++ b/.github/workflows/test_size.yml @@ -60,7 +60,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 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 17e29f9a4b..f843f07960 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-latest + runs-on: ubuntu-22.04 container: image: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0 options: --user 1001