How is SQL Change Automation helping you? Share to win DevOps books.

Powershell Module Downloaded Over and Over

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. 

Answers

  • Hi @twurm

    Thanks for raising this question!

    In Octopus, we believe you should be able to specify the module installation folder, under
    Module Installation Folder (optional)
    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!

    Kind regards

    Tianjiao Li | Redgate Software
    Have you visited our Help Center?
Sign In or Register to comment.