-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Add CloudRunServiceHook and CloudRunCreateServiceOperator
#40008
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
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
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.
Looks good overall!
There are a few nitpicks, and there's one failing test in the CI related to the system test which should be fixed.
Also, did you check yourself that it runs properly?
@VladaZakharova Would you like to take another look? :)
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Show resolved
Hide resolved
Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
|
@shahar1 CI test that was failed have now passed! |
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Show resolved
Hide resolved
|
@shahar1 Thanks for review! 🫡 |
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Show resolved
Hide resolved
|
@VladaZakharova could you review changed? |
@jx2lee - It seems that static checks + tests fail, could you please check it out and fix? |
17f4b5f to
f49f454
Compare
f49f454 to
0cf14fd
Compare
@shahar1 i fixed that. Sorry for not checking for static & tests. 🥲 |
CloudRunServiceHook and CloudRunCreateServiceOperator
shahar1
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.
A couple of more comments - please resolve when you're done :)
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Show resolved
Hide resolved
VladaZakharova
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.
Thank you for changes! Left some comments
Did you run system tests locally to check if the DAG works fine?
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
tests/system/providers/google/cloud/cloud_run/example_cloud_run_service.py
Outdated
Show resolved
Hide resolved
Sure, i checked DAG works fine! |
eladkal
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
…#40008) * init cloud_run service hook & operator * init docs * added example_cloud_run_service * remove parent init Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com> * apply reveiw - more clearer * typo * add ENV_ID in system tests * validate inputs * add deleteOperator & test * typo * modified second review * 404/409 case in operator * pass static checks * typo * modified service creation in hook & operator * fixed by reviews in tests * modified docs * fixed test code to success * modified hook * add exceptions * modified test codes * static checks --------- Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
Add Google Cloud Run Operators for Service