Skip to content

Commit 432dafb

Browse files
authored
JSCO-81: Let FIT workflow inputs override repo vars (#3)
1 parent ac442d3 commit 432dafb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/fit-testing-node-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fit:
3131
uses: couchbaselabs/fit-cli/.github/workflows/fit-cli.yaml@main
3232
with:
33-
preset: ${{ vars.FIT_CLI_PRESET || inputs.preset || 'insights-multi-release' }}
33+
preset: ${{ inputs.preset || vars.FIT_CLI_RELEASE_PRESET || 'insights-multi-release' }}
3434
collect_extra_diagnostics: ${{ inputs.collect_extra_diagnostics == '' && true || inputs.collect_extra_diagnostics }}
3535
performer: 'insights-node-fit-performer:main'
36-
channel: ${{ vars.FIT_CLI_CHANNEL || inputs.channel }}
36+
channel: ${{ inputs.channel || vars.FIT_CLI_CHANNEL }}

‎.github/workflows/fit-testing-node.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fit:
3131
uses: couchbaselabs/fit-cli/.github/workflows/fit-cli.yaml@main
3232
with:
33-
preset: ${{ vars.FIT_CLI_PRESET || inputs.preset || 'insights-multi-lite' }}
33+
preset: ${{ inputs.preset || vars.FIT_CLI_PRESET || 'insights-multi-lite' }}
3434
collect_extra_diagnostics: ${{ inputs.collect_extra_diagnostics == '' && true || inputs.collect_extra_diagnostics }}
3535
performer: 'insights-node-fit-performer:main'
36-
channel: ${{ vars.FIT_CLI_CHANNEL || inputs.channel }}
36+
channel: ${{ inputs.channel || vars.FIT_CLI_CHANNEL }}

0 commit comments

Comments
 (0)