@@ -212,48 +212,6 @@ jobs:
212212 scripts/local_testnet/logs
213213 retention-days : 3
214214
215- # Test syncing from genesis on a local testnet. Aims to cover forwarding syncing both short and long distances.
216- genesis-sync-test :
217- name : genesis-sync-test-${{ matrix.fork }}-${{ matrix.offline_secs }}m
218- runs-on : ubuntu-latest
219- needs : dockerfile-ubuntu
220- if : contains(github.event.pull_request.labels.*.name, 'syncing')
221- strategy :
222- matrix :
223- fork : [electra, fulu]
224- offline_secs : [ 120, 300]
225- steps :
226- - uses : actions/checkout@v4
227-
228- - name : Checkout kurtosis-sync-test
229- uses : actions/checkout@v4
230- with :
231- repository : jimmygchen/kurtosis-sync-test
232- token : ${{ secrets.GITHUB_TOKEN }} # or a PAT if needed
233- path : kurtosis-sync-test
234-
235- - name : Install Kurtosis
236- run : |
237- echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
238- sudo apt update
239- sudo apt install -y kurtosis-cli
240- kurtosis analytics disable
241-
242- - name : Download Docker image artifact
243- uses : actions/download-artifact@v4
244- with :
245- name : lighthouse-docker
246- path : .
247-
248- - name : Load Docker image
249- run : docker load -i lighthouse-docker.tar
250-
251- - name : Run the sync test script
252- run : |
253- enclave_name=sync-${{ matrix.fork }}-${{ matrix.offline_secs }}
254- config=./scripts/tests/genesis-sync-config-${{ matrix.fork }}.yaml
255- ./kurtosis-sync-test/synctest.sh -t "${{ matrix.offline_secs }}" "$enclave_name" "$config"
256-
257215 # This job succeeds ONLY IF all others succeed. It is used by the merge queue to determine whether
258216 # a PR is safe to merge. New jobs should be added here.
259217 local-testnet-success :
@@ -269,5 +227,5 @@ jobs:
269227 - uses : actions/checkout@v4
270228 - name : Check that success job is dependent on all others
271229 run : |
272- exclude_jobs='checkpoint-sync-test|genesis-sync-test '
230+ exclude_jobs='checkpoint-sync-test'
273231 ./scripts/ci/check-success-job.sh ./.github/workflows/local-testnet.yml local-testnet-success "$exclude_jobs"
0 commit comments