-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[AIRFLOW-3611] Breeze #4932
[AIRFLOW-3611] Breeze #4932
Conversation
0dcbe8b
to
6d155c3
Compare
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.
Non-complete look, just a few spot comments.
f4f2aa6
to
8380460
Compare
8380460
to
52d9200
Compare
@mik-laj -> we have .rst Breeze description now. |
b133d80
to
9263f36
Compare
!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
ae1d111
to
e4158cf
Compare
@ashb @Fokko -> as a follow up I also implemented auto-complete for "run-test" method inside the container. This was by far the single biggest problem I had when running the tests. Having to remember module names and the : in the right place was a major pain. Now it's super convenient to start typing the module name and use auto-complete. It goes down to individual tests. I also renamed and shortened the run_unit_test.sh method to simple 'run-test' that you can run anywhere (it is in the path). I also added --skip-db-init flag - most of the tests do not require to re-run the database initialisation and if you want to re-run single test, it takes awfully lot of time. So you can now pass --skip-db-init flag to skip resetdb/initdb. You can even autocomplete it ;). I think with those changes, life of developers trying to use breeze/replicate CI tests will be much, much easier. I used nosetests for now but we can do very similar thing with pytest when we switch to it. |
5b7f8b1
to
e2cb22d
Compare
Hello @ashb @mik-laj @andriisoldatenko @dimberman @kaxil @Fokko - I think breeze environment is now ready to be merged. After all the changes merged so far Breeze now becomes a swiss-army-knife of everything-testing for airflow. It builds on top of the CI images and it gives access to all related to testing, static code check (using pre-commits), image management from a single |
Comprehensive (and I think very usable) documentation here: Besides Breeze will guide users in many places in case of problems/missing prerequisites and the like. |
a47c3a5
to
61dc768
Compare
Wooo! Ok I'm gonna roll up my sleeves this morning and dive in on this one. |
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.
First look-through this looks good, but I'm gonna hold off an "Approve" until I've had time to actually play with this environment.
61dc768
to
95c8090
Compare
I simplified pylint - it is now fully integrated in pre-commit including filtering out files from pylint_todo list - that made it quite a bit simpler for running static checks with breeze (but now it is based on not-yet merged two commits with AIRFLOW-5285) |
95c8090
to
e29b639
Compare
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.
Awesome job @potiuk . A big chunk of work, really appreciate it.
Small nits. I haven't yet tested it but the docs look really solid. Will add more comments once I do test it next week.
e29b639
to
9cc7d0f
Compare
9cc7d0f
to
e79923d
Compare
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.
Good luck!
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.
Good luck!
Woho! Finally ! |
This is a Draft pull request for initial comments. It's not yet intended to be merged.The intention is to merge it :)