From f89ed4d7e42086c699c5b059e2643a3ba3ff1047 Mon Sep 17 00:00:00 2001 From: Marcin Date: Wed, 22 May 2024 07:23:23 +0200 Subject: [PATCH 1/4] A0-4278: Fixed finality-version check when FE starts --- create-featurenet/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/create-featurenet/action.yml b/create-featurenet/action.yml index 7b02b4e..d7dfb4b 100644 --- a/create-featurenet/action.yml +++ b/create-featurenet/action.yml @@ -127,7 +127,8 @@ runs: echo "!!! Invalid sudo-account-id" exit 1 fi - if [[ ! '${{ inputs.finality-version }}' =~ ^[0-9]+$ ]]; then + if [[ '${{ inputs.finality-version }}' != "" && \ + ! '${{ inputs.finality-version }}' =~ ^[0-9]+$ ]]; then echo "!!! finality-version must be a cardinal number" exit 1 fi From 9fc8341c66e864f210f12148ee4c2e94371208d7 Mon Sep 17 00:00:00 2001 From: Marcin Date: Wed, 22 May 2024 07:28:52 +0200 Subject: [PATCH 2/4] Testing --- .github/workflows/_featurenet-create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_featurenet-create.yml b/.github/workflows/_featurenet-create.yml index e530d34..b82ca49 100644 --- a/.github/workflows/_featurenet-create.yml +++ b/.github/workflows/_featurenet-create.yml @@ -128,7 +128,7 @@ jobs: debug: true - name: Create featurenet with image tag - uses: Cardinal-Cryptography/github-actions/create-featurenet@v7 + uses: Cardinal-Cryptography/github-actions/create-featurenet@A0-4278-fixes id: create-featurenet with: gh-ci-user: ${{ secrets.CI_GH_USER }} From a8bf9ea539047cace7385129fe50210d9517565f Mon Sep 17 00:00:00 2001 From: Marcin Date: Wed, 22 May 2024 07:36:41 +0200 Subject: [PATCH 3/4] More testing --- create-featurenet/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-featurenet/action.yml b/create-featurenet/action.yml index d7dfb4b..00bfefc 100644 --- a/create-featurenet/action.yml +++ b/create-featurenet/action.yml @@ -139,7 +139,7 @@ runs: repository: Cardinal-Cryptography/${{ inputs.repo-featurenet-template-name }} token: ${{ inputs.gh-ci-token }} path: "${{ inputs.repo-featurenet-template-name }}" - ref: main + ref: A0-4278-fixes - name: Start featurenet id: start-featurenet From ba2d7386fc15e08eaf32592bc32bc0823aaf6090 Mon Sep 17 00:00:00 2001 From: Marcin Date: Wed, 22 May 2024 08:57:38 +0200 Subject: [PATCH 4/4] Revert testing --- .github/workflows/_featurenet-create.yml | 2 +- create-featurenet/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_featurenet-create.yml b/.github/workflows/_featurenet-create.yml index b82ca49..e530d34 100644 --- a/.github/workflows/_featurenet-create.yml +++ b/.github/workflows/_featurenet-create.yml @@ -128,7 +128,7 @@ jobs: debug: true - name: Create featurenet with image tag - uses: Cardinal-Cryptography/github-actions/create-featurenet@A0-4278-fixes + uses: Cardinal-Cryptography/github-actions/create-featurenet@v7 id: create-featurenet with: gh-ci-user: ${{ secrets.CI_GH_USER }} diff --git a/create-featurenet/action.yml b/create-featurenet/action.yml index 00bfefc..d7dfb4b 100644 --- a/create-featurenet/action.yml +++ b/create-featurenet/action.yml @@ -139,7 +139,7 @@ runs: repository: Cardinal-Cryptography/${{ inputs.repo-featurenet-template-name }} token: ${{ inputs.gh-ci-token }} path: "${{ inputs.repo-featurenet-template-name }}" - ref: A0-4278-fixes + ref: main - name: Start featurenet id: start-featurenet