Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

From Vagrant to Production

PHP UK Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive guide on setting up the "perfect development stack" in this PHP UK Conference talk. Learn how to combine tools like Vagrant, Puppet, Composer, and Phing to significantly improve your development workflow. Discover the benefits of Vagrant, create a Vagrantfile, and utilize Vagrant providers and plugins. Dive into Puppet scripting, directory layouts, and Vagrant provisioning. Master Composer integration via Puppet, including handling private packages and setting up Satis. Understand the power of expect for automation, and leverage Phing as a domain-specific language to glue third-party tools together. Explore Liquibase for database version control and learn how to integrate your development stack with CI/CD pipelines using Gitlab webhooks and Jenkins. By the end of this talk, gain the knowledge to streamline your development process from local environments to production deployments.

Syllabus

Intro
Goal: Improve the situation
The challenge
Vagrant benefits
Vagrantfile
Run the virtual machine
Vagrant Provider
Vagrant Plugins
Vagrant Cachier Plugin
Simple Puppet script
Directory layout
Running librarian-puppet
Vagrant Provisioning
Composer via Puppet
Publish your packages
Private packages?
Install Satis
Running Satis
Generated Satis Repo
Dealing with private repos
HTTP Basic Auth (auth.json)
Composer via expect
expect Vagrant configuration
expect bootstrap.sh
Running expect in Puppet
Domain-specific language
A glue for 3rd party tools
Why Phing?
Install Phing
build.properties
Using Properties Files
Running Phing via Puppet
Liquibase Changeset
Liquibase Filesystem layout
Running Liquibase
Buildserver Integration
Gitlab Webhook
Jenkins buildnodes
Configure build node
Configure job
Bind job to host
Copy configuration files
Validate composer.json
Running security checks
Running Puppet via Jenkins
Running the build
Deploy the build

Taught by

PHP UK Conference

Reviews

Start your review of From Vagrant to Production

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.