We use Team City as our CI build server and have configured it to build and test successfully.
Now I have been tasked to deploy the complied items onto our production VM in Azure. These Items include front end code(HTML & Javascript), our node.js code and our dependent .NET dll's . This is basically our web app end-to-end, which we can start and run locally.
Have looked at octopus deploy, but this is a problem because Im not familiar with this tool and its not just nuspec packages that we need to deploy, its an entire folder structure.
1.) How would I within TeamCity create a zip file of this folder structure? 2.) Ounce I have created this zip file how would I deploy it onto the VM and unpack it
I am relatively new at CI so I need as much advice as I can get!
I can only answer to the first question since we use amazon on linux instances.
In our CI environment (teamcity) we specify artifacts in the build configuration -> general settings tab -> edit artifacts:
Teamcity figures out that it will zip the folder based on artifact extension. Then we upload the zip file to S3.
The second question i cannot answer because we use linux. But we simply creates an virtual image which at boot fetches the latest.zip file from S3, unpacks it and restart the webserver.
Edit: If you decide to deploy in another way, make sure to create artifact dependency to the latest.zip file. You can also create builds with custom build parameters to deploy the build.