Skip to content

Instantly share code, notes, and snippets.

@mattstratton
mattstratton / README.md
Last active April 24, 2018 00:22
Docker For DevOpsDays.org

The shell script (hugoserver.sh) currently runs. The PowerShell script (hugoserver.ps1) is throwing errors, as displayed in the output.log in this gist.

To test, run git clone git@github.com:devopsdays/devopsdays-web.git and then run one of the above scripts in the cloned directory (note: the hugoserver.sh script is already part of the directory; the PowerShell script is not).

The result should look like this, if it works:

 ~/src/devopsdays-web/ [master*] ./hugoserver.sh
hugo-server
hugo-server
@mattstratton
mattstratton / build.log
Created August 5, 2016 17:13
Hugo Wercker Build Errors
export WERCKER_STEP_ROOT="/pipeline/hugo-build-92ff9088-c50e-4f49-ab18-def50aca3908"
export WERCKER_STEP_ID="hugo-build-92ff9088-c50e-4f49-ab18-def50aca3908"
export WERCKER_STEP_OWNER="arjen"
export WERCKER_STEP_NAME="hugo-build"
export WERCKER_REPORT_NUMBERS_FILE="/report/hugo-build-92ff9088-c50e-4f49-ab18-def50aca3908/numbers.ini"
export WERCKER_REPORT_MESSAGE_FILE="/report/hugo-build-92ff9088-c50e-4f49-ab18-def50aca3908/message.txt"
export WERCKER_REPORT_ARTIFACTS_DIR="/report/hugo-build-92ff9088-c50e-4f49-ab18-def50aca3908/artifacts"
export WERCKER_HUGO_BUILD_VERSION="0.16"
export WERCKER_HUGO_BUILD_PROD_BRANCHES=""
export WERCKER_HUGO_BUILD_DISABLE_PYGMENTS="false"
@mattstratton
mattstratton / hugo-server.log
Created June 6, 2016 16:09
Hugo server log (0.16.0)
 ~/src/devopsdays-web/ [master] ~/Downloads/hugo server -b="http://localhost:1313" -w
Started building site
ERROR: 2016/06/06 11:07:22 general.go:222: Error while rendering page events/2016-oslo/proposals/DevOps_in_the_world_of_Software_Defined_Infrastructure.md: te
mplate: theme/talk/single.html:22:24: executing "theme/talk/single.html" at <index .Site.Data.spe...>: error calling index: value has type template.HTML; shou
ld be string
ERROR: 2016/06/06 11:07:22 general.go:222: Error while rendering page events/2016-oslo/proposals/This_stuff_is_cool.md: template: theme/talk/single.html:22:24
: executing "theme/talk/single.html" at <index .Site.Data.spe...>: error calling index: value has type template.HTML; should be string
ERROR: 2016/06/06 11:07:22 general.go:222: Error while rendering page events/2016-oslo/proposals/So_you_think_your_application_actually_runs.md: template: the
me/talk/single.html:22:24: executing "theme/talk/single.html" at <index .Site.Data.spe...>: error calling index: value has type tem
@mattstratton
mattstratton / hugo.log
Created June 6, 2016 16:05
Output of hugo 0.16 for devopsdays-web
INFO: 2016/06/06 11:04:47 hugo.go:463: Using config file: /Users/mstratton/src/devopsdays-web/config.toml
INFO: 2016/06/06 11:04:47 hugo.go:575: using a UnionFS for static directory comprised of:
INFO: 2016/06/06 11:04:47 hugo.go:576: Base: /Users/mstratton/src/devopsdays-web/themes/devopsdays-responsive/static
INFO: 2016/06/06 11:04:47 hugo.go:577: Overlay: /Users/mstratton/src/devopsdays-web/static/
INFO: 2016/06/06 11:04:47 hugo.go:609: syncing static files to /Users/mstratton/src/devopsdays-web/public/
Started building site
INFO: 2016/06/06 11:04:48 site.go:1251: found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
INFO: 2016/06/06 11:04:48 htmlredirect.go:115: Alias "/events/2016-nashville" translated to "events/2016-nashville/index.html"
INFO: 2016/06/06 11:04:48 htmlredirect.go:115: Alias "/events/2016-baltimore" translated to "events/2016-baltimore/index.html"
INFO: 2016/06/06 11:04:48 htmlredirect.go:115: Alias "/events/2016-portoalegre" translated to "events/2016-portoalegre/in
@mattstratton
mattstratton / error.log
Created February 29, 2016 18:46
solaris bootstrap error
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0;
DEBUG: X-OPS-USERID: raviuser
DEBUG: X-OPS-TIMESTAMP: 2016-02-24T17:46:01Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1: r2jLgiYzOynvSdq7K1So2ZxLc6M6DotgO7F42RGQH84gbNf0tKjGIfgfb3gS
DEBUG: X-OPS-AUTHORIZATION-2: HxJp8O32t/wUXXZQz/3pE4CnSEpLvbEds7OLWWrnmx9WcW7oBE36cZuYDJj5
DEBUG: X-OPS-AUTHORIZATION-3: tiy/olLcuzESMP4BRZCaU81efDunLiH+eEuIC6gVSmu983TUdvt21rPeo31k
DEBUG: X-OPS-AUTHORIZATION-4: uCkZCLgmcFYzwWzJWhiWlvU/w+E+pGBd0e4sFnP8EcTgbDG2speyCcePThHz
DEBUG: X-OPS-AUTHORIZATION-5: CBO0Tl4BQ0Z0ombakIPdQiVqtBTIT/Ye2+ZqOSgrdoyXnZMECKQ+DHPGqluZ
@mattstratton
mattstratton / ado-devopsdays.md
Created February 5, 2016 16:57
Arrested DevOps Media Sponsorship Details

Interested in having Arrested DevOps as a media sponsor for your event? Here's what you do:

  1. Display the ADO logo on your event's page as a "media sponsor" along with whatever else you do with media sponsors on marketing materials for your event.
  2. Provide ADO with a discount code for your event. The amount of discount is up to you, but let us know what it is. We vastly prefer that you standardize on the discount code "ADO2016", as it gets confusing for our listeners if there are multiple codes across events.
  3. Provide ADO with at least one free ticket to your event that we will give away via a contest of some kind to a listener.

In exchange for this, we will mention your event on episodes leading up to it, along with the URL for registration (likely provided via a shortURL for easy remembering) and we will also tweet about your event (with the discount code) and promote the event via the drawing/contest by which we give away the ticket(s) you provided.

If you want to set this up, send us an email at

@mattstratton
mattstratton / .kitchen.log
Created January 27, 2016 23:43
Kitchen log with errors on kitchen-inspec
I, [2016-01-27T23:35:25.091546 #3984] INFO -- Kitchen: -----> Starting Kitchen (v1.4.2)
I, [2016-01-27T23:35:29.330236 #3984] INFO -- Kitchen: -----> Creating <default-linux>...
I, [2016-01-27T23:37:55.299951 #3984] INFO -- Kitchen: -----> Converging <default-linux>...
I, [2016-01-27T23:38:58.057927 #3984] INFO -- Kitchen: -----> Setting up <default-linux>...
I, [2016-01-27T23:38:58.057927 #3984] INFO -- Kitchen: -----> Verifying <default-linux>...
E, [2016-01-27T23:38:59.073493 #3984] ERROR -- Kitchen: ------Exception-------
E, [2016-01-27T23:38:59.073493 #3984] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2016-01-27T23:38:59.073493 #3984] ERROR -- Kitchen: Message: Failed to complete #verify action: [undefined method `run_command' for #<#<Class:0x48d2b88>:0x48d0818>]
E, [2016-01-27T23:38:59.073493 #3984] ERROR -- Kitchen: ---Nested Exception---
E, [2016-01-27T23:38:59.073493 #3984] ERROR -- Kitchen: Class: NoMethodError
@mattstratton
mattstratton / description.md
Last active August 29, 2015 21:06
ADO Show Notes Gig

Arrested Devops is in need of someone to assist in a blogging capacity. This is a paid freelance position. We need someone to write the show notes from our episodes.

Here's how it would work:

  1. You listen to the episode (or watch it on Youtube, whatever)
  2. You write up the show notes (examples of what we are looking for will be provided below)
  3. You provide the show notes to me

The skills needed are as follows:

  • Decent writing skills
@mattstratton
mattstratton / failjob
Created June 8, 2015 21:05
Acceptance - Deploy fail
Starting job on builder build-node-cerner-1 at 2015-06-08T21:03:54+00:00.
Command: delivery job acceptance deploy --server 52.26.112.247 --user builder --ent dbaas_enterprise --org dbaas --project sitedbaas --for master --change-id f54caf3e-bc7f-4641-acd1-5bfa7e9bfd1d --shasum f146063cc50a2380c3ff8ed7ace1db60aeca2294
Chef Delivery
Loading configuration from /var/opt/delivery/workspace
Starting job for sitedbaas acceptance deploy
Creating workspace
Cloning repository, and merging f146063cc50a2380c3ff8ed7ace1db60aeca2294 to master
Configuring the job
Running the job
Setting up the builder
@mattstratton
mattstratton / mynewdevops.md
Last active June 10, 2022 19:34
My New DevOps

Stratton: Yeah, I was at Velocity last week, speaker lounge, and I got me a conversation with Jez Humble.

Cheslock: Hey browski, two sugar free red bulls over here.

Stratton: You want to be on a podcast? You gotta make sure you’re ready.

Cheslock: You know what this is? This is my new fucking continuous delivery pipeline. You know what that means? I’m delivering some fucking software tonight. My boys? They’re deploying software too. They’ve all got the same pipeline too. They’re deploying some fucking software tonight.

I’m going to test every piece of code that hits that git repo. I’m going to test it until my fucking spec tests fall off.