From Vagrant to Production
summary
Uses Vagrant for reproducible VMs, Puppet for provisioning and Composer for PHP deps, with a shell bootstrap script that runs librarian‑puppet when the Vagrant plugin fails on Windows. Authentication to private repos is automated with expect for Composer, and a caching plugin cuts package installs so deployments drop from ~25 minutes to ~5. CI ties Jenkins and GitLab to dedicated labeled build nodes; some plugins and Windows Ruby integration prove brittle but the end‑to‑end pipeline successfully builds and deploys.
AI-written summary · about
chapters (44)
- 0:00Intro
- 3:29Goal: Improve the situation
- 4:40The challenge
- 7:48Vagrant benefits
- 9:05Vagrantfile
- 9:40Run the virtual machine
- 11:38Vagrant Provider
- 12:00Vagrant Plugins
- 12:24Vagrant Cachier Plugin
- 15:19Simple Puppet script
- 16:31Directory layout
- 18:28Running librarian-puppet
- 18:52Vagrant Provisioning
- 20:28Composer via Puppet
- 22:05Publish your packages
- 22:19Private packages?
- 22:55Install Satis
- 23:37Generated Satis Repo
- 23:55Dealing with private repos
- 25:35HTTP Basic Auth (auth.json)
- 26:28Composer via expect
- 27:22expect Vagrant configuration
- 27:41expect bootstrap.sh
- 27:52Running expect in Puppet
- 29:14Domain-specific language
- 29:52Why Phing?
- 30:33Install Phing
- 30:57build.properties
- 31:22Using Properties Files
- 32:06Running Phing via Puppet
- 32:48Liquibase Changeset
- 33:30Liquibase Filesystem layout
- 34:03Running Liquibase
- 34:26Buildserver Integration
- 34:52Gitlab Webhook
- 35:16Jenkins buildnodes
- 35:52Configure build node
- 37:53Configure job
- 38:09Copy configuration files
- 38:42Validate composer.json
- 39:20Running security checks
- 40:01Running Puppet via Jenkins
- 41:04Running the build
- 46:52Deploy the build
related talks
46mThe Future of the PHP Development Environment
29mDeploying PHP applications with Ansible, Ansible Vault and Ansistrano
01h 10mHosting “the wine is good”?
25mDocker for PHP Developers
38mWhat's Really to Blame?
40mCode, Test, Deploy, Repeat
46mDevops for PHP Developers
38mDeploying your apps... the right way!
