Skip to content

Commit

Permalink
stellar#4538: try older range on pubnet for verify-range, see how lon…
Browse files Browse the repository at this point in the history
…g it takes on CI
  • Loading branch information
sreuland committed Aug 27, 2024
1 parent 0ee83dc commit 659d0e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/horizon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,15 @@ jobs:

verify-range:
name: Test (and push) verify-range image
runs-on: ubuntu-latest-4-cores
runs-on: ubuntu-22.04
env:
STELLAR_CORE_VERSION: 21.3.1-2007.4ede19620.focal
CAPTIVE_CORE_STORAGE_PATH: /tmp
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
- uses: actions/checkout@v3
with:
# For pull requests, build and test the PR head not a merge of the PR with the destination.
Expand All @@ -135,7 +139,7 @@ jobs:
run: |
docker build --build-arg="GO_VERSION=$(sed -En 's/^toolchain[[:space:]]+go([[:digit:].]+)$/\1/p' go.mod)" -f services/horizon/docker/verify-range/Dockerfile -t stellar/horizon-verify-range services/horizon/docker/verify-range/
# Use small default range of two most recent checkpoints back from latest archived checkpoint.
docker run -e BRANCH=$(git rev-parse HEAD) -e FROM=0 -e TO=0 stellar/horizon-verify-range
docker run -e BRANCH=$(git rev-parse HEAD) -e FROM=10000063 -e TO=10000127 stellar/horizon-verify-range
# Push image
- if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 659d0e0

Please sign in to comment.