Posts

Showing posts from May, 2020

Setting up TeamCity Build Configuration

Image
In this blog, I will go through setting up TeamCity project and adding the minimum needed build steps to rebuild and create the package that will be used through the Octopus server to deploy. So, here we go: Start by creating the project and set the VCS root Let us start by navigating to the Administration on the upper right corner. Click on + Create Project. Insert the General Setting. Project name and ID, you can leave other information as it is Setup the VCS root (I already have a created root. If you want to create one click on Create VCS root) Start by inserting type of VCS, root name, fetch URL and the branch you want to use for the deployment Specify the Authentication method and insert the needed credentials Now test the information inserted and credential by clicking on Test Connection. Then save Next we will create the build steps. Remember that there is a large number of Runner Types that can be added to configure the sequence of buil...

Installing Octopus for the first time

Image
Setting up Octopus to go with TeamCity. Mainly what Octopus does is that it takes over the deployment phase. TeamCity builds and creates a package of the application (according to the artifacts specified - will get to that in the next blog), and at this point, Octopus acquires the package created by TeamCity, and deploy it to target environments. This will be installed on the same server that the TeamCity installed in. Prerequisites: Octopus https://octopus.com/downloads SQL server Steps: Installing SQL server 2017 I installed a separate server than the one used for TeamCity, just to make sure that the collation specified for each server won't have some side effects or cause problems later. So for this step, setup SQL server - as usual - but this time don't worry about the collation and do not change the default one Before we finish the SQL server setup the last step would be to create a new database name it 'OctopusDeploy' database must use a case-insens...