I came into a new project recently. One of the challenges was that the CICD pieces almost worked for developers, but fell short and all of the QA was being done because of that on the developer’s local laptop. It works on my local… Actually and in fact. Each developer would announce to the group…
Continue Readingtools
Blue Green w/S3, Cloudfront, Route53
I tend to code and architect devops with an eye toward NOT being locked into any particular cloud or service. Netsaint -> Nagios -> Icinga Hudson -> Jenkins VMWare -> Vagrant -> Docker -> Kubernetes -> ECS Everything changes. That ideal cloud you are moving on to right now – will change in five years,…
Continue ReadingMotiv Ring Battery Lasts Six Months at Best So Far…
…and still no real support response after 23 days. …a replacement ring was sent 15th February (updated 20190222). I want to write about how good Motiv fitness ring is. And it is. It is completely innocuous, the app is great, the information useful, the sleep measurement really quite good. But in a form factor this…
Continue ReadingBring in Git Submodule Code
So far git submodules are working for centralized code that repeats in use across repos and even organizations, and doesn’t change much. But one thing I run into constantly is where the code is for a repo I’ve just cloned that has a submodule, and even new repos as we re-architect some of our builds….
Continue ReadingShip Inside of a Bottle, Repeat
…in other words, DevOps. Github sends a notifyCommit message to Jenkins. That message passes through the Jenkins git plugin, which triggers a job if (1) there is a job configured with a git url matching the notifyCommit git url, and (2) there is a change to the code. If the job does not already exist…
Continue ReadingOrion – Default Values in Ansible Plays
I wanted modular code – edit in one place, use in many. I started trying out git submodules. They were cool, but static. Changing code bases would be a pain to keep track of and manipulate. But the separation of ansible role and builds. allows us to immediately reuse code. I’m building a single instance…
Continue ReadingStateless Jenkins and “checkout scm” Behavior
When you manage to make Jenkins stateless, it exposes internal assumptions throughout Jenkins, all assuming there is a past, a history, a state. In Jenkins pipeline jobs the basic checkout statement is “checkout scm”. This in my experience does the right thing consistently, on a Jenkins controller that has been up for awhile and has…
Continue Readingfinding mongodb primary server
I found a monitor for when the PRIMARY of a mongodb replica set changes – but how to determine which server actually is primary? Well, this can be done on the command line… root@server:/opt/mongodb/bin# ./mongo 192.168.1.1 –eval “printjson(rs.status())” MongoDB shell version: 2.0.4 connecting to: 192.168.108.161/test { “set” : “px_mongo”, “date” : ISODate(“2013-04-01T21:13:56Z”), “myState” : 2,…
Continue ReadingDodoCASE revisited – truly 5 stars.
I recently got the iPad 2 16 GB wifi only. The least expensive iPad tablet. I recalled that when the first iPad came out there was a bamboo moleskine-like case touted. I filed it in the back of my mind to come back to. Reading a Wired article about funding startups, I came across…
Continue Readingcygwin tools
I love the cygwin shell. It makes windows marginally useful as a sysadmin platform. It's one of the first tools I add to a base windows install. I go to Cygwin setup.exe, down load it and run it. I download first without installing. Create a local package directory (I use 20120518_cygwin…
Continue Reading- 1
- 2