Skip to content

Commit

Permalink
.github: use ubuntu-22.04 instead of ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Sep 2, 2023
1 parent be84f05 commit caaa39b
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cache_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/esp32_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_ccache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_chibios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_dds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: ${{matrix.os}}:${{matrix.name}}
options: --privileged
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_linux_sbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_periph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit caaa39b

Please sign in to comment.