-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Make current working directory as templated field in BashOperator #37928
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Taragolis
added
the
area:core-operators
Operators, Sensors and hooks within Core Airflow
label
Mar 6, 2024
uranusjr
reviewed
Mar 6, 2024
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Taragolis
force-pushed
the
bash-templated-cwd
branch
from
March 6, 2024 08:26
8aea1fa
to
fc16906
Compare
uranusjr
approved these changes
Mar 6, 2024
vincbeck
approved these changes
Mar 6, 2024
eladkal
approved these changes
Mar 6, 2024
potiuk
added a commit
to potiuk/airflow
that referenced
this pull request
Mar 6, 2024
…ator (apache#37928)" This reverts commit db07eb1.
howardyoo
pushed a commit
to howardyoo/airflow
that referenced
this pull request
Mar 18, 2024
…ache#37928) * Make current working directory as templated field in BashOperator * Update airflow/operators/bash.py Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com> --------- Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
howardyoo
pushed a commit
to howardyoo/airflow
that referenced
this pull request
Mar 18, 2024
…ator (apache#37928)" (apache#37952) This reverts commit db07eb1.
howardyoo
pushed a commit
to howardyoo/airflow
that referenced
this pull request
Mar 31, 2024
…ator (apache#37928)" (apache#37952) This reverts commit db07eb1.
utkarsharma2
pushed a commit
to astronomer/airflow
that referenced
this pull request
Apr 22, 2024
…ache#37928) * Make current working directory as templated field in BashOperator * Update airflow/operators/bash.py Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com> --------- Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
utkarsharma2
pushed a commit
to astronomer/airflow
that referenced
this pull request
Apr 22, 2024
…ator (apache#37928)" (apache#37952) This reverts commit db07eb1.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:core-operators
Operators, Sensors and hooks within Core Airflow
type:improvement
Changelog: Improvements
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Make cwd, as templated fields in BashOperator, so it might be easier to set CWD as folder where DAG placed as
{{ dag.folder }}
or DAG Folders{{ conf.get_mandatory_value('core', 'dags_folder') }}
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.