Skip to content

Commit a3430f5

Browse files
author
Bhautik Vala
committed
[patch] Introduce aibroker_instance_id
1 parent ae77195 commit a3430f5

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ 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-
mas_aibroker_version:
81-
9.0.x: 9.0.5
8280

8381
# Extra Images for UDS
8482
# ------------------------------------------------------------------------------

src/mas/devops/tekton.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def launchInstallPipelineForAiservice(dynClient: DynamicClient, params: dict) ->
406406
"""
407407
Create a PipelineRun to install the Aiservice
408408
"""
409-
instanceId = params["mas_instance_id"]
409+
instanceId = params["aibroker_instance_id"]
410410
namespace = f"mas-{instanceId}-pipelines"
411411
timestamp = launchPipelineRun(dynClient, namespace, "pipelinerun-aiservice-install", params)
412412

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ spec:
345345
value: "{{ mas_add_channel }}"
346346
{%- endif %}
347347

348-
# MAS Core
348+
# Common params
349349
# -------------------------------------------------------------------------
350-
- name: mas_instance_id
351-
value: "{{ mas_instance_id }}"
350+
- name: aibroker_instance_id
351+
value: "{{ aibroker_instance_id }}"
352352
{%- if mas_special_characters is defined and mas_special_characters != "" %}
353353
- name: mas_special_characters
354354
value: "{{ mas_special_characters }}"

0 commit comments

Comments
 (0)