From 0a16be71212546a2ea287698b1bdaecfafd75862 Mon Sep 17 00:00:00 2001 From: Mario Apra Date: Fri, 2 Aug 2024 13:07:32 +0100 Subject: [PATCH] Start using gitlab hosted runners for ARM (#2012) Those runners have proper auto-scaling and are able to out-perform the self-hosted one that we had. --- .github/workflows/build-binaries.yml | 4 ++-- .github/workflows/docker-image-build-push.yml | 2 +- .github/workflows/juno-test.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 0b2bcc952d..e56db7a7c0 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -16,7 +16,7 @@ jobs: architecture: amd64 - os: macOS-latest architecture: amd64 - - os: self-hosted + - os: ubuntu-arm64-4-core architecture: arm64 runs-on: ${{ matrix.os }} @@ -30,7 +30,7 @@ jobs: id: tag run: echo "TAG=$(git describe --tags)" >> $GITHUB_ENV - - name: Install dependencies (Ubuntu or self-hosted) + - name: Install dependencies (Linux) if: runner.os == 'Linux' run: sudo apt-get update -qq && sudo apt-get install -y upx-ucl build-essential cargo git golang libjemalloc-dev libjemalloc2 -y diff --git a/.github/workflows/docker-image-build-push.yml b/.github/workflows/docker-image-build-push.yml index 97808b8b59..824c2c5210 100644 --- a/.github/workflows/docker-image-build-push.yml +++ b/.github/workflows/docker-image-build-push.yml @@ -44,7 +44,7 @@ jobs: build_and_push_docker_image_arm: if: github.repository_owner == 'NethermindEth' - runs-on: self-hosted + runs-on: ubuntu-arm64-4-core steps: - name: Checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/juno-test.yml b/.github/workflows/juno-test.yml index b89c47e750..96273dcf18 100644 --- a/.github/workflows/juno-test.yml +++ b/.github/workflows/juno-test.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: go: [ '1.22.2' ] - os: [ ubuntu-latest, macos-latest, self-hosted-linux-arm64] + os: [ ubuntu-latest, macos-latest, ubuntu-arm64-2-core] runs-on: ${{ matrix.os }} env: VM_DEBUG: true @@ -35,7 +35,7 @@ jobs: - name: Install deps run: make install-deps - - name: Install Jemalloc (Ubuntu or self-hosted) + - name: Install Jemalloc (Linux) if: runner.os == 'Linux' run: sudo apt-get update -qq && sudo apt-get install -y libjemalloc-dev libjemalloc2 -y