From 1168a30d3a87395594c5da370c5e14a52410e674 Mon Sep 17 00:00:00 2001 From: Ndacyayisenga-droid Date: Wed, 4 Jun 2025 10:56:04 +0300 Subject: [PATCH 01/17] Change the github runner to a self hosted runner --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0fbd0af1..4daa3309 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: [self-hosted, solo] steps: - name: Checkout Repo From 9c2667be8f20560a8971390f67f4c424e27b931c Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Fri, 6 Jun 2025 03:22:21 +0300 Subject: [PATCH 02/17] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4daa3309..b9d40943 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,7 +32,7 @@ jobs: - name: Prepare Hedera Solo id: solo - uses: OpenElements/hedera-solo-action@v0.8 + uses: hiero-ledger/hiero-solo-action@8c976203a7b809c121f9844581f65ef9782c254f with: installMirrorNode: true From e71c7262cdc4be74d8607353755d54d0726328b8 Mon Sep 17 00:00:00 2001 From: Jessie Ssebuliba Date: Tue, 10 Jun 2025 09:00:51 +0300 Subject: [PATCH 03/17] use the new test runner Signed-off-by: Jessie Ssebuliba --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b9d40943..70a5c075 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ on: jobs: build: - runs-on: [self-hosted, solo] + runs-on: [self-hosted, test-solo] steps: - name: Checkout Repo From 64fa7c7865374fcb9bc32156a9f9cb12732386c4 Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Wed, 18 Jun 2025 02:09:00 +0300 Subject: [PATCH 04/17] Update maven.yml --- .github/workflows/maven.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 70a5c075..22f5eb4a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,6 +30,11 @@ jobs: distribution: 'temurin' cache: maven + - name: Clean up existing Solo deployment + run: | + kubectl delete deployment solo-deployment --namespace solo --context kind-solo-e2e || true + kubectl delete namespace solo --context kind-solo-e2e || true + - name: Prepare Hedera Solo id: solo uses: hiero-ledger/hiero-solo-action@8c976203a7b809c121f9844581f65ef9782c254f @@ -43,4 +48,3 @@ jobs: HEDERA_PRIVATE_KEY: ${{ steps.solo.outputs.privateKey }} HEDERA_NETWORK: hiero-solo-action run: ./mvnw verify - From 0220d6c6a22ca2031bf4a2ad65040288afc41ac8 Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Thu, 19 Jun 2025 12:50:42 +0300 Subject: [PATCH 05/17] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 22f5eb4a..af74d296 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -37,7 +37,7 @@ jobs: - name: Prepare Hedera Solo id: solo - uses: hiero-ledger/hiero-solo-action@8c976203a7b809c121f9844581f65ef9782c254f + uses: Ndacyayisenga-droid/solo-interprise-action@v1.0.0 with: installMirrorNode: true From fe0b12a3d08df9fcc97cf7e09a756c245e1e8c6b Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Thu, 19 Jun 2025 12:55:34 +0300 Subject: [PATCH 06/17] Update maven.yml --- .github/workflows/maven.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index af74d296..304d9a18 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,11 +30,6 @@ jobs: distribution: 'temurin' cache: maven - - name: Clean up existing Solo deployment - run: | - kubectl delete deployment solo-deployment --namespace solo --context kind-solo-e2e || true - kubectl delete namespace solo --context kind-solo-e2e || true - - name: Prepare Hedera Solo id: solo uses: Ndacyayisenga-droid/solo-interprise-action@v1.0.0 From 4b2eea1fe291f26203b23e62c8635177253fc8e6 Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Thu, 19 Jun 2025 12:59:33 +0300 Subject: [PATCH 07/17] Update maven.yml --- .github/workflows/maven.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 304d9a18..3eab324a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,6 +30,12 @@ jobs: distribution: 'temurin' cache: maven + - name: Cleanup Previous Runs + shell: bash + run: | + rm -rf ~/.solo + kind delete cluster --name solo-e2e || true + - name: Prepare Hedera Solo id: solo uses: Ndacyayisenga-droid/solo-interprise-action@v1.0.0 From 13d8e797a006dde509e833a3af0b7791c380baee Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Thu, 19 Jun 2025 13:03:26 +0300 Subject: [PATCH 08/17] Update maven.yml --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3eab324a..d7901534 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -36,9 +36,9 @@ jobs: rm -rf ~/.solo kind delete cluster --name solo-e2e || true - - name: Prepare Hedera Solo + - name: Prepare Hiero Solo id: solo - uses: Ndacyayisenga-droid/solo-interprise-action@v1.0.0 + uses: hiero-ledger/hiero-solo-action@8c976203a7b809c121f9844581f65ef9782c254f #v0.8 with: installMirrorNode: true From f7d8dc883ebc0c3fa73c94e215d9064022a4d41f Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Thu, 19 Jun 2025 13:14:23 +0300 Subject: [PATCH 09/17] Update maven.yml --- .github/workflows/maven.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d7901534..f34c431d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -36,6 +36,12 @@ jobs: rm -rf ~/.solo kind delete cluster --name solo-e2e || true + - name: Fix Kubernetes Repository + shell: bash + run: | + sudo rm -f /etc/apt/sources.list.d/kubernetes.list + sudo apt-get update + - name: Prepare Hiero Solo id: solo uses: hiero-ledger/hiero-solo-action@8c976203a7b809c121f9844581f65ef9782c254f #v0.8 From 8c5a61f4ecf4219054ca39bd558220673fa5107f Mon Sep 17 00:00:00 2001 From: Jessie Date: Fri, 20 Jun 2025 11:26:51 +0300 Subject: [PATCH 10/17] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f34c431d..742a032b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ on: jobs: build: - runs-on: [self-hosted, test-solo] + runs-on: ubuntu-latest steps: - name: Checkout Repo From 83747f165aed892ba2b3b5043833cbcb53ac781e Mon Sep 17 00:00:00 2001 From: Jessie Date: Wed, 9 Jul 2025 11:12:11 +0300 Subject: [PATCH 11/17] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 742a032b..6627ddbd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: [self-hosted, solo] steps: - name: Checkout Repo From 7779a5d3d8cd54370f10b1efbebd17eb0866869b Mon Sep 17 00:00:00 2001 From: Jessie Date: Wed, 9 Jul 2025 11:24:05 +0300 Subject: [PATCH 12/17] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 6627ddbd..1d832edd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -44,7 +44,7 @@ jobs: - name: Prepare Hiero Solo id: solo - uses: hiero-ledger/hiero-solo-action@8c976203a7b809c121f9844581f65ef9782c254f #v0.8 + uses: hiero-ledger/hiero-solo-action@v0.9 #v0.8 with: installMirrorNode: true From 347eefdc52ae5a2b4ed79f8751c88a4f33fe845e Mon Sep 17 00:00:00 2001 From: Jessie Ssebuliba Date: Wed, 9 Jul 2025 11:39:22 +0300 Subject: [PATCH 13/17] install jq Signed-off-by: Jessie Ssebuliba --- .github/workflows/maven.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1d832edd..d6613b88 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -11,13 +11,13 @@ name: Java CI with Maven on: workflow_dispatch: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: - runs-on: [self-hosted, solo] + runs-on: [self-hosted, solo] steps: - name: Checkout Repo @@ -26,10 +26,22 @@ jobs: - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '21' - distribution: 'temurin' + java-version: "21" + distribution: "temurin" cache: maven + - name: "Setup jq" + uses: dcarbone/install-jq-action@v3 + with: + version: "1.8.1" + force: "false" + + - name: "Check jq" + # language=sh + run: | + which jq + jq --version + - name: Cleanup Previous Runs shell: bash run: | From b6685bd0418cef1402a52787e8f7fd9680d02f3e Mon Sep 17 00:00:00 2001 From: Jessie Date: Wed, 9 Jul 2025 12:19:58 +0300 Subject: [PATCH 14/17] Update maven.yml --- .github/workflows/maven.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d6613b88..b280e948 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -42,12 +42,6 @@ jobs: which jq jq --version - - name: Cleanup Previous Runs - shell: bash - run: | - rm -rf ~/.solo - kind delete cluster --name solo-e2e || true - - name: Fix Kubernetes Repository shell: bash run: | @@ -56,7 +50,7 @@ jobs: - name: Prepare Hiero Solo id: solo - uses: hiero-ledger/hiero-solo-action@v0.9 #v0.8 + uses: hiero-ledger/hiero-solo-action@v0.10.0 with: installMirrorNode: true From 03960a34da2f36eb7d6172db80eb83d2f52d0f13 Mon Sep 17 00:00:00 2001 From: Jessie Ssebuliba Date: Wed, 9 Jul 2025 12:41:45 +0300 Subject: [PATCH 15/17] switch mirrornode port to 8080 Signed-off-by: Jessie Ssebuliba --- .github/workflows/maven.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b280e948..b709ef6e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -53,6 +53,7 @@ jobs: uses: hiero-ledger/hiero-solo-action@v0.10.0 with: installMirrorNode: true + mirrorNodePortRest: 8080 - name: Build with Maven env: From 077d01601fb887cffb8070e9fd520a6eb638a656 Mon Sep 17 00:00:00 2001 From: Jessie Date: Wed, 9 Jul 2025 13:30:35 +0300 Subject: [PATCH 16/17] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b709ef6e..1757114a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ on: jobs: build: - runs-on: [self-hosted, solo] + runs-on: ubuntu-latest steps: - name: Checkout Repo From 14a1a7f57f796e764923fc120c4ca03763a92af9 Mon Sep 17 00:00:00 2001 From: Tayebwa Noah Date: Wed, 16 Jul 2025 20:25:22 +0300 Subject: [PATCH 17/17] Update maven.yml --- .github/workflows/maven.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 41651f4a..c23401db 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -53,7 +53,6 @@ jobs: uses: OpenElements/hedera-solo-action@v0.3 with: installMirrorNode: true - mirrorNodePortRest: 8080 - name: Build with Maven env: