File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 6262
6363 - name : Run authorize and store (PAPI, RPC node)
6464 working-directory : examples
65- run : just run-authorize-and-store
65+ run : just run-authorize-and-store-docker
Original file line number Diff line number Diff line change @@ -408,6 +408,29 @@ teardown-services-docker:
408408
409409 echo " ✅ Docker services stopped"
410410
411+ # Run RPC node example with Docker IPFS
412+ run-authorize-and-store-docker : build npm-install
413+ #!/usr/bin/env bash
414+ set -e
415+
416+ echo " 🚀 Starting RPC node workflow test with Docker..."
417+ echo " "
418+
419+ just setup-services-docker
420+ node authorize_and_store_papi.js
421+ EXAMPLE_EXIT=$?
422+
423+ echo " "
424+ echo " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
425+ if [ $EXAMPLE_EXIT -eq 0 ]; then
426+ echo " ✅ Example completed successfully!"
427+ else
428+ echo " ❌ Example failed with exit code $EXAMPLE_EXIT"
429+ fi
430+
431+ just teardown-services-docker
432+ exit $EXAMPLE_EXIT
433+
411434# Run smoldot example with Docker IPFS
412435run-authorize-and-store-smoldot-docker : build npm-install
413436 #!/usr/bin/env bash
You can’t perform that action at this time.
0 commit comments