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
-
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.
-
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.
-
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.
-
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.
-
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?