File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -820,10 +820,11 @@ def launchBackupPipeline(dynClient: DynamicClient, params: dict) -> str:
820820 NotFoundError: If resources cannot be created
821821 """
822822 instanceId = params ["mas_instance_id" ]
823+ backupVersion = params ["backup_version" ]
823824 namespace = f"mas-{ instanceId } -pipelines"
824- timestamp = launchPipelineRun (dynClient , namespace , "pipelinerun-backup" , params )
825+ launchPipelineRun (dynClient , namespace , "pipelinerun-backup" , params )
825826
826- pipelineURL = f"{ getConsoleURL (dynClient )} /k8s/ns/mas-{ instanceId } -pipelines/tekton.dev~v1beta1~PipelineRun/{ instanceId } -backup-{ timestamp } "
827+ pipelineURL = f"{ getConsoleURL (dynClient )} /k8s/ns/mas-{ instanceId } -pipelines/tekton.dev~v1beta1~PipelineRun/{ instanceId } -backup-{ backupVersion } "
827828 return pipelineURL
828829
829830
You can’t perform that action at this time.
0 commit comments