Skip to content

Commit 60971ed

Browse files
authored
Update datascience pipeline run URL in Elyra (#137)
1 parent 3f835fb commit 60971ed

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

jupyter/datascience/ubi9-python-3.9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN mkdir /opt/app-root/runtimes && \
3636
sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/kfp.json && \
3737
sed -i "s/kubeflow-service/data-science-pipeline-service/g" /opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/kfp.json && \
3838
sed -i "s/\"default\": \"Argo\",/\"default\": \"Tekton\",/g" /opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/kfp.json && \
39-
# Workaround for passing ssl_sa_cert
39+
# Workaround for passing ssl_sa_cert and to ensure that Elyra redirects to a correct pipeline run URL
4040
patch /opt/app-root/lib/python3.9/site-packages/elyra/pipeline/kfp/kfp_authentication.py -i utils/kfp_authentication.patch && \
4141
patch /opt/app-root/lib/python3.9/site-packages/elyra/pipeline/kfp/processor_kfp.py -i utils/processor_kfp.patch && \
4242
# switch to Data Science Pipeline in component catalog \

jupyter/datascience/ubi9-python-3.9/utils/processor_kfp.patch

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,22 @@
88
)
99
else:
1010
client = ArgoClient(
11+
@@ -435,7 +435,7 @@
12+
13+
self.log_pipeline_info(
14+
pipeline_name,
15+
- f"pipeline submitted: {public_api_endpoint}/#/runs/details/{run.id}",
16+
+ f"pipeline submitted: {public_api_endpoint}/{run.id}",
17+
duration=time.time() - t0,
18+
)
19+
20+
@@ -451,7 +451,7 @@
21+
22+
return KfpPipelineProcessorResponse(
23+
run_id=run.id,
24+
- run_url=f"{public_api_endpoint}/#/runs/details/{run.id}",
25+
+ run_url=f"{public_api_endpoint}/{run.id}",
26+
object_storage_url=object_storage_url,
27+
object_storage_path=object_storage_path,
28+
)
29+

0 commit comments

Comments
 (0)