Skip to content

Instantly share code, notes, and snippets.

# 2015-10-05
## Meeting
1. This is a blameless Post Mortem.
2. We will not focus on the past events as they pertain to "could've", "should've", etc.
3. All follow up action items will be assigned to a team/individual before the end of the meeting. If the item is not going to be top priority leaving the meeting, don't make it a follow up item.
### Incident Leader: Nell Shamrell-Harrington
## Description
# In recipes/default.rb of a Supermarket Wrapper Cookbook
node.set['supermarket_omnibus']['features'] = "tools,no_crawl,announcement,github"
/opt/supermarket/embedded/lib/ruby/2.2.0/irb/input-method.rb:150: [BUG] Segmentation fault at 0x007fe388fa3ff8
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0029 p:---- s:0108 e:000107 CFUNC :readline
c:0028 p:0042 s:0103 e:000102 METHOD /opt/supermarket/embedded/lib/ruby/2.2.0/irb/input-method.rb:150
c:0027 p:0011 s:0099 e:000098 BLOCK /opt/supermarket/embedded/lib/ruby/2.2.0/irb.rb:469
c:0026 p:0040 s:0096 e:000095 METHOD /opt/supermarket/embedded/lib/ruby/2.2.0/irb.rb:623
c:0025 p:0009 s:0091 e:000090 BLOCK /opt/supermarket/embedded/lib/ruby/2.2.0/irb.rb:468 [FINISH]
c:0024 p:---- s:0089 e:000088 CFUNC :call
ec2-54-205-89-86.compute-1.amazonaws.com Compiling Cookbooks...
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:26:15+00:00] WARN: You declared a new resource #<Class:0x000000049585b8> for resource ingredient_config, but it comes alph
abetically after Chef::Resource::IngredientConfig and has the same filters ({}), so it will not be used. Use override: true if you want to use it for ingredient_config.
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com ================================================================================
ec2-54-205-89-86.compute-1.amazonaws.com Recipe Compile Error in /var/chef/cache/cookbooks/chef-ingredient/resources/ingredient_config.rb
ec2-54-205-89-86.compute-1.amazonaws.com ================================================================================
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com NoMethodError
ec2-54-205-89-86.compute-1.amazonaws.com -------------
ec2-54-205-89-86.compute-1.amazonaws.com * apt_package[ncurses-dev] action install (up to date)
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com ================================================================================
ec2-54-205-89-86.compute-1.amazonaws.com Recipe Compile Error in /var/chef/cache/cookbooks/packages/recipes/default.rb
ec2-54-205-89-86.compute-1.amazonaws.com ================================================================================
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com TypeError
ec2-54-205-89-86.compute-1.amazonaws.com ---------
ec2-54-205-89-86.compute-1.amazonaws.com can't convert Chef::Node::VividMash to String (Chef::Node::VividMash#to_str gives Chef::Node::VividMash)
ec2-54-205-89-86.compute-1.amazonaws.com
10:45:37-nshamrell~/Projects/supermarket/omnibus (add-option-to-configure-s3-url-type)$ kitchen diagnose --all
---
timestamp: 2016-05-27 17:45:40 UTC
kitchen_version: 1.7.3
plugins:
driver:
Vagrant:
class: Kitchen::Driver::Vagrant
version: 0.20.0
api_version: 2
11:00:01-nshamrell~/Projects/supermarket/omnibus (add-option-to-configure-s3-url-type)$ kitchen converge default-ubuntu-1204 -l debug
-----> Starting Kitchen (v1.8.0)
D [Vagrant command] BEGIN (vagrant --version)
D [Vagrant command] END (0m0.14s)
D Berksfile found at /Users/nshamrell/Projects/supermarket/omnibus/Berksfile, loading Berkshelf
D Berkshelf 4.3.3 library loaded
D Berksfile found at /Users/nshamrell/Projects/supermarket/omnibus/Berksfile, loading Berkshelf
D Berkshelf 4.3.3 previously loaded
D Berksfile found at /Users/nshamrell/Projects/supermarket/omnibus/Berksfile, loading Berkshelf
D Berkshelf 4.3.3 previously loaded
11:20:15-nshamrell~/Projects/supermarket/omnibus (add-option-to-configure-s3-url-type)$ kitchen converge default-ubuntu-1204 -l debug
-----> Starting Kitchen (v1.9.0)
D [Vagrant command] BEGIN (vagrant --version)
D [Vagrant command] END (0m0.14s)
D Berksfile found at /Users/nshamrell/Projects/supermarket/omnibus/Berksfile, loading Berkshelf
D Berkshelf 4.3.3 library loaded
D Berksfile found at /Users/nshamrell/Projects/supermarket/omnibus/Berksfile, loading Berkshelf
D Berkshelf 4.3.3 previously loaded
D Berksfile found at /Users/nshamrell/Projects/supermarket/omnibus/Berksfile, loading Berkshelf
D Berkshelf 4.3.3 previously loaded

Setting up a Github Pages Project Page with Circle CI

Greetings! This will guide you through a basic setup of a Github pages project with Circle CI. All examples here are meant to be as clear as possible - there may be different and quicker ways to do some of these things, but this tutorial is biased on the side of clarity rather than brevity.

Setting up Github Pages with a project

You need a Github repo with an index.html file in it (for an example, check out My personal website. This tutorial assumes you have merge permissions with the repo.

Now, check out this repository to your workstation and create a new gh-pages branch.

Stronger (What Doesn't Kill You) - Kelly Clarkson
Somebody Told Me - The Killers
Born this Way - Lady Gaga
The Edge of Glory - Lady Gaga
Scandalous - Mis-Teeq
Lose Yourself - Eminem
Man of La Mancha - Linda Eder
Paradise City - Guns N' Roses
Separate Ways (Worlds Apart) - Journey