Clone Environment

Is there any way to copy (clone) an existing environment?

Basically, we are using “feature branching”. In Team City, we call octopus with the environment we want to deploy to. I setup a couple of environments that mirror “dev”…like “feature1”…“feature2”… but that was a manual procedure, and of course now we need a “feature3” environment. It would be great if I could create a new environment by cloning an existing environment…in this case “dev” environment to “feature3” environment.

BTW, I saw “octo create-environment”, which accepts a “config-file”. I am not sure what the config file is or how to create it, or if this applies.

Hi Mike,

Thanks for getting in touch! Nothing like that currently exists, although through the API you could write script to create an environment and then update all machines in the previous environment to add the new environment.

That would be your best option.
Vanessa