-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Switch tests in ci to use Python Breeze #26612
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
Conversation
|
cc: @Bowrna - not tested yet, but roughly complete. |
3a0b200 to
65bb711
Compare
|
Last "BIG" change to get breeze replaced completely wiht Python ! |
|
Did I mention -800 lines of bash code ? |
d75eb46 to
e7ec1db
Compare
ce14db5 to
a0ff5e2
Compare
a0ff5e2 to
3e2e02b
Compare
|
Looking for approval :) |
|
Very thoroughly tested for Public/Self-hosted runners. |
CI.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added chapter on how to debug CI jobs - all the possibilities of how you can test different parts are now nicely separated out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cleanup MSQL local folder that is used on Self-Hosted runner here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AIRFLOW_SOURCES_ROOT was duplicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found better ways to truncate the output (I simply check the length of the output after stripping or ANSI Colours (standard textwrap does not truncate ANSI colors and treats ANSI colors as characters)
a0a162b to
a7c9f8d
Compare
This is the last big change in "Rewrite Breeze to Python". Fixes: apache#23538
a7c9f8d to
9bf2d71
Compare
|
Re-running it one more time without resource debugging to see that the output is right. |
|
|
||
| @property | ||
| def mssql_data_volume(self) -> str: | ||
| docker_filesystem = get_filesystem_type("/var/lib/docker") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is run from the host isn't it? If so this call might not get the right info in cases of Docker Desktop etc. Does that matter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's actually only really used when you have tmpfs in '/var/lib/docker' (which is the case of self-hosted runners). We could likely do a better job in finding the right folder, but I think it is 'good enough' to handle the nasal on tmpfs case
ashb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just one small question about mssql tmpfs volume.
Thanks! It looks big but it is not as huge as the numbers on the PR says :). |


This is the last big change in "Rewrite Breeze to Python".
Fixes: #23538
^ 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.rstor{issue_number}.significant.rst, in newsfragments.