@@ -28,10 +28,6 @@ permissions:
2828 contents : write
2929
3030env :
31- SOLO_CLUSTER_NAME : " solo-rust"
32- SOLO_NAMESPACE : " solo-rust"
33- SOLO_CLUSTER_SETUP_NAMESPACE : " solo-rust-cluster"
34- SOLO_DEPLOYMENT : " solo-rust-deployment"
3531 CONSENSUS_NODE_VERSION : " v0.65.0"
3632 NODE_VERSION : " 20.18.3"
3733
@@ -272,31 +268,12 @@ jobs:
272268 with :
273269 node-version : ${{ env.NODE_VERSION }}
274270
275- # Set up kind; needed for configuring the solo environment
276- - name : Setup Kind
277- uses : helm/kind- action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12 .0
271+ - name : Prepare Hiero Solo
272+ id : solo
273+ uses : hiero-ledger/hiero-solo- action@10ec96a107b8d2f5cd26b3e7ab47e65407b5c462 # v0.11 .0
278274 with :
279- install_only : true
280- node_image : kindest/node:v1.31.4@sha256:2cb39f7295fe7eafee0842b1052a599a4fb0f8bcf3f83d96c7f4864c357c6c30
281- version : v0.26.0
282- kubectl_version : v1.31.4
283- verbosity : 3
284- wait : 120s
285-
286- # Install solo and configure it for the safety checks
287- - name : Install Solo
288- run : npm install -g @hashgraph/solo@${{ vars.SOLO_VERSION }}
289-
290- - name : Configure Solo
291- run : |
292- echo "::group::Kind Create Cluster"
293- kind create cluster -n "${SOLO_CLUSTER_NAME}"
294- echo "::endgroup::"
295-
296- echo "::group::Solo Quick Start Single Deploy"
297- # Configures the entire network including the consensus node, mirror node, rpc, and explorer
298- solo quick-start single deploy
299- echo "::endgroup::"
275+ installMirrorNode : true
276+ hieroVersion : ${{ env.CONSENSUS_NODE_VERSION }}
300277
301278 - name : Create env file
302279 run : |
@@ -319,14 +296,6 @@ jobs:
319296 . $HOME/.cargo/env
320297 cargo test --workspace
321298
322- - name : Clean up solo deployment
323- run : |
324- solo quick-start single destroy
325- for cluster in $(kind get clusters); do
326- kind delete cluster -n $cluster
327- done
328- rm -rf ~/.solo
329-
330299 publish :
331300 name : Publish SDK to crates.io
332301 needs :
@@ -405,31 +374,12 @@ jobs:
405374 with :
406375 node-version : ${{ env.NODE_VERSION }}
407376
408- # Set up kind; needed for configuring the solo environment
409- - name : Setup Kind
410- uses : helm/kind- action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12 .0
377+ - name : Prepare Hiero Solo
378+ id : solo
379+ uses : hiero-ledger/hiero-solo- action@10ec96a107b8d2f5cd26b3e7ab47e65407b5c462 # v0.11 .0
411380 with :
412- install_only : true
413- node_image : kindest/node:v1.31.4@sha256:2cb39f7295fe7eafee0842b1052a599a4fb0f8bcf3f83d96c7f4864c357c6c30
414- version : v0.26.0
415- kubectl_version : v1.31.4
416- verbosity : 3
417- wait : 120s
418-
419- # Install solo and configure it for the safety checks
420- - name : Install Solo
421- run : npm install -g @hashgraph/solo@${{ vars.SOLO_VERSION }}
422-
423- - name : Configure Solo
424- run : |
425- echo "::group::Kind Create Cluster"
426- kind create cluster -n "${SOLO_CLUSTER_NAME}"
427- echo "::endgroup::"
428-
429- echo "::group::Solo Quick Start Single Deploy"
430- # Configures the entire network including the consensus node, mirror node, rpc, and explorer
431- solo quick-start single deploy
432- echo "::endgroup::"
381+ installMirrorNode : true
382+ hieroVersion : ${{ env.CONSENSUS_NODE_VERSION }}
433383
434384 - name : Create env file
435385 run : |
@@ -476,14 +426,6 @@ jobs:
476426 cargo generate-lockfile
477427 echo "::endgroup::"
478428
479- - name : Clean up solo deployment
480- run : |
481- solo quick-start single destroy
482- for cluster in $(kind get clusters); do
483- kind delete cluster -n $cluster
484- done
485- rm -rf ~/.solo
486-
487429 - name : Publish proto to crates.io (hiero-sdk-proto)
488430 if : ${{ needs.validate-release.outputs.hiero-proto-publish-required == 'true' && env.DUAL_PUBLISH_ENABLED == 'true' }}
489431 env :
@@ -502,18 +444,6 @@ jobs:
502444 git clean -fdx
503445 echo "::endgroup::"
504446
505- - name : Configure Solo
506- if : ${{ env.DUAL_PUBLISH_ENABLED == 'true' && env.DRY_RUN_ENABLED == 'true' }}
507- run : |
508- echo "::group::Kind Create Cluster"
509- kind create cluster -n "${SOLO_CLUSTER_NAME}"
510- echo "::endgroup::"
511-
512- echo "::group::Solo Quick Start Single Deploy"
513- # Configures the entire network including the consensus node, mirror node, rpc, and explorer
514- solo quick-start single deploy
515- echo "::endgroup::"
516-
517447 - name : Create env file
518448 run : |
519449 touch .env
@@ -547,15 +477,6 @@ jobs:
547477 cargo generate-lockfile
548478 echo "::endgroup::"
549479
550- - name : Clean up solo deployment
551- if : ${{ env.DUAL_PUBLISH_ENABLED == 'true' && env.DRY_RUN_ENABLED == 'true' }}
552- run : |
553- solo quick-start single destroy
554- for cluster in $(kind get clusters); do
555- kind delete cluster -n $cluster
556- done
557- rm -rf ~/.solo
558-
559480 - name : Publish SDK to crates.io (hiero-sdk)
560481 if : ${{ needs.validate-release.outputs.hiero-publish-required == 'true' && env.DUAL_PUBLISH_ENABLED == 'true' }}
561482 env :
0 commit comments