Skip to content

Commit

Permalink
[ADP-3224] Add branch input to control docker E2E workflow (#4357)
Browse files Browse the repository at this point in the history
- [x] Add a branch input to the docker E2E workflow so that we can
choose the source of the tests beside the artifacts to run them against
and the workflow source.

ADP-3224
  • Loading branch information
paolino authored Dec 18, 2023
2 parents 6692424 + e9c2fcc commit cf520c4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/e2e-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@ on:
workflow_dispatch:
inputs:
nodeTag:
description: 'Node tag (docker)'
description: 'Node docker-image tag to use'
required: true
default: '8.1.2'
walletTag:
description: 'Wallet tag (docker)'
description: 'Wallet docker-image tag to use'
required: true
default: 'rc-latest'
tags:
description: 'Test tags (all, light, offchain...)'
default: 'all'
branch:
description: 'Clone E2E tests from branch'
default: 'rc-latest'

defaults:
run:
Expand All @@ -39,7 +42,7 @@ jobs:
- name: Checkout the rc-latest tag
uses: actions/[email protected]
with:
ref: ${{ github.event.inputs.walletTag || 'rc-latest' }}
ref: ${{ github.event.inputs.branch || 'rc-latest' }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit cf520c4

Please sign in to comment.