DevOps

A collection of 81 posts
DevOps

Remote Docker Instance

I'm building a multi node Docker Swarm cluster and want to connect to it from my local desktop. I'd like to use my local development tools to build all of my Docker related files and push them up to the cluster. Note, this is an unauthenticated, full access, http (not https) configuration. It is to show a remote setup. I'm starting simple. The next post will be about securing this config. First my setup: * 3 docker nodes, docker1.example.com, docker2.example.com and docker3.example.com. * T
2 min read
Tfs

Copy all repositories from Github enterprise

We are finally finishing the migration of GitHub Enterprise to TFS. While doing so, we wanted to programmatically make sure we had all of the source code off of our old Github server. Including those that belonged to individual users, including those that had left. Unfortunately Github doesn't make a utility for this. So I set out to do it on my own. Since we are Windows shop and I'm wanting to get my PowerShell skills better, I set out to do it in PowerShell. The trick was getting the list of
1 min read
Tfs

Octopus Deploy/TFS and Lessons learned

Ok, in my previous post I went over why we chose to use Octopus Deploy and TFS as our build and deployment pipeline. Now I'm going to go over some things I've learned while implementing that solution. Those things and the reasons behind them are bolded. The rest of it is more detail and examples. It may seem like a lot, but it's really not and it's mostly good with some gotcha's. For both: * Don't be afraid to fail. It'll take a while to figure out exactly what works well for your particul
4 min read
DevOps

Octopus, TFS and Blue Green Deployments

Ok, so lets start this off with a little background of where we came from and where we wanted to get. Our current environment consisted of a development environment with a single server on the same domain as the deployment server. And a production environment at a 3rd party hosted environment not on the same domain with no direct connectivity to the build/deployment server. We used GitHub Enterprise on-premise for source control and TeamCity for continuous integration and deployments. Producti
2 min read
DevOps

node/npm/gulp/continuous integration

Alright, so I have continue integration for my new dotnet core applications. Building works great. It's now time to publish. I'm using gulp on my pre-publish commands to move files, compile typescripts, minify css/javascripts, etc. It works fine for my user after running npm install gulp -g. But, because I want all of my publish and builds to be self contained, and it also doesn't work when running under my build user spitting out an error saying Error : 'gulp' is not recognized as an internal o
1 min read