Skip to content

Commit

Permalink
Only update the cache in one job on mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored May 1, 2023
1 parent d03d7cb commit 90f12bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/continous-integration-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ jobs:
test_variables: '-e GENERATE_CHECKPOINTS_MAINNET=1 -e ZEBRA_FORCE_USE_COLOR=1 -e ZEBRA_CACHED_STATE_DIR=/var/cache/zebrad-cache'
network: 'Mainnet'
needs_zebra_state: true
# update the disk on every PR, to increase CI speed
saves_to_disk: true
# test-update-sync updates the disk on every PR, so we don't need to do it here
saves_to_disk: false
disk_suffix: tip
root_state_path: '/var/cache'
zebra_state_dir: 'zebrad-cache'
Expand Down Expand Up @@ -525,6 +525,7 @@ jobs:
network: 'Testnet'
needs_zebra_state: true
# update the disk on every PR, to increase CI speed
# we don't have a test-update-sync-testnet job, so we need to update the disk here
saves_to_disk: true
disk_suffix: tip
root_state_path: '/var/cache'
Expand Down

0 comments on commit 90f12bc

Please sign in to comment.