Skip to content

Commit

Permalink
use runs-on runners for replay-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
geekflyer committed Jun 20, 2024
1 parent 97a555b commit 3d833cf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/module-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
SUB_DIR: e1
BACKUP_CONFIG_TEMPLATE_PATH: terraform/helm/fullnode/files/backup/s3-public.yaml
# workflow config
RUNS_ON: high-perf-docker-with-local-ssd
RUNS_ON: runs-on,cpu=64,family=m6id,hdd=100,image=ubuntu22-full-x64,run-id=${{ github.run_id }}
TIMEOUT_MINUTES: 20

verify-modules-mainnet:
Expand All @@ -52,7 +52,7 @@ jobs:
SUB_DIR: e1
BACKUP_CONFIG_TEMPLATE_PATH: terraform/helm/fullnode/files/backup/s3-public.yaml
# workflow config
RUNS_ON: high-perf-docker-with-local-ssd
RUNS_ON: runs-on,cpu=64,family=m6id,hdd=100,image=ubuntu22-full-x64,run-id=${{ github.run_id }}
TIMEOUT_MINUTES: 20

test-verify-modules:
Expand All @@ -65,5 +65,5 @@ jobs:
SUB_DIR: e1
BACKUP_CONFIG_TEMPLATE_PATH: terraform/helm/fullnode/files/backup/s3-public.yaml
# workflow config
RUNS_ON: "high-perf-docker-with-local-ssd"
RUNS_ON: "runs-on,cpu=64,family=m6id,hdd=100,image=ubuntu22-full-x64,run-id=${{ github.run_id }}"
TIMEOUT_MINUTES: 20
12 changes: 8 additions & 4 deletions .github/workflows/replay-verify.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/workflow-run-module-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
description: "The runner to use for the job."
type: string
required: true
default: "high-perf-docker-with-local-ssd"
default: "runs-on,cpu=64,family=m6id,hdd=100,image=ubuntu22-full-x64"
TIMEOUT_MINUTES:
description: "Github job timeout in minutes"
type: number
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/workflow-run-replay-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:
description: "The runner to use for the job."
type: string
required: true
default: "high-perf-docker-with-local-ssd"
default: "runs-on,cpu=64,family=m6id,hdd=100,image=ubuntu22-full-x64"
TIMEOUT_MINUTES:
description: "Github job timeout in minutes"
type: number
Expand Down Expand Up @@ -74,7 +74,7 @@ on:
description: "The runner to use for the job."
type: string
required: true
default: "high-perf-docker-with-local-ssd"
default: "runs-on,cpu=64,family=m6id,hdd=100,image=ubuntu22-full-x64"

jobs:
replay-verify:
Expand All @@ -95,6 +95,12 @@ jobs:
with:
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}

- id: auth
uses: "google-github-actions/auth@v2"
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}

- name: Install GCloud SDK
uses: "google-github-actions/setup-gcloud@v2"
with:
Expand Down

0 comments on commit 3d833cf

Please sign in to comment.