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 df04017 commit 4215f62
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: 30
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 @@ -535,7 +553,7 @@ steps:
- label: Mainnet Boot Sync
depends_on:
- docker-build
timeout_in_minutes: 2
timeout_in_minutes: 30
command: |
cd run/mainnet/docker
rm -rf databases
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 4215f62

Please sign in to comment.