~/talk

From Vagrant to Production

Talkat PHP UK Conference 2016 · 2016-02-18..02-19· [php]
slides:none on file

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

  1. 0:00Intro
  2. 3:29Goal: Improve the situation
  3. 4:40The challenge
  4. 7:48Vagrant benefits
  5. 9:05Vagrantfile
  6. 9:40Run the virtual machine
  7. 11:38Vagrant Provider
  8. 12:00Vagrant Plugins
  9. 12:24Vagrant Cachier Plugin
  10. 15:19Simple Puppet script
  11. 16:31Directory layout
  12. 18:28Running librarian-puppet
  13. 18:52Vagrant Provisioning
  14. 20:28Composer via Puppet
  15. 22:05Publish your packages
  16. 22:19Private packages?
  17. 22:55Install Satis
  18. 23:37Generated Satis Repo
  19. 23:55Dealing with private repos
  20. 25:35HTTP Basic Auth (auth.json)
  21. 26:28Composer via expect
  22. 27:22expect Vagrant configuration
  23. 27:41expect bootstrap.sh
  24. 27:52Running expect in Puppet
  25. 29:14Domain-specific language
  26. 29:52Why Phing?
  27. 30:33Install Phing
  28. 30:57build.properties
  29. 31:22Using Properties Files
  30. 32:06Running Phing via Puppet
  31. 32:48Liquibase Changeset
  32. 33:30Liquibase Filesystem layout
  33. 34:03Running Liquibase
  34. 34:26Buildserver Integration
  35. 34:52Gitlab Webhook
  36. 35:16Jenkins buildnodes
  37. 35:52Configure build node
  38. 37:53Configure job
  39. 38:09Copy configuration files
  40. 38:42Validate composer.json
  41. 39:20Running security checks
  42. 40:01Running Puppet via Jenkins
  43. 41:04Running the build
  44. 46:52Deploy the build
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.