From c22c117f244cbc4f08c3b8467adbce5793a8a356 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Mon, 19 Feb 2024 20:48:19 +0000 Subject: [PATCH] Move cirun runner to GCP --- .cirun.yml | 15 ++++++--------- .../{arm64_graviton.yml => arm64_gcp.yml} | 5 ++--- 2 files changed, 8 insertions(+), 12 deletions(-) rename .github/workflows/{arm64_graviton.yml => arm64_gcp.yml} (96%) diff --git a/.cirun.yml b/.cirun.yml index bfc6494d0..6d52d7e26 100644 --- a/.cirun.yml +++ b/.cirun.yml @@ -1,16 +1,13 @@ # Self-Hosted Github Action Runners on AWS via Cirun.io # Reference: https://docs.cirun.io/reference/yaml runners: - - name: "aws-runner-graviton" - # Cloud Provider: AWS - cloud: "aws" - region: "us-east-1" - # Cheapest VM on AWS - instance_type: "c7g.large" - # Ubuntu-22.04, ami image - machine_image: "ami-0a0c8eebcdd6dcbd0" + - name: "cirun-runner" + # Cloud Provider: GCP + cloud: "gcp" + instance_type: "t2a-standard-2" + machine_image: "ubuntu-2204-jammy-arm64-v20240208" preemptible: false # Add this label in the "runs-on" param in .github/workflows/.yml # So that this runner is created for running the workflow labels: - - "cirun-aws-runner-graviton" + - "cirun-gcp-runner" diff --git a/.github/workflows/arm64_graviton.yml b/.github/workflows/arm64_gcp.yml similarity index 96% rename from .github/workflows/arm64_graviton.yml rename to .github/workflows/arm64_gcp.yml index 6928312b5..6e498df32 100644 --- a/.github/workflows/arm64_graviton.yml +++ b/.github/workflows/arm64_gcp.yml @@ -1,4 +1,4 @@ -name: arm64 graviton cirun +name: arm64 gcp cirun on: push: @@ -19,8 +19,7 @@ permissions: jobs: build: - if: "github.repository == 'OpenMathLib/OpenBLAS'" - runs-on: "cirun-aws-runner-graviton--${{ github.run_id }}" + runs-on: "cirun-gcp-runner--${{ github.run_id }}" strategy: fail-fast: false