George V. Reilly

Jenkins #1: Migrating to Pipelines

[Pre­vi­ous­ly published at the now defunct MetaBrite Dev Blog.]

The MetaBrite dev team migrated most of their builds from Atlassian’s Bamboo Cloud to Jenkins Pipelines in late 2016/early 2017. This is a series of blog posts about that experience.

Jenkins Pipeline Series

The series so far:

Eviction

For three years, we used Atlassian’s hosted Bamboo Cloud service to build and deploy most of our code. In the summer of 2016, Atlassian announced that they were going to dis­con­tin­ue Bamboo Cloud on January 31st, 2017.

We looked around for a suitable re­place­ment. We did not find anything would work well for us. We had re­quire­ments that were—­sur­pris­ing­ly—hard continue.

Review: Gone, Baby, Gone

Title: Gone, Baby, Gone
Author: Dennis Lehane
Rating: ★ ★ ★ ★ ½
Publisher: William Morrow
Copyright: 1998
Pages: 256
Keywords: crime
Reading period: 7 January–3 February, 2017

Four-year-old Amanda McCready has dis­ap­peared. Her aunt, desperate to find her, engages PIs Patrick Kenzie and Angie Gennaro to find the child. The mother, Helene, is drunken, slatternly, and neglectful: in short, unfit and un­sym­pa­thet­ic. Kenzie and Gennaro don’t want the case—the odds of finding Amanda alive and unharmed are low. They’ll go through hell before they succeed.

This book veers from blackly funny to gutwrench­ing. Kenzie and Gennaro come up against the worst of the worst and against decent people doing wrong for reasons that seem right to continue.

Seattle Accessibility

I’ve been using a knee walker for the last couple of weeks. For the first time, I took public trans­porta­tion by myself to attend Papers We Love tonight. I rolled myself from 1st Ave S & Washington up to the Pioneer Square station, took the Light Rail one stop north to the University Street station at 3rd & Seneca, then rolled down the hill to 2nd & Spring. It’s a trip I wouldn’t have thought about twice if I were walking nor­mal­ly—and I probably would have walked the entire way rather than take the Light Rail only one short stop.

It’s a different matter on a knee scooter. I said continue.

Review: The Rhesus Chart

Title: The Rhesus Chart
Author: Charles Stross
Rating: ★ ★ ★ ★ ½
Publisher: Ace
Copyright: 2014
Pages: 359
Keywords: Love­craft­ian spy thriller
Series: Laundry Files, vol. 5
Reading period: 27–29 January, 2017

“Don’t be silly,” Bob, said Mo, “everyone knows vampires don’t exist!” Thus opens The Rhesus Chart. We quickly come to realize that vampires do exist and we come to wonder why everyone in the Laundry is so dog­mat­i­cal­ly sure that they don’t. One of the nest of baby vampires that sets the plot in motion is Bob’s toxic ex-girlfriend, Mhari, who manages to convince the Laundry that they should recruit her clutch rather than ex­ter­mi­nate them. But there are old vampires who have continue.

Negative Circled Digits

I found something very useful in the dingbats range of Unicode characters: the negative circled san-serif digits, ➊ ➋ ➌ ➍ ➎ ➏ ➐ ➑ ➒ ➓ .

I’ve started using them to label points of interest in code. They play well with the code-block directive in re­Struc­tured­Text.

sudo docker images --format '{{.Repository}}:{{.Tag}}' \ | grep $IMAGE_NAME \ | grep 
continue.

JSON data from Docker Images

I was trying to get some structured in­for­ma­tion from docker images, hoping to replace some ugly Sed and AWK trickery. I could have used the docker-py library. Instead I chose to use the poorly documented --format option to docker images (and some other Docker CLI commands). Adrian Mouat gives some useful starting points at Docker Inspect Template Magic and notes that formatting is built around Go templates.

I quickly figured out that this format would meet my immediate need.

sudo docker images --format '{{.Repository}}:{{.Tag}}' \
    | grep $IMAGE_NAME \
    | grep -v latest \
    | head -1

That’s fine, but I continue.

Review: The Apocalypse Codex

Title: The Apocalypse Codex
Author: Charles Stross
Rating: ★ ★ ★ ★ ½
Publisher: Ace
Copyright: 2012
Pages: 336
Keywords: Love­craft­ian spy thriller
Series: Laundry Files, vol. 4
Reading period: 22–26 January, 2017

A major American fun­da­men­tal­ist preacher has drawn dis­turbing­ly close to the British Prime Minister, and the more the Laundry looks, they more alarmed they become. Hacker/com­pu­ta­tion­al de­mo­nolo­gist/Laundry agent Bob Howard is leveling up with the Laundry and he has been assigned to “External Assets”, the wing that deals with deniable freelance agents. Bob, Persephone Hazard, and Johnny McTavish are sent to Colorado to in­ves­ti­gate Golden Promise Ministries. There they find a hidden cult within the church where the members are possessed by alien parasites that continue.

Review: The Jennifer Morgue

Title: The Jennifer Morgue
Author: Charles Stross
Rating: ★ ★ ★ ★ ½
Publisher: Ace
Copyright: 2006
Pages: 401
Keywords: Love­craft­ian spy thriller
Series: Laundry Files, vol. 2
Reading period: 13–20 January, 2017

Bob Howard is a com­pu­ta­tion­al de­mo­nolo­gist who works for the occult British spy agency informally known as the Laundry. He’s a computer hacker who’s starting to get some field experience, but nobody would confuse him with a suave la­dykilling man of action. A bil­lion­aire is intent upon raising an eldritch horror from the depths of the sea. Only Bob, who has been “destiny entangled” with a sultry American operative, can stop him. Bob is the last to realize that Ellis Billington continue.

Seattle Womxn's March

Trump was in­au­gu­rat­ed as 45th President on Friday, drawing smaller crowds than either of Obama’s in­au­gu­ra­tions. There were prompt, easily disproved lies from Trump and his press secretary that Trump had drawn record crowds.

On Saturday, huge crowds all over the US and elsewhere marched in opposition to Trump and his agenda. 500,000 marched in Washington DC—far more than attended the Trump In­au­gu­ra­tion. That crowd included my 4-year-old niece, her mother, her aunt, and her cousin, as well as other friends from all over the country. 170,000 marched in Seattle. It’s estimated that more than 3,000,000 people marched in total, making it the largest protest ever. Trump can pull yuge crowds after all.

Emma and continue.

Trump Inauguration

Twenty-eight years ago today, I attended George H.W Bush’s in­au­gu­ra­tion. By accident. Read that post for the rest of the story.

I didn’t especially care for Bush Senior. I certainly didn’t care for George W. Bush, who was the worst U.S. president in my memory.

We’ve just had one of the best. Obama was a president of high personal character and competence. His ad­min­is­tra­tion had integrity and remained free of scandals. He inherited an enormous economic mess and cleaned it up. He introduced the Affordable Care Act, something no other Democratic president managed. He faced wholly un­prece­dent­ed opposition and in­tran­si­gence from the Re­pub­li­cans, who vowed early on to make him a one-term president.

In mid-2011, two young continue.

Previous » « Next