Skip to content

Commit bfae62a

Browse files
committed
Merge branch 'stable' into mascore-13906
2 parents e67baed + 7ca3143 commit bfae62a

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

bin/mas-devops-notify-slack

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def notifyAnsibleStart(channels: list[str], taskName: str, instanceId: str | Non
189189

190190
# Send task start message as thread reply to all channels
191191
taskMessage = [
192-
SlackUtil.buildSection(f"⏳ **{taskName}** - Started")
192+
SlackUtil.buildSection(f"⏳ *{taskName}* - Started")
193193
]
194194

195195
allSuccess = True
@@ -292,7 +292,7 @@ def notifyAnsibleComplete(channels: list[str], rc: int, taskName: str, instanceI
292292

293293
# Build the completion message
294294
taskMessage = [
295-
SlackUtil.buildSection(f"{emoji} **{taskName}** - {status}{durationText}")
295+
SlackUtil.buildSection(f"{emoji} *{taskName}* - {status}{durationText}")
296296
]
297297
if rc != 0:
298298
taskMessage.append(SlackUtil.buildSection(f"Return Code: `{rc}`\nCheck logs for details"))

src/mas/devops/pre_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _get_preinstall_mas_rbac_namespaces(masInstanceId: str, permissionMode: str,
180180
namespaces = {f"mas-{masInstanceId}-core"}
181181

182182
appNamespaces = {
183-
"aiservice": f"mas-{masInstanceId}-aiservice",
183+
"aiservice": f"aiservice-{masInstanceId}",
184184
"arcgis": f"mas-{masInstanceId}-arcgis",
185185
"facilities": f"mas-{masInstanceId}-facilities",
186186
"iot": f"mas-{masInstanceId}-iot",

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ spec:
104104
- name: db2_action_facilities
105105
value: "{{ db2_action_facilities}}"
106106
- name: db2_action_aiservice
107-
value: "{{ db2_action_aiservice }}"
107+
value: "{{ db2_action_aiservice }}"
108108

109109
# Dependencies - Db2u Operator
110110
# -------------------------------------------------------------------------
@@ -630,6 +630,10 @@ spec:
630630
- name: mas_appws_bindings_jdbc_manage
631631
value: "{{ mas_appws_bindings_jdbc_manage }}"
632632
{%- endif %}
633+
{%- if mas_appws_bindings_kafka_manage is defined and mas_appws_bindings_kafka_manage != "" %}
634+
- name: mas_appws_bindings_kafka_manage
635+
value: "{{ mas_appws_bindings_kafka_manage }}"
636+
{%- endif %}
633637
{%- if mas_app_settings_persistent_volumes_flag is defined and mas_app_settings_persistent_volumes_flag != "" %}
634638
- name: mas_app_settings_persistent_volumes_flag
635639
value: "{{ mas_app_settings_persistent_volumes_flag }}"
@@ -827,6 +831,10 @@ spec:
827831
value: "{{ aiservice_instance_id }}"
828832
- name: aiservice_channel
829833
value: "{{ aiservice_channel }}"
834+
{%- if configure_aiassistant is defined and configure_aiassistant != "" %}
835+
- name: configure_aiassistant
836+
value: "{{ configure_aiassistant }}"
837+
{%- endif %}
830838

831839
- name: environment_type
832840
value: "{{ environment_type }}"
@@ -844,14 +852,12 @@ spec:
844852
value: "{{ tenant_scheduling_config_file }}"
845853
{%- endif %}
846854

847-
# RSL
855+
{%- if rsl_ca_crt is defined and rsl_ca_crt != "" %}
856+
# RSL - CA Certificate
848857
# -------------------------------------------------------------------------
849-
- name: rsl_url
850-
value: "{{ rsl_url }}"
851-
- name: rsl_org_id
852-
value: "{{ rsl_org_id }}"
853-
- name: rsl_token
854-
value: "{{ rsl_token }}"
858+
- name: rsl_ca_crt
859+
value: "{{ rsl_ca_crt }}"
860+
{%- endif %}
855861

856862
# S3
857863
# -------------------------------------------------------------------------
@@ -960,7 +966,7 @@ spec:
960966
- name: shared-certificates
961967
secret:
962968
secretName: pipeline-certificates
963-
969+
964970
# The Db2 license file
965971
- name: shared-db2
966972
secret:

0 commit comments

Comments
 (0)