@@ -690,7 +690,7 @@ jobs:
690
690
# note: proving disabled
691
691
kind-network-test :
692
692
needs : [build, configure]
693
- if : contains(github.event.pull_request.labels.*.name, 'network-all') || github.ref_name == 'master'
693
+ if : contains(github.event.pull_request.labels.*.name, 'network-all') || (needs.configure.outputs.yarn-project == 'true' && github.ref_name == 'master')
694
694
runs-on : ${{ needs.configure.outputs.username }}-x86
695
695
strategy :
696
696
fail-fast : false
@@ -699,24 +699,27 @@ jobs:
699
699
- test : transfer.test.ts
700
700
values : 16-validators
701
701
runner_type : 16core-tester-x86
702
+ timeout : 60
702
703
# TODO(#9736)
703
704
# - test: transfer.test.ts
704
705
# values: 48-validators
705
706
# runner_type: 32core-tester-x86
706
707
- test : reorg.test.ts
707
708
values : 16-validators
708
- runner_type : 16core-tester-x86
709
+ runner_type : 16core-tester-x86-high-memory
710
+ timeout : 90
709
711
- test : 4epochs.test.ts
710
712
values : 16-validators
711
713
runner_type : 16core-tester-x86
714
+ timeout : 60
712
715
steps :
713
716
- uses : actions/checkout@v4
714
717
with : { ref: "${{ env.GIT_COMMIT }}" }
715
718
- uses : ./.github/ci-setup-action
716
719
with :
717
720
concurrency_key : kind-network-${{ matrix.config.test }}
718
721
- name : Setup and KIND Network Test
719
- timeout-minutes : 60
722
+ timeout-minutes : ${{ matrix.config.timeout }}
720
723
uses : ./.github/ensure-tester-with-images
721
724
env :
722
725
USERNAME : ${{ needs.configure.outputs.username }}
@@ -729,13 +732,21 @@ jobs:
729
732
builder_images_to_copy : aztecprotocol/aztec:${{ env.GIT_COMMIT }} aztecprotocol/end-to-end:${{ env.GIT_COMMIT }}
730
733
# command to produce the images in case they don't exist
731
734
builder_command : scripts/earthly-ci ./yarn-project+export-e2e-test-images
732
- tester_ttl : 60
733
- # TODO(#9640): use 16-validators.yaml
735
+ tester_ttl : ${{ matrix.config.timeout }}
734
736
run : |
735
737
cd yarn-project/end-to-end
736
738
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
737
739
test=${{ matrix.config.test }}
738
740
NAMESPACE="${test%.test.ts}" FRESH_INSTALL=true VALUES_FILE=${{ matrix.config.values }}.yaml ./scripts/network_test.sh ./src/spartan/$test
741
+ - name : Copy Network Logs
742
+ if : always() # Run on failure too
743
+ run : copy_from_tester /home/ubuntu/run-${{ env.RUN_ID }}/yarn-project/end-to-end/scripts/network-test.log network-test.log
744
+ - name : Upload Network Logs
745
+ if : always() # Run on failure too
746
+ uses : actions/upload-artifact@v4
747
+ with :
748
+ name : kind-network-test-${{ matrix.config.values }}-${{ matrix.config.test }}.log
749
+ path : network-test.log
739
750
740
751
l1-contracts-test :
741
752
needs : [build, configure]
0 commit comments