Powershell Module Downloaded Over and Over
twurm
Posts: 6 Bronze 1
We are using the Redgate Octopus steps "Create Database Release" and "Deploy from Database Release". One thing we noticed when those steps are run back to back on the same machine is that the Powershell module is downloaded for both steps. Is there a way to prevent it from being downloaded each time and instead cached locally? If we run 10 - 15 deployments a day we are spending a ton of time downloading and activating the module.
Tagged:
Answers
Thanks for raising this question!
In Octopus, we believe you should be able to specify the module installation folder, under
If you specify a path here, for instance, "C:/Modules", then the agent will install SCA to that directory.
You can specify the same module installation folder for each step, and our tool will always check that directory if specified, before resolving it to the default path.
I hope this helps, but please let us know if you have any further questions!
Tianjiao Li | Redgate Software
Have you visited our Help Center?