-
Notifications
You must be signed in to change notification settings - Fork 16.4k
[AIRFLOW-3281] Fix Kubernetes operator with git-sync #4444
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
.travis.yml
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.
@kaxil Let's make sure we're still doing codecov once the tests pass. Not sure if removing this would turn it off.
|
Oh wait... is none of the docker-compose stuff in 1-10-test? |
81402e1 to
d068671
Compare
|
@dimberman I tried to merge #3770 into |
|
Thank you guys, yes @dimberman you can just change it to the name/description of #3770? And yup docker-compose stuff is not in this branch |
|
@kaxil I'm seeing a lot of flake8 issues. Is it possible that some commit changed our flake standards from when these PRs were made? Does flake matter for this minor release since these are just cherry picks? |
|
I'm fine to fix the flake8 with an extra commit but also don't know whether we want to add in commits that aren't in master to the test branches. |
|
It is fine to add flake8 commit as it just changes code formatting. The next release would be 1.11 or 2.0 which would be a direct branch of the master. So it is good. |
|
Great! I'll have time for that either tonight or tomorrow night (@odracci you're also welcome to take a stab at it should be pretty simple. Just lemme know if you do so I don't duplicate work). |
|
@kaxil @dimberman The missing piece is #3772 |
|
Sorry, I merged it and had to revert which caused this piece to fail. May well have to create a new PR. |
|
@kaxil, what is the issue? |
|
Trying to resolve conflicts :D so that we can include #3770 and your DAG-level access commit |
|
hey @kaxil , that's great news. I think we may need to revert this commit(b5b9287#diff-a7b22c07c43739c8eb0850a6fd6f7eb8) in v1-10-test branch as it is already included in master branch and cherry-pick the same commit from master branch. I think the original author creates a separate commit for v10.1 release. Once that commit is reverted, thing should be much easier. And we should include this critical fix as well(bf45855) once the commit is resolved. |
|
@kaxil, thanks for running the release :) |
|
@feng-tao I have included that commit as well. @dimberman I have spent some time today and cherry-picked and resolved some conflicts (with some help from this PR - thank you guys), it would be great if you can verify if everything that was needed is there. And then we will try to resolve issues with tests if any. |
|
Travis has passed on v1-10-test (Travis link) after 2 sleepless nights 🎉 🎉 . All of the changes for Kuberentes and DAG Level Access has been included. |
|
wow!!! Thanks for the great work @kaxil for driving the release! |
Make sure you have checked all steps below.
Jira
Description
Currently the implementation of git-sync is broken because:
taken into account in AIRFLOW__CORE__DAGS_FOLDER
Dags/logs hostPath volume has been added (needed if airflow run in
kubernetes in local environment)
In this PR I also removed worker_dags_folder config because IMO is redundant. In fact is possible to define it in dags_folder using a specific airflow-configmap for the workers
Tests
To avoid false positive in CI load_examples is set to False
otherwise DAGs from airflow/example_dags are always loaded. In this
way is possible to test import in DAGs.
To do so KubernetesExecutorTest now uses a specific folder airflowexample_dags_kubernetes to run test instead of airflow/example_dags and the DAG example_kubernetes_annotation imports a an external module
Commits
Documentation
Code Quality
flake8