Move cirun runner to GCP

This commit is contained in:
Amit Kumar 2024-02-19 20:48:19 +00:00
parent ebbf5b3ea0
commit c22c117f24
2 changed files with 8 additions and 12 deletions

View File

@ -1,16 +1,13 @@
# Self-Hosted Github Action Runners on AWS via Cirun.io # Self-Hosted Github Action Runners on AWS via Cirun.io
# Reference: https://docs.cirun.io/reference/yaml # Reference: https://docs.cirun.io/reference/yaml
runners: runners:
- name: "aws-runner-graviton" - name: "cirun-runner"
# Cloud Provider: AWS # Cloud Provider: GCP
cloud: "aws" cloud: "gcp"
region: "us-east-1" instance_type: "t2a-standard-2"
# Cheapest VM on AWS machine_image: "ubuntu-2204-jammy-arm64-v20240208"
instance_type: "c7g.large"
# Ubuntu-22.04, ami image
machine_image: "ami-0a0c8eebcdd6dcbd0"
preemptible: false preemptible: false
# Add this label in the "runs-on" param in .github/workflows/<workflow-name>.yml # Add this label in the "runs-on" param in .github/workflows/<workflow-name>.yml
# So that this runner is created for running the workflow # So that this runner is created for running the workflow
labels: labels:
- "cirun-aws-runner-graviton" - "cirun-gcp-runner"

View File

@ -1,4 +1,4 @@
name: arm64 graviton cirun name: arm64 gcp cirun
on: on:
push: push:
@ -19,8 +19,7 @@ permissions:
jobs: jobs:
build: build:
if: "github.repository == 'OpenMathLib/OpenBLAS'" runs-on: "cirun-gcp-runner--${{ github.run_id }}"
runs-on: "cirun-aws-runner-graviton--${{ github.run_id }}"
strategy: strategy:
fail-fast: false fail-fast: false