Skip to content

Commit 8de85b0

Browse files
author
M. Fatih Cırıt
committed
ci: use codebuild for arm64 workflows
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
1 parent 490088f commit 8de85b0

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

.github/workflows/docker-build-and-push-arm64.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ on:
77
tags:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
load-env:
1216
uses: ./.github/workflows/load-env.yaml
1317

1418
docker-build-and-push:
1519
needs: load-env
16-
runs-on: [self-hosted, linux, ARM64]
20+
runs-on: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
1721
strategy:
1822
fail-fast: false
1923
matrix:
@@ -46,8 +50,11 @@ jobs:
4650
with:
4751
token: ${{ secrets.GITHUB_TOKEN }}
4852

49-
- name: Free disk space
50-
uses: ./.github/actions/free-disk-space
53+
- name: Show disk space before the tasks
54+
run: df -h
55+
56+
- name: Show machine specs
57+
run: lscpu && free -h
5158

5259
- name: Get changed files
5360
id: changed-files

.github/workflows/health-check-arm64.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ on:
55
- cron: 0 12 * * *
66
workflow_dispatch:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
10+
cancel-in-progress: true
11+
812
jobs:
913
load-env:
1014
uses: ./.github/workflows/load-env.yaml
1115

1216
docker-build:
1317
needs: load-env
14-
runs-on: [self-hosted, linux, ARM64]
18+
runs-on: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
1519
strategy:
1620
fail-fast: false
1721
matrix:
@@ -44,8 +48,11 @@ jobs:
4448
with:
4549
token: ${{ secrets.GITHUB_TOKEN }}
4650

47-
- name: Free disk space
48-
uses: ./.github/actions/free-disk-space
51+
- name: Show disk space before the tasks
52+
run: df -h
53+
54+
- name: Show machine specs
55+
run: lscpu && free -h
4956

5057
- name: Build 'Autoware'
5158
uses: ./.github/actions/docker-build

0 commit comments

Comments
 (0)