Skip to content

Instantly share code, notes, and snippets.

@dicko2
Last active May 13, 2017 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dicko2/72ed4ea41452b15da44e506e43804bb7 to your computer and use it in GitHub Desktop.
Save dicko2/72ed4ea41452b15da44e506e43804bb7 to your computer and use it in GitHub Desktop.
TechAtAgodaWorkShopNotes
install trial for teamcity
setup wild card DNS record for dev server
Build, Test, Package and Deploy
General
%Version%
-- and params
Build Features
- assembly info patcher
- build file cleaner - octopacked
Triggers
VCS
VCS Root
%BranchSpecification%
refs/heads/(master)
refs/pull/(*/merge)
NPM Install
install
%NodeWorkingDirectory%
NPM Run Webpack
run webpack-production
%NodeWorkingDirectory%
NPM test
test
%NodeWorkingDirectory%
Pull request
- Commit status publisher
dotnet restore
- restore
todo.sln
dotnet build
dotnet publish
- publish
src/todo/todo.csproj
published-app
Octo Pack
%teamcity.tool.Octo%\octo.exe pack --id todo --version %Version% --basePath src/todo/published-app --outfolder=octopacked
CDN Package
src/ToDoCDN/ToDoCDN.nuspec
%Version%
octopacked
OctopusDeploy: Push packages
http://octopus01.southeastasia.cloudapp.azure.com/
octopacked
OctopusDeploy: Create release
http://octopus01.southeastasia.cloudapp.azure.com/
<projectname>
%Version%
Development
Octopus Varibles
Server=.\sqlexpress;Database=Todos-YOURID;User Id=test;Password=Password1;MultipleActiveResultSets=true
ConnectionStrings:Default
Core:CdnUrl
MakePublic
Recursive
S3AccessKey
S3Bucket
S3Region
S3SecretKey
SourceFolderLocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment