We've just recently launched our first Umbraco site, which has been a great experience so far.
Currently we are deploying with teamcity and octopus deploy, having uSync installed to synchronize datatypes, document types etc. between enviroments.
Now im facing our first problem with our CI setup: How do i automatically install/uninstall any installed umbraco packages? If i install a package through the Umbraco interface, locally, and then deploy to our test environment, then i get an error until i install the package manually. This is have to do every time i deploy.
What is the correct way of managing/synchronizing packages between environments when using CI?
I'd say install packages using Nuget whenever possible (not sure all packages can be installed using Nuget) and your CI server will install/add these just as any other Nuget package.
Teamcity + Octopus and umbraco packages
Hello everyone
We've just recently launched our first Umbraco site, which has been a great experience so far.
Currently we are deploying with teamcity and octopus deploy, having uSync installed to synchronize datatypes, document types etc. between enviroments.
Now im facing our first problem with our CI setup: How do i automatically install/uninstall any installed umbraco packages? If i install a package through the Umbraco interface, locally, and then deploy to our test environment, then i get an error until i install the package manually. This is have to do every time i deploy.
What is the correct way of managing/synchronizing packages between environments when using CI?
Thanks!
I'd say install packages using Nuget whenever possible (not sure all packages can be installed using Nuget) and your CI server will install/add these just as any other Nuget package.
Regards, Magnus
As Magns said use NuGet where possible. Failing that you will need to make sure the files are added to source control and the dll references added.
We normally copy the dlls to a folder outside of the solution folders and reference them there.
Matt
is working on a reply...