File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1919 crate_triggers : " apollo_node,apollo_deployments,apollo_integration_tests"
2020 path_triggers : " .github/workflows/consolidated_system_test.yaml,scripts/*.py,scripts/system_tests/**/*.py"
2121 pvc_storage_class_name : " premium-rwo"
22+ anvil_port : " 8545"
2223
2324permissions :
2425 contents : read
@@ -319,6 +320,21 @@ jobs:
319320 - name : Copy state and restart pod
320321 run : pipenv run python ./scripts/system_tests/copy_state_and_restart.py --deployment_config_path ${{ env.deployment_config_path }} --data-dir "./output/data/node_0/executable_0"
321322
323+ - name : Port-forward Anvil pod to localhost:${{ env.anvil_port }}
324+ run : |
325+ echo "🔌 Setting up port-forward to Anvil..."
326+
327+ ANVIL_POD=$(kubectl get pods -n anvil -l app=anvil -o jsonpath="{.items[0].metadata.name}")
328+ echo "🌐 Found Anvil pod: $ANVIL_POD"
329+
330+ # Start port-forwarding in background and keep it running
331+ kubectl port-forward -n anvil "$ANVIL_POD" ${{ env.anvil_port }}:${{ env.anvil_port }} &
332+ echo "⏳ Waiting a few seconds to ensure port-forward is established..."
333+ sleep 2
334+
335+ - name : Send transactions test
336+ run : pipenv run python ./scripts/system_tests/sequencer_simulator.py --deployment_config_path ${{ env.deployment_config_path }} --config_dir "${{ env.config_dir }}" --node_type "consolidated" --sender_address "${{ env.SENDER_ADDRESS }}" --receiver_address "${{ env.RECEIVER_ADDRESS }}"
337+
322338 - name : Get container logs
323339 if : always()
324340 run : |
You can’t perform that action at this time.
0 commit comments