Skip to content

Commit

Permalink
Add partial sync in mainnet via nix E2E test.
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Jul 15, 2024
1 parent 7c7bcfb commit b2e95b6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,24 @@ steps:
NODE_LOGS_FILE: ./logs/node.log
WALLET_LOGS_FILE: ./logs/wallet.log

- label: Mainnet Boot Sync
depends_on: linux-nix
timeout: 3
command: |
cd run/mainnet/nix
rm -rf logs
mkdir -p logs
rm -rf databases
export SUCCESS_STATUS=syncing
./run.sh sync
artifact_paths:
- "./run/mainnet/nix/logs/*"
agents:
system: x86_64-linux
env:
NODE_LOGS_FILE: ./logs/node.log
WALLET_LOGS_FILE: ./logs/wallet.log

- block: Sanchonet Full Sync
if: build.env("RELEASE_CANDIDATE") == null
depends_on: linux-nix
Expand Down Expand Up @@ -612,7 +630,7 @@ steps:
LINK_TEST=1 ./snapshot.sh
agents:
system: ${linux}

- label: Check Preprod Snapshot Link
depends_on: snapshot-links
command: |
Expand Down
1 change: 1 addition & 0 deletions run/mainnet/nix/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NETWORK="mainnet"
1 change: 1 addition & 0 deletions run/mainnet/nix/configs
1 change: 1 addition & 0 deletions run/mainnet/nix/run.sh

0 comments on commit b2e95b6

Please sign in to comment.