From 5a6450f876bbed13cc79f4e4769d85178f3dd6f8 Mon Sep 17 00:00:00 2001 From: Damian Orzepowski Date: Wed, 11 Dec 2024 08:19:23 +0100 Subject: [PATCH 1/2] ci(SPV-1271): trigger regression test workflow (#303) --- .github/labels.yml | 3 +++ .../workflows/trigger-regression-tests.yml | 19 +++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/labels.yml b/.github/labels.yml index 2543132..dfd3c30 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -55,3 +55,6 @@ - color: 50e061 description: "PR was tested by a team member" name: "tested" +- color: "8e7cc3" + description: "Runs regression tests" + name: "regression-tests" diff --git a/.github/workflows/trigger-regression-tests.yml b/.github/workflows/trigger-regression-tests.yml index 6abc79e..40d4945 100644 --- a/.github/workflows/trigger-regression-tests.yml +++ b/.github/workflows/trigger-regression-tests.yml @@ -18,7 +18,18 @@ on: jobs: test: - runs-on: ubuntu-latest - steps: - - name: print - run: echo "Hello, World!" + uses: 4chain-ag/spv-wallet-regression/.github/workflows/run-regression-tests.yaml@main + with: + image_tag: ${{ needs.release.outputs.imageVersion }} + run_id: '${{ github.run_id }}-${{ github.run_attempt }}' + keep_instances: ${{ inputs.keep_instances }} + go_client_ref: ${{ github.head_ref || github.ref }} + run_js_client_tests: false + secrets: + MASTER_INSTANCE_URL: ${{ secrets.REG_MASTER_INSTANCE_URL }} + MASTER_INSTANCE_XPRIV: ${{ secrets.REG_MASTER_INSTANCE_XPRIV }} + BLOCK_HEADERS_SERVICE_URL: ${{ secrets.REG_BLOCK_HEADERS_SERVICE_URL }} + BLOCK_HEADERS_SERVICE_AUTH_TOKEN: ${{ secrets.REG_BLOCK_HEADERS_SERVICE_AUTH_TOKEN }} + ARGOCD_SERVER: ${{ secrets.REG_ARGOCD_SERVER }} + ARGOCD_USERNAME: ${{ secrets.REG_ARGOCD_USERNAME }} + ARGOCD_PASSWORD: ${{ secrets.REG_ARGOCD_PASSWORD }} From d7d9eb02ffb3d6098614b7b550fac757d94fea21 Mon Sep 17 00:00:00 2001 From: Damian Orzepowski Date: Wed, 11 Dec 2024 09:36:42 +0100 Subject: [PATCH 2/2] fix: workflow not using latest spv-wallet --- .github/workflows/trigger-regression-tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/trigger-regression-tests.yml b/.github/workflows/trigger-regression-tests.yml index 40d4945..9833567 100644 --- a/.github/workflows/trigger-regression-tests.yml +++ b/.github/workflows/trigger-regression-tests.yml @@ -20,7 +20,6 @@ jobs: test: uses: 4chain-ag/spv-wallet-regression/.github/workflows/run-regression-tests.yaml@main with: - image_tag: ${{ needs.release.outputs.imageVersion }} run_id: '${{ github.run_id }}-${{ github.run_attempt }}' keep_instances: ${{ inputs.keep_instances }} go_client_ref: ${{ github.head_ref || github.ref }}