-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Airflow-15245] - passing custom image family name to the DataProcClu…
…sterCreateoperator (#15250) * [airflow-15245] - custom_image_family added as a parameter to DataprocCreateClusterOperator Signed-off-by: ashish <[email protected]> * [airflow-15245] - test added to check both custom_image and custom_image_family must not be passed Signed-off-by: ashish <[email protected]> * [airflow-#15245] - typo fixed in documentation Signed-off-by: ashish <[email protected]> * [Airflow-15245] - comments updated, more info provided. * [Airflow-15245] - sanity check added for image_version and custom_image_family. * Update airflow/providers/google/cloud/operators/dataproc.py Co-authored-by: Xinbin Huang <[email protected]> * Apply suggestions from code review Co-authored-by: Xinbin Huang <[email protected]> * [Airflow-15245] - added a test case to verify the generated cluster config is as expected with custom_image_family and single_node. * Remove print() from test case Co-authored-by: Ashish Patel <[email protected]> Co-authored-by: Xinbin Huang <[email protected]>
- Loading branch information
1 parent
99ec208
commit 6da36ba
Showing
2 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters