Skip to content

Commit dda178c

Browse files
committed
ci: update runners to ubuntu-24.04, bump action versions, add timeout
- Replace deprecated ubuntu-20.04 with ubuntu-24.04 - Bump docker/setup-qemu-action v1 -> v3 - Bump docker/setup-buildx-action v1 -> v3 - Bump docker/login-action v1 -> v3 - Bump docker/build-push-action v2 -> v6 - Bump actions/checkout to v4 across all workflows - Add timeout-minutes: 360 to docker builds
1 parent dba55a7 commit dda178c

10 files changed

Lines changed: 50 additions & 43 deletions

.github/workflows/cpplint-reviewdog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
cpplint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@master
8+
- uses: actions/checkout@v4
99
- uses: reviewdog/action-cpplint@master
1010
with:
1111
github_token: ${{ secrets.KR_AUTONOMOUS_FLIGHT_TOKEN_REVIEWDOG }}

.github/workflows/docker-build-base.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,26 @@ on:
1212

1313
jobs:
1414
main:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-24.04
16+
timeout-minutes: 360
1617

1718
steps:
1819
-
1920
name: Set up QEMU
20-
uses: docker/setup-qemu-action@v1
21+
uses: docker/setup-qemu-action@v3
2122
-
2223
name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v1
24+
uses: docker/setup-buildx-action@v3
2425
-
2526
name: Login to DockerHub
26-
uses: docker/login-action@v1
27+
uses: docker/login-action@v3
2728
with:
2829
username: ${{ secrets.DOCKERHUB_USERNAME }}
2930
password: ${{ secrets.DOCKERHUB_TOKEN }}
3031
-
3132
name: Build and push
3233
id: docker_build
33-
uses: docker/build-push-action@v2
34+
uses: docker/build-push-action@v6
3435
with:
3536
push: true
3637
tags: kumarrobotics/autonomy:base

.github/workflows/docker-build-client.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ on:
1717

1818
jobs:
1919
main:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
21+
timeout-minutes: 360
2122

2223
steps:
2324
-
2425
# This action is now required because we are building with context,
2526
# required to clone a third party repo
2627
name: Checkout
27-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2829
-
2930
name: Set up QEMU
30-
uses: docker/setup-qemu-action@v1
31+
uses: docker/setup-qemu-action@v3
3132
-
3233
name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3435
-
3536
name: Login to DockerHub
36-
uses: docker/login-action@v1
37+
uses: docker/login-action@v3
3738
with:
3839
username: ${{ secrets.DOCKERHUB_USERNAME }}
3940
password: ${{ secrets.DOCKERHUB_TOKEN }}
4041
-
4142
name: Build and push
4243
id: docker_build
43-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4445
with:
4546
context: .
4647
push: true

.github/workflows/docker-build-control.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ on:
1717

1818
jobs:
1919
main:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
21+
timeout-minutes: 360
2122

2223
steps:
2324
-
2425
# This action is now required because we are building with context,
2526
# required to clone a third party repo
2627
name: Checkout
27-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2829
-
2930
name: Set up QEMU
30-
uses: docker/setup-qemu-action@v1
31+
uses: docker/setup-qemu-action@v3
3132
-
3233
name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3435
-
3536
name: Login to DockerHub
36-
uses: docker/login-action@v1
37+
uses: docker/login-action@v3
3738
with:
3839
username: ${{ secrets.DOCKERHUB_USERNAME }}
3940
password: ${{ secrets.DOCKERHUB_TOKEN }}
4041
-
4142
name: Build and push
4243
id: docker_build
43-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4445
with:
4546
context: .
4647
push: true

.github/workflows/docker-build-estimation.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,26 @@ on:
1717

1818
jobs:
1919
main:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
21+
timeout-minutes: 360
2122

2223
steps:
2324
-
2425
name: Set up QEMU
25-
uses: docker/setup-qemu-action@v1
26+
uses: docker/setup-qemu-action@v3
2627
-
2728
name: Set up Docker Buildx
28-
uses: docker/setup-buildx-action@v1
29+
uses: docker/setup-buildx-action@v3
2930
-
3031
name: Login to DockerHub
31-
uses: docker/login-action@v1
32+
uses: docker/login-action@v3
3233
with:
3334
username: ${{ secrets.DOCKERHUB_USERNAME }}
3435
password: ${{ secrets.DOCKERHUB_TOKEN }}
3536
-
3637
name: Build and push
3738
id: docker_build
38-
uses: docker/build-push-action@v2
39+
uses: docker/build-push-action@v6
3940
with:
4041
push: true
4142
tags: kumarrobotics/autonomy:estimation

.github/workflows/docker-build-map-plan.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ on:
1717

1818
jobs:
1919
main:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
21+
timeout-minutes: 360
2122

2223
steps:
2324
-
2425
# This action is now required because we are building with context,
2526
# required to clone a third party repo
2627
name: Checkout
27-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2829
-
2930
name: Set up QEMU
30-
uses: docker/setup-qemu-action@v1
31+
uses: docker/setup-qemu-action@v3
3132
-
3233
name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3435
-
3536
name: Login to DockerHub
36-
uses: docker/login-action@v1
37+
uses: docker/login-action@v3
3738
with:
3839
username: ${{ secrets.DOCKERHUB_USERNAME }}
3940
password: ${{ secrets.DOCKERHUB_TOKEN }}
4041
-
4142
name: Build and push
4243
id: docker_build
43-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4445
with:
4546
context: .
4647
push: true

.github/workflows/docker-build-sim.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ on:
1717

1818
jobs:
1919
main:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
21+
timeout-minutes: 360
2122

2223
steps:
2324
-
2425
# This action is now required because we are building with context,
2526
# required to clone a third party repo
2627
name: Checkout
27-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2829
-
2930
name: Set up QEMU
30-
uses: docker/setup-qemu-action@v1
31+
uses: docker/setup-qemu-action@v3
3132
-
3233
name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3435
-
3536
name: Login to DockerHub
36-
uses: docker/login-action@v1
37+
uses: docker/login-action@v3
3738
with:
3839
username: ${{ secrets.DOCKERHUB_USERNAME }}
3940
password: ${{ secrets.DOCKERHUB_TOKEN }}
4041
-
4142
name: Build and push
4243
id: docker_build
43-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4445
with:
4546
context: .
4647
push: true

.github/workflows/docker-build-state-machine.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ on:
1717

1818
jobs:
1919
main:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
21+
timeout-minutes: 360
2122

2223
steps:
2324
-
2425
# This action is now required because we are building with context,
2526
# required to clone a third party repo
2627
name: Checkout
27-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2829
-
2930
name: Set up QEMU
30-
uses: docker/setup-qemu-action@v1
31+
uses: docker/setup-qemu-action@v3
3132
-
3233
name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3435
-
3536
name: Login to DockerHub
36-
uses: docker/login-action@v1
37+
uses: docker/login-action@v3
3738
with:
3839
username: ${{ secrets.DOCKERHUB_USERNAME }}
3940
password: ${{ secrets.DOCKERHUB_TOKEN }}
4041
-
4142
name: Build and push
4243
id: docker_build
43-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4445
with:
4546
context: .
4647
push: true

.github/workflows/pylint-reviewdog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: runner / pylint
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- uses: dciborow/action-pylint@0.0.4
1111
with:
1212
github_token: ${{ secrets.KR_AUTONOMOUS_FLIGHT_TOKEN_REVIEWDOG }}

.github/workflows/shellcheck-reviewdog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
shellcheck:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v1
8+
- uses: actions/checkout@v4
99
- uses: reviewdog/action-shellcheck@master
1010
with:
1111
github_token: ${{ secrets.KR_AUTONOMOUS_FLIGHT_TOKEN_REVIEWDOG }}

0 commit comments

Comments
 (0)