Skip to content

Commit

Permalink
fix:[ASSMT-249]: Adding Spinnaker-migration documentation to develope…
Browse files Browse the repository at this point in the history
…r doc
  • Loading branch information
RajBaviskar committed Mar 8, 2024
1 parent 2fb6c34 commit 3575a09
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docs/docs/spinnaker-migration/how-to.md
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`
15 changes: 15 additions & 0 deletions docs/docs/spinnaker-migration/intro.md
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:
20 changes: 20 additions & 0 deletions docs/docs/spinnaker-migration/prerequisites.md
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

0 comments on commit 3575a09

Please sign in to comment.