Skip to content

Commit

Permalink
Merge branch 'main' into aluon/push-qyuwrmyyknus
Browse files Browse the repository at this point in the history
  • Loading branch information
aluon authored Nov 13, 2024
2 parents 450812a + d7c3996 commit 203be4d
Show file tree
Hide file tree
Showing 102 changed files with 4,967 additions and 1,001 deletions.
5 changes: 0 additions & 5 deletions .github/actions/fullnode-sync/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-fullnode-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -68,17 +68,17 @@ 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
if: ${{ always() }}
with:
name: node_log
path: |
/tmp/node_log
${{ runner.temp }}/node_log
retention-days: 14

- name: Upload the metrics dump as an artifact
Expand All @@ -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
Expand Down
Loading

0 comments on commit 203be4d

Please sign in to comment.