Skip to content

Commit e9be374

Browse files
author
Bhautik Vala
committed
[patch] Remove standalone_aiservice_install flag
1 parent 28e5c60 commit e9be374

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/mas/devops/tekton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,11 @@ def launchPipelineRun(dynClient: DynamicClient, namespace: str, templateName: st
475475
return timestamp
476476

477477

478-
def launchInstallPipeline(dynClient: DynamicClient, params: dict, standalone_aiservice_install: str = "false") -> str:
478+
def launchInstallPipeline(dynClient: DynamicClient, params: dict) -> str:
479479
"""
480480
Create a PipelineRun to install the chosen MAS ( or AI Service ) instance (and selected dependencies)
481481
"""
482-
applicationType = "aiservice" if standalone_aiservice_install == "true" else "mas"
482+
applicationType = "aiservice" if not params.get("mas_instance_id") else "mas"
483483
params["applicationType"] = applicationType
484484
instanceId = params[f"{applicationType}_instance_id"]
485485
namespace = f"{applicationType}-{instanceId}-pipelines"

src/mas/devops/templates/pipelinerun-install.yml.j2

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,6 @@ spec:
800800

801801
# AI Service
802802
# -------------------------------------------------------------------------
803-
{%- if standalone_aiservice_install is defined and standalone_aiservice_install != "" %}
804-
- name: standalone_aiservice_install
805-
value: "{{ standalone_aiservice_install }}"
806-
{%- endif %}
807803
- name: aiservice_instance_id
808804
value: "{{ aiservice_instance_id }}"
809805
- name: aiservice_channel

0 commit comments

Comments
 (0)