Download the latest version from releases page
- The tool does not create the org or project target.
- As safety operation the tool do not delete the entities from the source project.
- The
api-key
need to have access to read from the source project and write to the target project. - You can run it multiple times, when the same entity already exists in the target project we ignore it and do not report it as an error.
Execute the operation running that command in your terminal
./harness-move-project \
--api-token <SAT_OR_PAT> \
--account <account_identifier> \
--source-org <org_identifier> --source-project <project_identifier> \
--target-org <org_identifier> --target-project <project_identifier>
If the source and target projects has the same identifier, you can suppress the --target-project
argument.
When the tool try to create and entity on target project that the same identifier already exist, it just ignore the error and keep the execution. Using that strategy you can run it multiple times without side effects.
- Variables
- Environments
- Infrastructure Definition
- Services
- Service Overrides V1
- Templates
- Pipelines
- Input Sets
- File Store
- Secrets
- Triggers
- Connectors
- Service Overrides V2
- The tool can only fetch 1000 elements of each entity type.
- Tags are not supported and cannot be copied from the source entity to the target one.
I am to express my gratitude for inspiration to create this tool.
- Aleksa Arsic: Thank you for the inspiration! Your creativity is amazing!
- Francisco Junior: I appreciate inspiring me to improve. Your guidance was crucial!