際際滷

際際滷Share a Scribd company logo
Boxstarter primer
and
Testing your automation
Matt Wrock (@mwrockx)
8/7/2014
Philadelphia PowerShell User Group
Boxstarter (http://boxstarter.org)
 A tool for making the automation of a single machine extremely
simple.
 Windows centric and powered by powershell and chocolatey
All Demo scripts can be found at
https://gist.github.com/mwrock/e578e22000396173fa76
DEMO 1: Simple Boxstarter install from gist over the web
DEMO 2: Creating a package and installing to hyper-v guest
Testing Packages
 Does the box build repeatedly?
 Can I know the package/script is good without manually inspecting
 Testing automatically
 Deploy automatically
 Demo 3: Test the package we build
 Demo 4: review a Boxstarter/Chocolatey CI system
CI Resources
 http://www.jetbrains.com/teamcity/
 http://www.visualstudio.com/
Package Repositories
 http://chocolatey.org/
 https://www.myget.org/
 http://www.nuget.org/
Vagrant  VM sharing tool
 X-plat
 Hypervisor agnostic
 Supports many provisioner plugins (shell, chef, puppet, )
 http://www.vagrantup.com/
Can host boxes at:
 https://vagrantcloud.com/
You can also download evaluation versions of windows at:
http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
Demo: testing chocolatey packages using a synced vagrant folder
X-Platform Testing with Test-Kitchen
 http://kitchen.ci/
 Supports multiple provisioners (chef, puppet)
 Supports many hypervisor drivers (vsphere, EC2, vagrant, docker, etc)
 Supports several Test Runners (ServerSpec and lots more)
 http://serverspec.org/
More must see tools
 https://www.docker.io/ Containerizing distributed components
 http://www.packer.io/ automation for image creation
 Immutable infrastructure
 Brown and Serve
Ad

Recommended

Web development-work space
Web development-work space
chawlan
Selenium camp v1
Selenium camp v1
dimakovalenko
My own preferred testing tools - Paris JUG 2011
My own preferred testing tools - Paris JUG 2011
David Gageot
Mmmm, chocolatey goodness!
Mmmm, chocolatey goodness!
Gary Park
Slowcooked wp
Slowcooked wp
joshfeck
Riversound Residence
Riversound Residence
Nick Tee
Production Log for Foyer
Production Log for Foyer
samgh1995
Website optimization with request reduce
Website optimization with request reduce
Matt Wrock
rule of thirds noah and james
rule of thirds noah and james
pauln1543
Social media strategy tata docomo
Social media strategy tata docomo
Rohini Patil
Css class 9 physical context 120309
Css class 9 physical context 120309
TTI-UTCM
presentation comenius: Europe transition from traditional to modern society
presentation comenius: Europe transition from traditional to modern society
Grazia Allegretti
CD n.2 : traditional to modern
CD n.2 : traditional to modern
Grazia Allegretti
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti
Security Testing Using Infrastructure-As-Code
Security Testing Using Infrastructure-As-Code
Vision Concepts Infrastructure Services Solution
Automating Compliance with InSpec - Chef Singapore Meetup
Automating Compliance with InSpec - Chef Singapore Meetup
Matt Ray
SEP DevOps Ignite Talk - Packer
SEP DevOps Ignite Talk - Packer
Ryan Sweeney
Vagrant and puppet: Deployment made easy
Vagrant and puppet: Deployment made easy
Geronimo Orozco
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Coveros, Inc.
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Gene Gotimer
Test driven development with ansible
Test driven development with ansible
Matthew Macdonald-Wallace
Full-Stack CakePHP Deployment
Full-Stack CakePHP Deployment
Jose Diaz-Gonzalez
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011
Carlos Sanchez
Introduction to Vagrant
Introduction to Vagrant
Marcelo Pinheiro
Avoiding surprises with Chef and Vagrant
Avoiding surprises with Chef and Vagrant
andygale
Developing and Testing with Enhanced Oscar
Developing and Testing with Enhanced Oscar
Jeff Scelza
Vagrant - Version control your dev environment
Vagrant - Version control your dev environment
bocribbz
Automated Deployment using Open Source
Automated Deployment using Open Source
duskglow
From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012
Carlos Sanchez

More Related Content

Viewers also liked (6)

rule of thirds noah and james
rule of thirds noah and james
pauln1543
Social media strategy tata docomo
Social media strategy tata docomo
Rohini Patil
Css class 9 physical context 120309
Css class 9 physical context 120309
TTI-UTCM
presentation comenius: Europe transition from traditional to modern society
presentation comenius: Europe transition from traditional to modern society
Grazia Allegretti
CD n.2 : traditional to modern
CD n.2 : traditional to modern
Grazia Allegretti
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn
rule of thirds noah and james
rule of thirds noah and james
pauln1543
Social media strategy tata docomo
Social media strategy tata docomo
Rohini Patil
Css class 9 physical context 120309
Css class 9 physical context 120309
TTI-UTCM
presentation comenius: Europe transition from traditional to modern society
presentation comenius: Europe transition from traditional to modern society
Grazia Allegretti
CD n.2 : traditional to modern
CD n.2 : traditional to modern
Grazia Allegretti
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn

Similar to Boxstarter primer (20)

Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti
Security Testing Using Infrastructure-As-Code
Security Testing Using Infrastructure-As-Code
Vision Concepts Infrastructure Services Solution
Automating Compliance with InSpec - Chef Singapore Meetup
Automating Compliance with InSpec - Chef Singapore Meetup
Matt Ray
SEP DevOps Ignite Talk - Packer
SEP DevOps Ignite Talk - Packer
Ryan Sweeney
Vagrant and puppet: Deployment made easy
Vagrant and puppet: Deployment made easy
Geronimo Orozco
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Coveros, Inc.
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Gene Gotimer
Test driven development with ansible
Test driven development with ansible
Matthew Macdonald-Wallace
Full-Stack CakePHP Deployment
Full-Stack CakePHP Deployment
Jose Diaz-Gonzalez
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011
Carlos Sanchez
Introduction to Vagrant
Introduction to Vagrant
Marcelo Pinheiro
Avoiding surprises with Chef and Vagrant
Avoiding surprises with Chef and Vagrant
andygale
Developing and Testing with Enhanced Oscar
Developing and Testing with Enhanced Oscar
Jeff Scelza
Vagrant - Version control your dev environment
Vagrant - Version control your dev environment
bocribbz
Automated Deployment using Open Source
Automated Deployment using Open Source
duskglow
From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012
Carlos Sanchez
Geting-started with BoxLang Led By Raymon Camden.pdf
Geting-started with BoxLang Led By Raymon Camden.pdf
Ortus Solutions, Corp
Puppet and Vagrant in development
Puppet and Vagrant in development
Adam Culp
From Dev to DevOps - FOSDEM 2012
From Dev to DevOps - FOSDEM 2012
Carlos Sanchez
Entering the chef ecosystem from windows
Entering the chef ecosystem from windows
Matt Wrock
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti
Automating Compliance with InSpec - Chef Singapore Meetup
Automating Compliance with InSpec - Chef Singapore Meetup
Matt Ray
SEP DevOps Ignite Talk - Packer
SEP DevOps Ignite Talk - Packer
Ryan Sweeney
Vagrant and puppet: Deployment made easy
Vagrant and puppet: Deployment made easy
Geronimo Orozco
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Coveros, Inc.
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Gene Gotimer
Full-Stack CakePHP Deployment
Full-Stack CakePHP Deployment
Jose Diaz-Gonzalez
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011
Carlos Sanchez
Introduction to Vagrant
Introduction to Vagrant
Marcelo Pinheiro
Avoiding surprises with Chef and Vagrant
Avoiding surprises with Chef and Vagrant
andygale
Developing and Testing with Enhanced Oscar
Developing and Testing with Enhanced Oscar
Jeff Scelza
Vagrant - Version control your dev environment
Vagrant - Version control your dev environment
bocribbz
Automated Deployment using Open Source
Automated Deployment using Open Source
duskglow
From Dev to DevOps - Codemotion ES 2012
From Dev to DevOps - Codemotion ES 2012
Carlos Sanchez
Geting-started with BoxLang Led By Raymon Camden.pdf
Geting-started with BoxLang Led By Raymon Camden.pdf
Ortus Solutions, Corp
Puppet and Vagrant in development
Puppet and Vagrant in development
Adam Culp
From Dev to DevOps - FOSDEM 2012
From Dev to DevOps - FOSDEM 2012
Carlos Sanchez
Entering the chef ecosystem from windows
Entering the chef ecosystem from windows
Matt Wrock
Ad

Recently uploaded (20)

machine learning is a advance technology
machine learning is a advance technology
ynancy893
Introduction to sensing and Week-1.pptx
Introduction to sensing and Week-1.pptx
KNaveenKumarECE
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
International Journal of Advanced Information Technology (IJAIT)
International Journal of Advanced Information Technology (IJAIT)
ijait
How to Un-Obsolete Your Legacy Keypad Design
How to Un-Obsolete Your Legacy Keypad Design
Epec Engineered Technologies
DESIGN OF REINFORCED CONCRETE ELEMENTS S
DESIGN OF REINFORCED CONCRETE ELEMENTS S
prabhusp8
Unit III_One Dimensional Consolidation theory
Unit III_One Dimensional Consolidation theory
saravananr808639
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
20CE404-Soil Mechanics - 際際滷 Share PPT
20CE404-Soil Mechanics - 際際滷 Share PPT
saravananr808639
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
IJDKP
Structural Wonderers_new and ancient.pptx
Structural Wonderers_new and ancient.pptx
nikopapa113
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
Industry 4.o the fourth revolutionWeek-2.pptx
Industry 4.o the fourth revolutionWeek-2.pptx
KNaveenKumarECE
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
Introduction to Python Programming Language
Introduction to Python Programming Language
merlinjohnsy
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
Mechanical Vibration_MIC 202_iit roorkee.pdf
Mechanical Vibration_MIC 202_iit roorkee.pdf
isahiliitr
machine learning is a advance technology
machine learning is a advance technology
ynancy893
Introduction to sensing and Week-1.pptx
Introduction to sensing and Week-1.pptx
KNaveenKumarECE
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
International Journal of Advanced Information Technology (IJAIT)
International Journal of Advanced Information Technology (IJAIT)
ijait
DESIGN OF REINFORCED CONCRETE ELEMENTS S
DESIGN OF REINFORCED CONCRETE ELEMENTS S
prabhusp8
Unit III_One Dimensional Consolidation theory
Unit III_One Dimensional Consolidation theory
saravananr808639
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
20CE404-Soil Mechanics - 際際滷 Share PPT
20CE404-Soil Mechanics - 際際滷 Share PPT
saravananr808639
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
IJDKP
Structural Wonderers_new and ancient.pptx
Structural Wonderers_new and ancient.pptx
nikopapa113
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
Industry 4.o the fourth revolutionWeek-2.pptx
Industry 4.o the fourth revolutionWeek-2.pptx
KNaveenKumarECE
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
Introduction to Python Programming Language
Introduction to Python Programming Language
merlinjohnsy
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
Mechanical Vibration_MIC 202_iit roorkee.pdf
Mechanical Vibration_MIC 202_iit roorkee.pdf
isahiliitr
Ad

Boxstarter primer

  • 1. Boxstarter primer and Testing your automation Matt Wrock (@mwrockx) 8/7/2014 Philadelphia PowerShell User Group
  • 2. Boxstarter (http://boxstarter.org) A tool for making the automation of a single machine extremely simple. Windows centric and powered by powershell and chocolatey All Demo scripts can be found at https://gist.github.com/mwrock/e578e22000396173fa76 DEMO 1: Simple Boxstarter install from gist over the web DEMO 2: Creating a package and installing to hyper-v guest
  • 3. Testing Packages Does the box build repeatedly? Can I know the package/script is good without manually inspecting Testing automatically Deploy automatically Demo 3: Test the package we build Demo 4: review a Boxstarter/Chocolatey CI system
  • 4. CI Resources http://www.jetbrains.com/teamcity/ http://www.visualstudio.com/ Package Repositories http://chocolatey.org/ https://www.myget.org/ http://www.nuget.org/
  • 5. Vagrant VM sharing tool X-plat Hypervisor agnostic Supports many provisioner plugins (shell, chef, puppet, ) http://www.vagrantup.com/ Can host boxes at: https://vagrantcloud.com/ You can also download evaluation versions of windows at: http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2 Demo: testing chocolatey packages using a synced vagrant folder
  • 6. X-Platform Testing with Test-Kitchen http://kitchen.ci/ Supports multiple provisioners (chef, puppet) Supports many hypervisor drivers (vsphere, EC2, vagrant, docker, etc) Supports several Test Runners (ServerSpec and lots more) http://serverspec.org/
  • 7. More must see tools https://www.docker.io/ Containerizing distributed components http://www.packer.io/ automation for image creation Immutable infrastructure Brown and Serve