DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

continuous integration and deployment

Sort:
You are not authorized to post a reply.





New Around Here





    Hello community friends

    Does anyone have recommendations on how to do continuous integration and deployment with dnn?

    We have many modules which coexist on same site, it consumes a lot of time to build and deploy and we want to find at way to automate this process. We are currently using Subversion, either continuing using this or port it to like say git.

    Do you have any idears and recommendations from own expericence on how to start up this process, what kind of program is suiteable to DNN, eventually consultance company that can help remote setup (living in Denmark).

    Thanks so much.

    Kind regards,

    Danny






    Advanced Member





      The first step is going to be setting up continuous integration, where a source code push triggers an install package being built.  Most of the common module templates will create a package when you build in Release mode.  You can then trigger your CI server to run this build, and keep the install package as an artifact of the build.  You can do this with your existing SVN repo, and integrate it with TeamCity, Azure DevOps Pipelines, or some other CI provider.

      For deployment, I would suggest looking at Cantarus PolyDeploy.  You will install the module on your DNN site, and then you can use the command line client to connect to the site and run module installations as part of a CD process.  If you're using Azure DevOps Pipelines, I maintain a PolyDeploy task you can use.

      You may also want to look at the DNN Pipeline Tasks from Iown Computer Gurus (Mitchel Sellers) and Andrew Hoefling's DNN CI/CD post.

      DNN partner specializing in custom, enterprise DNN development https://engagesoftware.com/showcase





      Growing Member





        Posted By Brian Dukes on 25 Jun 2019 09:00 AM

        For deployment, I would suggest looking at Cantarus PolyDeploy.  You will install the module on your DNN site, and then you can use the command line client to connect to the site and run module installations as part of a CD process.  If you're using Azure DevOps Pipelines, I maintain a PolyDeploy task you can use.

        Woah that's cool

         

        Chris Hammond Christoc.com Software Solutions
        DNN since before it was DNN!
        Open Source Projects and Tutorials since 2003





        Growing Member





          Just like Brian I use PolyDeploy with a few other items. We published a few extensions for Azure DevOps that work to help make the DNN life easier (patching version numbers for example.)

          I did a detailed write-up that shows step-by-step how I have our stuff configured. It has been rock solid and allows us to do a build, package, and depoly of 30+ module solutions in < 5 minutes with no developer work needed. (Aside from making the commit).

          My Article: https://mitchelsellers.co...line-in-azure-devops
          Mitchel Sellers
          Technology Advisory Group Leader
          CEO @ IowaComputerGurus, Inc. a DNN & .NET Solutions Provider
          Technical Blog: MitchelSellers.com





          Growing Member





            Well that link didn't work.

            My DNN Azure Pipelines Blog Post

            Mitchel Sellers
            Technology Advisory Group Leader
            CEO @ IowaComputerGurus, Inc. a DNN & .NET Solutions Provider
            Technical Blog: MitchelSellers.com





            New Around Here





              I noticed Andrew Hoefling post has a lot of missing images. Just FYI.






              New Around Here





                I am also wondering what you guys do when you need to update the sql scripts (sql data provider folder)? Do you manage that manually and leave the version numbers separate from the auto build?





                Veteran Member





                  Posted By Cameron K on 27 Nov 2019 05:17 PM
                  I am also wondering what you guys do when you need to update the sql scripts (sql data provider folder)? Do you manage that manually and leave the version numbers separate from the auto build?

                  If you're using a process that utilizes the actual DNN installer, then you don't have to worry about this.  For example, PolyDeploy does this, and then DNN reads the manifest file (*.dnn) to know if there are scripts and when to install them.  As long as the scripts are tested, properly wired up in the manifest, and are present in the correct place in the package, they'll execute for the extension version(s) as necessary.  

                   

                  You are not authorized to post a reply.

                  These Forums are dedicated to the discussion of DNN Platform.

                  For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                  5. No Flaming or Trolling.
                  6. No Profanity, Racism, or Prejudice.
                  7. Site Moderators have the final word on approving / removing a thread or post or comment.
                  8. English language posting only, please.

                  Would you like to help us?

                  Awesome! Simply post in the forums using the link below and we'll get you started.

                  Get Involved