Add Run providerId to RunCompletionEvent
Closed this issue · 0 comments
jmendesky commented
Change RunCompletionEvent to
{
"id": "{{ UNIQUE_MESSAGE_ID }}",
"specversion": "1.0",
"source": "{{ PROVIDER_NAME }}",
"type": "org.kubeflow.pipelines.run-completion",
"datacontenttype": "application/json",
"data": {
"status": "succeeded|failed",
"pipelineName":"{{ PIPELINE_NAMESPACE }}/{{ PIPELINE_NAME }}",
"runConfigurationName": "{{ RUNCONFIGURATION_NAMESPACE }}/{{ RUNCONFIGURATION_NAME }}",
"runName": "{{ RUN_NAMESPACE }}/{{ RUN_NAME }}",
"runId": "{{ RUN_ID }}",
"servingModelArtifacts": [
{
"name":"{{ PIPELINE_NAME }}:{{ WORKFLOW_NAME }}:Pusher:pushed_model:{{ PUSHER_INDEX }}",
"location":"gs://{{ PIPELINE_ROOT }}/Pusher/pushed_model/{{ MODEL_VERSION }}"
}
]
}
}
Tasks:
- Make
runConfigurationName
andpipelineName
namespaced - Fill
runId
with providerId