diff --git a/.github/actions/fullnode-sync/action.yaml b/.github/actions/fullnode-sync/action.yaml index 27bd18ae67eef..213f3e7ca594a 100644 --- a/.github/actions/fullnode-sync/action.yaml +++ b/.github/actions/fullnode-sync/action.yaml @@ -27,11 +27,6 @@ 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 82295e882bc77..ff22ae6ab08ad 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: medium-perf-docker-with-local-ssd + runs-on: runs-on,family=c5ad.8xlarge,image=aptos-ubuntu-x64,run-id=${{ github.run_id }},spot=false 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 @@ -68,9 +68,9 @@ jobs: NETWORK: ${{ inputs.NETWORK }} BOOTSTRAPPING_MODE: ${{ inputs.BOOTSTRAPPING_MODE }} CONTINUOUS_SYNCING_MODE: ${{ inputs.CONTINUOUS_SYNCING_MODE }} - DATA_DIR_FILE_PATH: /tmp/ - NODE_LOG_FILE_PATH: /tmp/node_log - METRICS_DUMP_FILE_PATH: /tmp/metrics + DATA_DIR_FILE_PATH: ${{ runner.temp }}/ + NODE_LOG_FILE_PATH: ${{ runner.temp }}/node_log + METRICS_DUMP_FILE_PATH: ${{ runner.temp }}/metrics - name: Upload node logs as an artifact uses: actions/upload-artifact@v4 @@ -78,7 +78,7 @@ jobs: with: name: node_log path: | - /tmp/node_log + ${{ runner.temp }}/node_log retention-days: 14 - name: Upload the metrics dump as an artifact @@ -87,7 +87,7 @@ jobs: with: name: metrics path: | - /tmp/metrics + ${{ runner.temp }}/metrics retention-days: 14 - name: Post to a Slack channel on failure