Skip to content

Commit e2926c0

Browse files
Bhautik-ValaHetviShah1Bhautik Valawhitfiea
authored
[minor] Add support For Installation and FVT setup for Aiservice 9.1.x (#79)
Co-authored-by: Hetvi Shah <[email protected]> Co-authored-by: Bhautik Vala <[email protected]> Co-authored-by: Andrew Whitfield <[email protected]>
1 parent a20d1cc commit e2926c0

File tree

3 files changed

+460
-1
lines changed

3 files changed

+460
-1
lines changed

src/mas/devops/data/catalogs/v9-250403-amd64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ mas_visualinspection_version:
7777
9.0.x: 9.0.8 # updated
7878
8.10.x: 8.8.4 # No Update
7979
8.11.x: 8.9.11 # updated
80-
80+
8181
# Extra Images for UDS
8282
# ------------------------------------------------------------------------------
8383
uds_extras_version: 1.5.0

src/mas/devops/tekton.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,18 @@ def launchInstallPipeline(dynClient: DynamicClient, params: dict) -> str:
402402
return pipelineURL
403403

404404

405+
def launchInstallPipelineForAiservice(dynClient: DynamicClient, params: dict) -> str:
406+
"""
407+
Create a PipelineRun to install the Aiservice
408+
"""
409+
instanceId = params["aibroker_instance_id"]
410+
namespace = f"mas-{instanceId}-pipelines"
411+
timestamp = launchPipelineRun(dynClient, namespace, "pipelinerun-aiservice-install", params)
412+
413+
pipelineURL = f"{getConsoleURL(dynClient)}/k8s/ns/mas-{instanceId}-pipelines/tekton.dev~v1beta1~PipelineRun/{instanceId}-install-{timestamp}"
414+
return pipelineURL
415+
416+
405417
def launchUpdatePipeline(dynClient: DynamicClient, params: dict) -> str:
406418
"""
407419
Create a PipelineRun to update the Maximo Operator Catalog

0 commit comments

Comments
 (0)