Repository navigation
[patch] Add standalone Db2uCluster to Db2uInstance migration pipeline and CLI command - #2428
jainyjoseph wants to merge 31 commits into
Conversation
terc1997
left a comment
There was a problem hiding this comment.
In the PRs ansible-devops and python-devops there are several names for this migration: db2-migration, migrate, db2ucluster-migration. Stick to one name and use it in all places. Having multiple naming conventions create confusion in the code.
Also, there are several mentions to cluster in these three PRs. While in the context of the Db2 migration it means Db2uCluster someone not involved into this initiative may misinterpret these variable names. So, update all cluster references to actual db2_cluster to avoid confusion. Always prioritize clarity over size of the name.
- Rename --cluster-name CLI arg to --db2-cluster-name - Rename all cluster/clusterName locals to db2_cluster/db2ClusterName - Rename method promptForCluster -> promptForDb2Cluster - Update class docstring and user-facing strings to reference Db2uCluster explicitly - Update setParam call to use db2_migration_db2_cluster_name - Rename db2_migration_cluster_name -> db2_migration_db2_cluster_name in pipeline/task j2 - Rename db2_migration_cleanup_old_cluster -> db2_migration_cleanup_old_db2_cluster in pipeline/task j2 - Rename env vars DB2_MIGRATION_CLUSTER_NAME and DB2_MIGRATION_CLEANUP_OLD_CLUSTER - Remove commented-out waitfor-approval task block from pipeline
|
Hi @terc1997 I have Updated ansible-devops and python-devops as well , as requested. |
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 Tekton Pipeline
Key features
Test results
You can refer test results in JIRA MASCORE-11096
Refer : ibm-mas/ansible-devops#2337
ibm-mas/python-devops#405