From d2d2190973cf3bab77e89c36fa987ba2f2f11fce Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Wed, 10 Jan 2024 16:48:35 -0500 Subject: [PATCH] buildjet: pin location to de (#30955) * pin location * stringify * Fix * fromjson * flip the parens * and those old-commit-hash: 576cba217d1334b6429762bb47dfdb77adc576d1 --- .github/workflows/selfdrive_tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 3c95d8055b..0e1e47c012 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -75,7 +75,7 @@ jobs: ((github.repository == 'commaai/openpilot') && ((github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} - runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} + runs-on: ${{ fromJson( (matrix.arch == 'aarch64') && '["buildjet-2vcpu-ubuntu-2204-arm", "buildjet-pinned-location_de_arm"]' || 'ubuntu-20.04' ) }} steps: - uses: actions/checkout@v4 with: @@ -94,7 +94,7 @@ jobs: strategy: matrix: arch: ${{ fromJson( (github.repository == 'commaai/openpilot') && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} - runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} + runs-on: ${{ fromJson( (matrix.arch == 'aarch64') && '["buildjet-2vcpu-ubuntu-2204-arm", "buildjet-pinned-location_de_arm"]' || 'ubuntu-20.04' ) }} if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' steps: - uses: actions/checkout@v4