forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 1.06 KB
/
fullnode-fast-devnet-stable.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This workflow runs a public fullnode using the `devnet` branch,
# connects the public fullnode to `devnet` and synchronizes the
# node using fast syncing to verify that nothing has been broken.
name: "fullnode-fast-devnet-stable"
on:
workflow_dispatch:
schedule:
- cron: "30 2 */3 * *" # Once every three days, at 02:30 (UTC)
permissions:
contents: read
id-token: write
actions: write #required for workflow cancellation via check-aptos-core
jobs:
check-repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main
with:
cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork
fullnode-fast-devnet-stable:
needs: check-repo
uses: ./.github/workflows/run-fullnode-sync.yaml
secrets: inherit
with:
TEST_NAME: fullnode-fast-devnet-stable
GIT_REF: devnet
NETWORK: devnet
BOOTSTRAPPING_MODE: DownloadLatestStates
CONTINUOUS_SYNCING_MODE: ExecuteTransactions