mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-07 21:17:07 +00:00
MINOR: fix debug resolution in e2e python github workflow (#18437)
* fix debug default * fixed expression * test inverted expression * test inverted expression * added description * added logging for inputs debug, debug * fixed debug condition * added github ref * added github ref
This commit is contained in:
parent
fe4c63c210
commit
4c3a784f7c
6
.github/workflows/py-cli-e2e-tests.yml
vendored
6
.github/workflows/py-cli-e2e-tests.yml
vendored
@ -20,12 +20,12 @@ on:
|
|||||||
required: True
|
required: True
|
||||||
default: '["bigquery", "dbt_redshift", "metabase", "mssql", "mysql", "redash", "snowflake", "tableau", "powerbi", "vertica", "python", "redshift", "quicksight", "datalake_s3", "postgres", "oracle", "athena", "bigquery_multiple_project"]'
|
default: '["bigquery", "dbt_redshift", "metabase", "mssql", "mysql", "redash", "snowflake", "tableau", "powerbi", "vertica", "python", "redshift", "quicksight", "datalake_s3", "postgres", "oracle", "athena", "bigquery_multiple_project"]'
|
||||||
debug:
|
debug:
|
||||||
description: "If Debugging the Pipeline, Slack and Sonar events won't be triggered [default, true or false]"
|
description: "If Debugging the Pipeline, Slack and Sonar events won't be triggered [default, true or false]. Default will trigger only on main branch."
|
||||||
required: False
|
required: False
|
||||||
default: "default"
|
default: "default"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DEBUG: ${{ inputs.debug == 'true' || (inputs.debug == 'default' && github.ref != 'refs/heads/main') }}' }}
|
DEBUG: "${{ ((inputs.debug == 'default' && github.ref == 'refs/heads/main') && 'true') || (inputs.debug != 'default' && inputs.debug) || 'false' }}"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
DEBUG: ${{ env.DEBUG }}
|
DEBUG: ${{ env.DEBUG }}
|
||||||
steps:
|
steps:
|
||||||
- run: echo "null"
|
- run: echo "INPUTS_DEBUG=${{ inputs.debug }}, GITHUB_REF=${{ github.ref }}, DEBUG=$DEBUG"
|
||||||
|
|
||||||
py-cli-e2e-tests:
|
py-cli-e2e-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user