From 272e7b9444b5019e4679224e0f8525957c527da1 Mon Sep 17 00:00:00 2001 From: Alan Luong Date: Tue, 15 Oct 2024 10:30:29 -0400 Subject: [PATCH] update instance type for fullnode-sync workflows --- .github/actions/fullnode-sync/action.yaml | 5 +++++ .github/workflows/run-fullnode-sync.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/fullnode-sync/action.yaml b/.github/actions/fullnode-sync/action.yaml index 213f3e7ca594a..27bd18ae67eef 100644 --- a/.github/actions/fullnode-sync/action.yaml +++ b/.github/actions/fullnode-sync/action.yaml @@ -27,6 +27,11 @@ inputs: runs: using: composite steps: + - name: Install Dependencies + shell: bash + run: | + echo "${HOME}/bin/" >> $GITHUB_PATH # default INSTALL_DIR to path + scripts/dev_setup.sh -b # Install dependencies - name: Run fullnode sync shell: bash run: | diff --git a/.github/workflows/run-fullnode-sync.yaml b/.github/workflows/run-fullnode-sync.yaml index c4c2ce1e2d087..82295e882bc77 100644 --- a/.github/workflows/run-fullnode-sync.yaml +++ b/.github/workflows/run-fullnode-sync.yaml @@ -57,7 +57,7 @@ on: jobs: fullnode-sync: - runs-on: runs-on,cpu=16,ram=64,family=m5ad,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} + runs-on: medium-perf-docker-with-local-ssd timeout-minutes: ${{ inputs.TIMEOUT_MINUTES || 300 }} # the default run is 300 minutes (5 hours). Specified here because workflow_dispatch uses string rather than number steps: - uses: actions/checkout@v4