diff --git a/docs/docs/spinnaker-migration/how-to.md b/docs/docs/spinnaker-migration/how-to.md new file mode 100644 index 0000000..a2422c9 --- /dev/null +++ b/docs/docs/spinnaker-migration/how-to.md @@ -0,0 +1,43 @@ + # Instructions + + + +## Install Migrator + +`curl https://raw.githubusercontent.com/harness/migrator/master/install | sh` + +### Test the connection to Harness Account by executing account summary command + +`harness-upgrade --api-key API_KEY --account AccountID --env Prod1 account-summary` + +## Create migrator-config.yml file + +`env: Prod1 +api-key: API_KEY +account: AccountID +platform: spinnaker +spinnaker-host: harness-eval.dynamo-staging.eng.armory.io +project: ProjectID +org: default +secret-scope: project +connector-scope: project +template-scope: project +workflow-scope: project ` + +## Run command + +`harness-upgrade --load migrator-config.yml app --app-name prasadtest --auth64 YWRtaW46YWJjMTIz` + +## You should get output like this with some prompts: + +`INFO[2024-03-04T15:50:38-08:00] Importing the application.... +INFO[2024-03-04T15:50:38-08:00] +Migration details: + Platform: spinnaker + Spinnaker Host: harness-eval.dynamo-staging.eng.armory.io + App name: prasadtest + Pipeline Name: + Authentication method: basic + Insecure: false +? Do you want to proceed with application migration? Yes +INFO[2024-03-04T15:50:41-08:00] Spinnaker migration completed` diff --git a/docs/docs/spinnaker-migration/intro.md b/docs/docs/spinnaker-migration/intro.md new file mode 100644 index 0000000..b45e71c --- /dev/null +++ b/docs/docs/spinnaker-migration/intro.md @@ -0,0 +1,15 @@ +--- +sidebar_position: 1 +slug: / +--- + +# Introduction + +This tool was developed by Harness to assist in the migration process from Spinnaker to CD Next Gen. It can migrate specific Harness resources or multiple resources at once. + +### Who is the Tool intended for? + +This tool is designed for customers, CSMs, and developers who are currently using Spinnaker and wish to migrate their accounts to Harness CD Next Gen. + +### Key Components that can be migrated +The following key components can be migrated using this tool: diff --git a/docs/docs/spinnaker-migration/prerequisites.md b/docs/docs/spinnaker-migration/prerequisites.md new file mode 100644 index 0000000..d1d8329 --- /dev/null +++ b/docs/docs/spinnaker-migration/prerequisites.md @@ -0,0 +1,20 @@ +--- +sidebar_position: 3 +slug: /prerequisites +--- + +# Prerequisites + +Before using the Spinnaker to CD Next Gen migration tool, you must have the following prerequisites: + +- Armory Account - Armory Platform | Spinnaker + +- Harness Account - + +- Harness Org - default> if not provided + +- Harness Project - + +- API Key - Follow instructions at Manage API keys | Harness Developer Hub + +- Environment - Prod, Prod1, or Prod3