-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:[ASSMT-249]: Adding Spinnaker-migration documentation to develope…
…r doc
- Loading branch information
1 parent
2fb6c34
commit 3575a09
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 - <AccountID> | ||
|
||
- Harness Org - default> if not provided | ||
|
||
- Harness Project - <Project_Name> | ||
|
||
- API Key - Follow instructions at Manage API keys | Harness Developer Hub | ||
|
||
- Environment - Prod, Prod1, or Prod3 |