jumanjiman / puppetcamp_nyc_2013

My preso for $subject

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puppet Camp NYC 2013

Presentation that I gave at PuppetCamp NYC 2013.

This git repo provides source to build and run the presentation with Docker and Docker Compose.

Project: https://github.com/jumanjiman/puppetcamp_nyc_2013
Docker image: https://registry.hub.docker.com/u/jumanjiman/puppetcamp_nyc_2013/

Download size Version Source code Docker Registry  Circle CI

How-to

Build and run locally

  1. Clone this repo and run:

    ci/build
    ci/run
    
  2. Point your web browser at http://127.0.0.1:9090

View an already-built presentation

These images are built as part of the test harness on CircleCI. If all tests pass on master branch, then the image is pushed into the docker hub.

docker pull jumanjiman/puppetcamp_nyc_2013

To view the presentation:

docker run --rm -it -p 9090:9090 jumanjiman/puppetcamp_nyc_2013

Then point your web browser at http://127.0.0.1:9090

View labels

Each built image has labels that generally follow http://label-schema.org/

We add a label, ci-build-url, that is not currently part of the schema. This extra label provides a permanent link to the CI build for the image.

View the ci-build-url label on a built image:

docker inspect \
  -f '{{ index .Config.Labels "io.github.jumanjiman.ci-build-url" }}' \
  jumanjiman/puppetcamp_nyc_2013

Query all the labels inside a built image:

docker inspect jumanjiman/puppetcamp_nyc_2013 | jq -M '.[].Config.Labels'

License

cc-by-sa logo
This work is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License

About

My preso for $subject

License:Other


Languages

Language:CSS 73.6%Language:Shell 16.9%Language:Ruby 9.5%