Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
6a1f382
[patch] Enable mas-install pipeline to install AI Service as well
Nov 21, 2025
ccef5df
[patch] Fix AI service test bug
Nov 21, 2025
821212b
[patch] Delete AI Service test temporarily
Nov 21, 2025
ec1f619
[patch] Fix params issue
Nov 22, 2025
a2bcd5e
[patch] Add aiservice test
Nov 22, 2025
393dff0
[patch] change python-devops
Nov 22, 2025
e09cb1d
[patch] Fix aiservice tests
Nov 22, 2025
15d4b9a
[patch] Fix params related issue in mas-install pipeline
Nov 24, 2025
b7a0af5
[patch] remove unwanted param
Nov 24, 2025
89ea99a
[patch] Fix when condition in db2
Nov 24, 2025
abb5329
[patch] Modify python-devops
Nov 24, 2025
788c9eb
[patch] Modify python-devops
Nov 24, 2025
89f828b
[patch] Change in dependency taskdef
Nov 24, 2025
d0bbeb7
[patch] Create diff DRO and Mongo taskdefs for aiservice and mas
Nov 24, 2025
6c68d76
[patch] Fix template_vars related issue
Nov 24, 2025
c1228cd
[patch] Fix bugs
Nov 25, 2025
7b3cb60
[patch] Fix runafter and Create 2 diff sls taskdefs
Nov 25, 2025
af4cf55
[patch] Fix db2-aiservice issue
Nov 25, 2025
ceed2a8
[patch] Fix bugs
Nov 25, 2025
1f6114a
[patch] change python-devops
Nov 25, 2025
e5e8424
Merge branch 'master' into bv75
Nov 25, 2025
991fca1
[patch] Change python-devops
Nov 25, 2025
ea4bb29
Merge branch 'master' into bv75
Nov 28, 2025
56610f9
[patch] Fix wx_full related issue
Nov 28, 2025
e99bbc8
Merge branch 'master' into bv75
Dec 1, 2025
fb360af
[patch] Update python-devops
Dec 1, 2025
3347521
[patch] remove aiservice-post-verify
Dec 4, 2025
46fc598
Merge branch 'master' into bv75
Dec 4, 2025
7823991
[patch] remove aiservice-install pipeline
Dec 4, 2025
bc0a69c
[patch] Delete mas_devops.tar.gz
Bhautik-Vala Dec 5, 2025
813c047
Merge branch 'master' into bv75
Dec 8, 2025
3af2cd1
Merge branch 'master' into bv75
Dec 9, 2025
eed32bc
[patch] Fix dro taskdef
Dec 9, 2025
a040bee
[patch] Integrate aiservice-tenant task into aiservice
Dec 10, 2025
b96cb3f
[patch] Refactor sls/dro/mongo in mas-install pipeline
Dec 10, 2025
7580f9a
Merge branch 'master' into bv75
Dec 11, 2025
f24d376
[patch] Merge branch 'master' into bv75
Dec 11, 2025
971dad2
[patch] Remove standalone_aiservice_install flag
Dec 11, 2025
41c6c39
[patch] Fix db2 when condition
Dec 11, 2025
700de80
[patch] Remove standalone_aiservice_install flag from python-devops
Dec 12, 2025
21c3e1b
[patch] Merge branch 'master' into bv75
Dec 12, 2025
5d261ab
[patch] remove python-devops local tar
Dec 12, 2025
a391017
[patch] Re-trigger for including latest python-devops
Dec 12, 2025
a87c169
Merge branch 'master' into bv75
Dec 15, 2025
b6904e6
[patch] Re-trigger for include latest python-devops
Dec 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions python/src/mas/cli/aiservice/install/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
prepareAiServicePipelinesNamespace,
prepareInstallSecrets,
testCLI,
launchAiServiceInstallPipeline
launchInstallPipeline
)

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -347,7 +347,6 @@ def install(self, argv):
# We use the presence of --mas-instance-id to determine whether
# the CLI is being started in interactive mode or not
instanceId = args.aiservice_instance_id

# Properties for arguments that control the behavior of the CLI
self.noConfirm = args.no_confirm
self.waitForPVC = not args.no_wait_for_pvc
Expand Down Expand Up @@ -491,7 +490,7 @@ def install(self, argv):
h.stop_and_persist(symbol=self.successIcon, text=f"Latest Tekton definitions are installed (v{self.version})")

with Halo(text=f"Submitting PipelineRun for {self.getParam('aiservice_instance_id')} install", spinner=self.spinner) as h:
pipelineURL = launchAiServiceInstallPipeline(dynClient=self.dynamicClient, params=self.params)
pipelineURL = launchInstallPipeline(dynClient=self.dynamicClient, params=self.params)
if pipelineURL is not None:
h.stop_and_persist(symbol=self.successIcon, text=f"PipelineRun for {self.getParam('aiservice_instance_id')} install submitted")
print_formatted_text(HTML(f"\nView progress:\n <Cyan><u>{pipelineURL}</u></Cyan>\n"))
Expand Down
4 changes: 2 additions & 2 deletions python/test/aiservice/install/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_install_noninteractive(tmpdir):
mock.patch('mas.cli.aiservice.install.app.getCurrentCatalog') as get_current_catalog,
mock.patch('mas.cli.aiservice.install.app.installOpenShiftPipelines'),
mock.patch('mas.cli.aiservice.install.app.updateTektonDefinitions'),
mock.patch('mas.cli.aiservice.install.app.launchAiServiceInstallPipeline') as launch_ai_service_install_pipeline
mock.patch('mas.cli.aiservice.install.app.launchInstallPipeline') as launch_ai_service_install_pipeline
):
dynamic_client_class.return_value = dynamic_client
get_nodes.return_value = [{'status': {'nodeInfo': {'architecture': 'amd64'}}}]
Expand Down Expand Up @@ -142,7 +142,7 @@ def test_install_interactive(tmpdir):
mock.patch('mas.cli.aiservice.install.app.getCurrentCatalog') as get_current_catalog,
mock.patch('mas.cli.aiservice.install.app.installOpenShiftPipelines'),
mock.patch('mas.cli.aiservice.install.app.updateTektonDefinitions'),
mock.patch('mas.cli.aiservice.install.app.launchAiServiceInstallPipeline') as launch_ai_service_install_pipeline,
mock.patch('mas.cli.aiservice.install.app.launchInstallPipeline') as launch_ai_service_install_pipeline,
mock.patch('mas.cli.cli.isSNO') as is_sno,
mock.patch('mas.cli.displayMixins.prompt') as mixins_prompt,
mock.patch('mas.cli.aiservice.install.app.prompt') as app_prompt,
Expand Down
1 change: 0 additions & 1 deletion tekton/generate-tekton-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
- mas-ivt-manage
- mas-fvt-facilities
# AI Service Pipelines
- aiservice-install
- aiservice-upgrade
# AI Service FVT Pipelines
- aiservice-fvt-launcher
Expand Down
1 change: 0 additions & 1 deletion tekton/generate-tekton-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
- minio
- aiservice
- odh
- aiservice-tenant
- aiservice-upgrade

# 4. Generate Tasks (FVT)
Expand Down
143 changes: 0 additions & 143 deletions tekton/src/params/install-aiservice.yml.j2
Original file line number Diff line number Diff line change
@@ -1,146 +1,3 @@
# Cluster config
# -----------------------------------------------------------------------------
- name: ocp_ingress_tls_secret_name
type: string
default: ""

# IBM Cloud
# -----------------------------------------------------------------------------
- name: ibmcloud_apikey
type: string
default: ""
- name: ibmcloud_resourcegroup
type: string
default: ""

# MAS (shouldn't really need these in AI service install pipeline)
# -----------------------------------------------------------------------------
- name: mas_icr_cp
type: string
default: ""
- name: mas_icr_cpopen
type: string
default: ""
- name: mas_workspace_id
type: string
description: Workspace ID used to configure all applications
default: ""

# Certificate Manager
# -----------------------------------------------------------------------------
- name: cert_manager_provider
type: string
default: ""
- name: cert_manager_action
type: string
default: ""

# Dependencies - DB2
# -----------------------------------------------------------------------------
{{ lookup('template', params_src_dir ~ '/install-db2.yml.j2') }}
- name: db2_action_aiservice
type: string
description: Set to 'install' to set up a Db2 instance for AI Service
default: "none"

# Dependencies - DRO
# -----------------------------------------------------------------------------
- name: dro_contact_email
type: string
default: ""
- name: dro_contact_firstname
type: string
default: ""
- name: dro_contact_lastname
type: string
default: ""
- name: dro_event_scheduler_frequency
type: string
default: ""
- name: dro_action
type: string
default: ""
- name: dro_namespace
type: string
default: ""
- name: mas_segment_key
type: string
default: ""

# Dependencies - SLS
# -----------------------------------------------------------------------------
- name: sls_namespace
type: string
default: ""
- name: sls_entitlement_file
type: string
default: ""
- name: sls_mongodb_cfg_file
type: string
# The default value works for the default in-cluster install, it will need
# to be modified if the mongodb namespace is changed, or if using BYO MongoDb
default: "/workspace/configs/mongo-mongoce.yml"
- name: sls_catalog_source
type: string
default: ""
- name: sls_channel
type: string
default: ""
- name: sls_icr_cpopen
type: string
default: ""
- name: sls_action
type: string
default: ""

# Dependencies - MongoDb
# -----------------------------------------------------------------------------
- name: mongodb_namespace
type: string
default: ""
- name: mongodb_storage_class
type: string
default: ""
- name: mongodb_replicas
type: string
description: Optional configuration for mongodb replicas
default: ""
- name: mongodb_cpu_requests
type: string
description: Optional configuration for mongodb cpu requests
default: ""
- name: mongodb_provider
type: string
description: MongoDb provider
default: ""
- name: mongodb_version
type: string
description: MongoDb version
default: ""
- name: mongodb_action
type: string
description: MongoDb action
default: ""

# Dependencies - IBM Cloud MongoDb
# -------------------------------------------------------------------------
- name: ibm_mongo_name
type: string
description: IBM Cloud MongoDb instance name
default: ""
- name: ibm_mongo_resourcegroup
type: string
description: IBM Cloud MongoDb resource group
default: ""
- name: ibm_mongo_region
type: string
description: IBM Cloud MongoDb instance region
default: ""
- name: ibm_mongo_admin_password
type: string
description: IBM Cloud MongoDb admin password
default: ""

# MAS Application Configuration - IBM Maximo AI Service
# -----------------------------------------------------------------------------
- name: aiservice_instance_id
Expand Down
10 changes: 9 additions & 1 deletion tekton/src/params/install.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@
type: string
description: Set to 'install' to set up a Db2 instance for Real Estate and Facilities
default: "none"
- name: db2_action_aiservice
type: string
description: Set to 'install' to set up a Db2 instance for AI Service
default: "none"

# Dependencies - CP4D
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -730,4 +734,8 @@
- name: mas_ws_facilities_config_map_name
description: ConfigMap with configurations not supported by Tekton
type: string
default: ""
default: ""

# AI Service Configuration
# -----------------------------------------------------------------------------
{{ lookup('template', params_src_dir ~ '/install-aiservice.yml.j2') }}
130 changes: 0 additions & 130 deletions tekton/src/pipelines/aiservice-install.yml.j2

This file was deleted.

Loading