Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jorge 4 posts 25 karma points
    Jun 09, 2010 @ 10:20
    Jorge
    1

    Umbraco and Continuous Integration

    Hi,

    I am starting a new project and we are using Scrum and Continuous Integration, so we want to deploy changes automatically between environments.

    Is it possible to do that with umbraco?

    Could we replicate all templates, document types and pages from one environment to other using some script?

    Any Ideas?

     

    Thanks a lot!

    Jorge

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jun 09, 2010 @ 10:35
    Aaron Powell
    0

    Here's how we do it at TheFarm: http://www.farmcode.org/post/2009/10/02/2-Click-ASPNET-Web-Application-Deployment-with-MSBuild.aspx 

    You still need to manually migrate CMS content, but you can use the package system to do that.

  • Jorge 4 posts 25 karma points
    Jun 09, 2010 @ 14:31
    Jorge
    0

    Thanks for your answer!

    Two more questions:

    1. Do packages work well with upgrades? Or do I need to uninstall the previous version?

    2. Is there any way to create a package automatically? (without the user interface)

     

    Thanks!

     

    Jorge 

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jun 09, 2010 @ 14:48
    Aaron Powell
    0

    Upgrades do work well with the packager but I tend to shy away from upgrade packages unless I'm only upgrading what was in the previous package.

    Document types will add new properties (deleted ones wont be removed), I'm pretty sure macros, data types, templates and xslt's also replace properly.

    Dictionary items can be tricky from my experience and membership isn't supported.

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jun 09, 2010 @ 15:28
    Morten Bock
    0

    We have had problems when trying to upgrade macros/datatypes through the package system (using 4.0.3), so I would suggest doing some POC's to make sure that the items update as you intend, before settling on using the packager.

  • Jorge 4 posts 25 karma points
    Jun 10, 2010 @ 00:54
    Jorge
    0

    Thanks

    Is there any way to do it automatically?

    Like using powershell and calling some Umbraco API?

     

    Thanks

     

    Jorge

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jun 10, 2010 @ 01:49
    Aaron Powell
    0

    Nope, most of the Umbraco API relies on the HttpContext. I've investigated in the past how to do packaging from CI and to do it you need to write your own packaging engine.

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Jun 10, 2010 @ 11:59
    Peter Duncanson
    0

    Jorge you might find this post interesting our.umbraco.org/forum/core/general/3619-Source-control-and-multiple-developers

    No answers as yet but we are looking into source control and automated releases. Any ideas gratefully received :)

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Jun 10, 2010 @ 12:55
    Richard Soeteman
    0

    Hi,

    Interesting. I think the deployment of CMS changes (any cms) is the same as deployment of database changes. There is no easy way.

     For the deployment of database changes you can use tools from Red-Gate (or similar) to make the process a bit more easy, but it will always be a manual process. Maybe we will see a tool in the future that can help you with the deployment of CMS changes, but I don't think it will ever be part of  a Continuous Integration process

    Cheers,

    Richard

  • Giles Dermody 14 posts 35 karma points
    Jul 06, 2011 @ 15:18
    Giles Dermody
    0

    Is CruiseControl the CI system of choice for Umbraco developers? I have recently begun trying to implement a CI system in our agency and have had mixed levels of success with using Jenkins (formerly Hudson). Some aspects are working extremely well - I've had great success combining this Umbraco package http://our.umbraco.org/projects/website-utilities/sitemapxml with a selenium script which runs a smoketest on every page in the site while searching for various errors and then compiling a report, ad nauseum.

    I am persevering with Jenkins due to the huge number of plugins available, high market share and it's free but am I just wasting my time? Has anyone else had experience with combining Umbraco and Jenkins?

  • Mark Bowser 273 posts 860 karma points c-trib
    Sep 12, 2014 @ 18:09
    Mark Bowser
    0

    This is something we've been working on a lot. We haven't perfected our process yet, but we've been using TeamCity in combination with an umbraco package called usync http://our.umbraco.org/projects/developer-tools/usync. We use usync to deploy doc types and data types, but you can deploy Templates and such as well if you feel comfortable.

Please Sign in or register to post replies

Write your reply to:

Draft