Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Deploy config files to Windows Azure Website

    Scheduled Pinned Locked Moved Support
    azure
    5 Posts 1 Posters 13 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      I am reading this article: http://www.inedo.com/support/tutorials/using-buildmaster-to-deploy-azure-web-sites

      and it mentioned, "Before we transfered the files we had BuildMaster update the web.config file in our deployment area to be the correct version for the Testing environment. Our end result is the immutable build artifact along with the correct configuration data running on an Azure Web Site."

      This there any example for doing that?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        The examples for this are in the BuildMaster deployment plan, represented by the tabbed steps:

        http://www.inedo.com/support/tutorials/using-buildmaster-to-deploy-azure-web-sites#Development

        If you tab through those, you can see exactly how this is implemented.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Tod,

          In the screenshot I saw "Deploy Config File" under development environment, and it specify a path "C:\inetpub\wwwroot\DemoWebsite" However that's for server deployment.

          To deploy the website to Azure, the Testing environment is using ftp to copy the files to Azure Website, but I don't see any actions under Azure or FTP that would allow me to copy the configuration files associated with a deployable for a given environment.

          There is not a screenshot showing how does config file replacement is done in Testing environment for Azure Website and I assume it's different than Development environment (no BuildMaster agent running in Azure Website instance).

          Please let me know if I missed something.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            The testing deployment plan ( http://www.inedo.com/support/tutorials/using-buildmaster-to-deploy-azure-web-sites#Testing ) stages the files (build artifact and config) in a ~\Deploy working directory, then Sends all of those via FTP.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Thanks for the Answer Alex, I was able to get this to work. Maybe there should be a screenshot showing the Test environment's setup?

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation