potiuk opened a new pull request #10731:
URL: https://github.com/apache/airflow/pull/10731


   The docker(), helm(), kubectl() functions replace the real tools
   to get verbose behaviour (we can print the exact command being
   executed for those. But when 'set +e' was set before the command
   was called - indicating that error in those functions should be
   ignored - this did not happen. The functions set 'set -e' just
   before returning the non-zero value, effectively exiting the
   script right after. This caused first time experience to be not
   good.
   
   The fix also fixes behaviour of stdout and stderr for those
   functions - previously they were joined to be able to be
   printed to OUTPUT_FILE but this lost the stderr/stdout
   distinction. Now both stdout and stderr are printed to the
   output file but they are also redirected to stdout/stderr
   respectively, so that 2>/dev/null works as expected.
   
   
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to