Skip to content

[patch] Add standalone Db2uCluster to Db2uInstance migration pipeline and CLI command#2428

Draft
jainyjoseph wants to merge 21 commits into
masterfrom
mascore-11096
Draft

[patch] Add standalone Db2uCluster to Db2uInstance migration pipeline and CLI command#2428
jainyjoseph wants to merge 21 commits into
masterfrom
mascore-11096

Conversation

@jainyjoseph

@jainyjoseph jainyjoseph commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Description

This PR introduces a new standalone Tekton pipeline and CLI command for migrating Db2uCluster instances to Db2uInstance

Changes

New CLI command(mas db2ucluster-migration)

  • New module: python/src/mas/cli/db2_migration/ is added
  • Integration: Updated cli.py and main.py to register new command
  • Shell wrapper: Enhanced image/cli/mascli/mas script to support new command

New Tekton Pipeline

  • Pipeline definition: tekton/src/pipelines/mas-devops-db2-migration.yml.j2
    • Standalone pipeline for DB2 migration workflow
    • Configurable parameters for namespace, cluster name, and backup options
  • Task updates: Enhanced tekton/src/tasks/dependencies/db2.yml.j2 with migration parameters
  • Build integration: Updated tekton/generate-tekton-pipelines.yml to include new pipeline

Key features

  • Interactive cluster detection and selection
  • Pre-migration backup support (configurable)
  • Single-outage migration workflow
  • Comprehensive parameter validation and user confirmation

Test results

You can refer test results in JIRA MASCORE-11096

Refer : ibm-mas/ansible-devops#2337
ibm-mas/python-devops#405

@jainyjoseph jainyjoseph requested a review from terc1997 June 24, 2026 13:08
@jainyjoseph jainyjoseph changed the title [patch] Standalone pipeline for single outage v12 upgrade and Db2uInstance migration [patch] Add standalone Db2uCluster to Db2uInstance migration pipeline and CLI command Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant