Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into refactor/SPV-1087-a…
Browse files Browse the repository at this point in the history
…dd-new-version-of-the-client.
  • Loading branch information
mgosek-4chain committed Jan 7, 2025
2 parents 30ffde5 + b333b42 commit 32893b4
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6.0.0
uses: goreleaser/goreleaser-action@v6.1.0
with:
distribution: goreleaser
version: v1
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/trigger-regression-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Regression Tests"
run-name: "Regression Tests for ${{ github.head_ref || github.ref }} | ID: ${{ github.run_id }}-${{ github.run_attempt }}"

on:
workflow_dispatch:
inputs:
keep_instances:
description: 'When should it keep instances created during tests?'
required: true
default: 'never'
type: choice
options:
- 'always'
- 'failure'
- 'never'
pull_request_target:
types: [labeled]

jobs:
test:
uses: 4chain-ag/spv-wallet-regression/.github/workflows/run-regression-tests.yaml@main
with:
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 }}
5 changes: 3 additions & 2 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 32893b4

Please sign in to comment.