Skip to content

Commit

Permalink
Add FIXME for kubeflow/pipelines#10914
Browse files Browse the repository at this point in the history
Signed-off-by: Constantin M Adam <[email protected]>
  • Loading branch information
cmadam committed Nov 14, 2024
1 parent 528457c commit fffb630
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions transforms/universal/fdedup/kfp_ray/fdedup_wf.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,12 @@ def fuzzydedup(
prefix="scdata",
)
ComponentUtils.add_settings_to_component(execute_signature_calc_job, ONE_WEEK_SEC)
ComponentUtils.set_s3_env_vars_to_component(execute_signature_calc_job, data_s3_access_secret)
ComponentUtils.set_s3_env_vars_to_component(
execute_signature_calc_job, scdata_s3_access_secret, prefix="scdata"
)
# FIXME: see https://github.com/kubeflow/pipelines/issues/10914
if os.getenv("KFPv2", "0") == "1":
ComponentUtils.set_s3_env_vars_to_component(execute_signature_calc_job, data_s3_access_secret)
ComponentUtils.set_s3_env_vars_to_component(
execute_signature_calc_job, scdata_s3_access_secret, prefix="scdata"
)
execute_signature_calc_job.after(compute_signature_calc_exec_params)

# Get the parameters for the cluster analysis job
Expand Down Expand Up @@ -311,7 +313,9 @@ def fuzzydedup(
server_url=server_url,
)
ComponentUtils.add_settings_to_component(execute_cluster_analysis_job, ONE_WEEK_SEC)
ComponentUtils.set_s3_env_vars_to_component(execute_cluster_analysis_job, data_s3_access_secret)
# FIXME: see https://github.com/kubeflow/pipelines/issues/10914
if os.getenv("KFPv2", "0") == "1":
ComponentUtils.set_s3_env_vars_to_component(execute_cluster_analysis_job, data_s3_access_secret)
execute_cluster_analysis_job.after(compute_cluster_analysis_exec_params)

compute_get_duplicate_list_exec_params = compute_get_duplicate_list_exec_params_op(
Expand All @@ -338,7 +342,9 @@ def fuzzydedup(
server_url=server_url,
)
ComponentUtils.add_settings_to_component(execute_get_duplicate_list_job, ONE_WEEK_SEC)
ComponentUtils.set_s3_env_vars_to_component(execute_get_duplicate_list_job, data_s3_access_secret)
# FIXME: see https://github.com/kubeflow/pipelines/issues/10914
if os.getenv("KFPv2", "0") == "1":
ComponentUtils.set_s3_env_vars_to_component(execute_get_duplicate_list_job, data_s3_access_secret)
execute_get_duplicate_list_job.after(compute_get_duplicate_list_exec_params)

compute_data_cleaning_exec_params = compute_data_cleaning_exec_params_op(
Expand Down Expand Up @@ -368,10 +374,12 @@ def fuzzydedup(
prefix="dcdata",
)
ComponentUtils.add_settings_to_component(execute_data_cleaning_job, ONE_WEEK_SEC)
ComponentUtils.set_s3_env_vars_to_component(execute_data_cleaning_job, data_s3_access_secret)
ComponentUtils.set_s3_env_vars_to_component(
execute_data_cleaning_job, dcdata_s3_access_secret, prefix="dcdata"
)
# FIXME: see https://github.com/kubeflow/pipelines/issues/10914
if os.getenv("KFPv2", "0") == "1":
ComponentUtils.set_s3_env_vars_to_component(execute_data_cleaning_job, data_s3_access_secret)
ComponentUtils.set_s3_env_vars_to_component(
execute_data_cleaning_job, dcdata_s3_access_secret, prefix="dcdata"
)
execute_data_cleaning_job.after(compute_data_cleaning_exec_params)


Expand Down

0 comments on commit fffb630

Please sign in to comment.