Last active
February 26, 2023 19:33
-
-
Save pentium10/1f1ba143619396d005c9dc7450a96ddc to your computer and use it in GitHub Desktop.
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
main: | |
params: [event] | |
steps: | |
- trainingPipelineCheck: | |
switch: | |
- condition: ${not("google.cloud.aiplatform.ui.PipelineService.CreateTrainingPipeline" == event.data.protoPayload.methodName)} | |
next: end | |
# proceed further only when we have the CreateTrainingPipeline event | |
- run: | |
call: googleapis.workflowexecutions.v1.projects.locations.workflows.executions.run | |
args: | |
workflow_id: "vertexai_pipeline_launched_clone_bigquery_table" | |
argument: | |
trainingPipelineId: ${text.split(event.data.protoPayload.response.name,"/")[5]} | |
result: runResult | |
- final: | |
return: ${runResult} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment