Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about precedence of env var when getting variables #13501

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

mik-laj
Copy link
Member

@mik-laj mik-laj commented Jan 6, 2021

This behavior may not be obvious to everyone, so I display a message when this happens. Hope this will improve DX a little.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I think we also need to handle the case when variable comes from secret backend

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Jan 6, 2021
@github-actions
Copy link

github-actions bot commented Jan 6, 2021

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@mik-laj mik-laj force-pushed the warn-variable branch 2 times, most recently from 66d743c to b58be27 Compare January 9, 2021 12:30
@github-actions
Copy link

github-actions bot commented Jan 9, 2021

The Workflow run is cancelling this PR. Building images for the PR has failed. Follow the the workflow link to check the reason.

@github-actions
Copy link

The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*.

@mik-laj mik-laj merged commit 5954ef5 into apache:master Jan 10, 2021
@mik-laj mik-laj deleted the warn-variable branch January 10, 2021 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants