From 349efee32b261c9704985b3eea28c2a412600384 Mon Sep 17 00:00:00 2001 From: abe-winter Date: Thu, 13 Jun 2024 16:08:50 -0400 Subject: [PATCH] migrate runners (#4081) --- .github/workflows/appimage.yml | 6 +++--- .github/workflows/staticbuild.yml | 4 ++-- .github/workflows/test.yml | 8 +++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 51134f2f688..595179cdc66 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -26,7 +26,7 @@ jobs: image: ghcr.io/viamrobotics/rdk-devenv:amd64-cache platform: linux/amd64 label: amd64 - - arch: [buildjet-2vcpu-ubuntu-2204-arm] + - arch: [github-linux-arm64-2core] image: ghcr.io/viamrobotics/rdk-devenv:arm64-cache platform: linux/arm64 label: arm64 @@ -103,7 +103,7 @@ jobs: # this job builds the 32-bit RDK binary appimage-static-32bit: name: static 32-bit for appimage - runs-on: buildjet-2vcpu-ubuntu-2204-arm + runs-on: github-linux-arm64-2core steps: - uses: actions/checkout@v4 with: @@ -182,7 +182,7 @@ jobs: strategy: fail-fast: false matrix: - arch: [[ubuntu-latest], [buildjet-2vcpu-ubuntu-2204-arm], [arm64, pi4]] + arch: [[ubuntu-latest], [github-linux-arm64-2core], [arm64, pi4]] needs: appimage runs-on: ${{ matrix.arch }} timeout-minutes: 15 diff --git a/.github/workflows/staticbuild.yml b/.github/workflows/staticbuild.yml index 53a2b34f0db..e825b2317ec 100644 --- a/.github/workflows/staticbuild.yml +++ b/.github/workflows/staticbuild.yml @@ -37,7 +37,7 @@ jobs: - arch: ubuntu-latest image: ghcr.io/viamrobotics/antique2:amd64-cache platform: linux/amd64 - - arch: buildjet-2vcpu-ubuntu-2204-arm + - arch: github-linux-arm64-2core image: ghcr.io/viamrobotics/antique2:arm64-cache platform: linux/arm64 runs-on: ${{ matrix.arch }} @@ -141,7 +141,7 @@ jobs: strategy: fail-fast: false matrix: - arch: [[ubuntu-latest], [buildjet-2vcpu-ubuntu-2204-arm], [arm64, pi4]] + arch: [[ubuntu-latest], [github-linux-arm64-2core], [arm64, pi4]] needs: static runs-on: ${{ matrix.arch }} timeout-minutes: 15 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17c9ef132dc..fa882a339d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: image: ghcr.io/viamrobotics/rdk-devenv:amd64-cache platform: linux/amd64 platform_name: linux-amd64 - - arch: [buildjet-8vcpu-ubuntu-2204-arm] + - arch: github-linux-arm64-8core image: ghcr.io/viamrobotics/rdk-devenv:arm64-cache platform: linux/arm64 platform_name: linux-arm64 @@ -73,6 +73,7 @@ jobs: - name: Run go unit tests run: | + chmod -R a+rwx . # temporary fix for arm runners sudo --preserve-env=MONGODB_TEST_OUTPUT_URI,GITHUB_SHA,GITHUB_RUN_ID,GITHUB_RUN_NUMBER,GITHUB_RUN_ATTEMPT,GITHUB_X_PR_BASE_SHA,GITHUB_X_PR_BASE_REF,GITHUB_X_HEAD_REF,GITHUB_X_HEAD_SHA,GITHUB_REPOSITORY -Hu testbot bash -lc 'make test-go' - name: Upload test.json @@ -95,7 +96,7 @@ jobs: image: ghcr.io/viamrobotics/rdk-devenv:amd64-cache platform: linux/amd64 platform_name: linux-amd64 - - arch: [buildjet-8vcpu-ubuntu-2204-arm] + - arch: github-linux-arm64-8core image: ghcr.io/viamrobotics/rdk-devenv:arm64-cache platform: linux/arm64 platform_name: linux-arm64 @@ -156,7 +157,7 @@ jobs: test32: name: Go 32-bit Unit Tests - runs-on: [buildjet-8vcpu-ubuntu-2204-arm] + runs-on: github-linux-arm64-8core timeout-minutes: 30 steps: @@ -173,6 +174,7 @@ jobs: - name: Run go unit tests run: | + chmod -R a+rwx . # temporary fix for arm runners docker run \ --platform linux/arm/v7 \ -v `pwd`:/rdk \