~/talk

Continuous Integration: Tips & Tricks

Talkat PHP UK Conference 2023 · 2023-02-14..02-16· [php, devops-and-delivery]
slides:none on file

Practical CI tactics, starting from a real pipeline that runs 1 hour 20 minutes per push and showing concrete fixes that cut time and cost: use spot EC2 + executors=1, enable shallow clones and repo caching, parallelize tests with Docker Compose -p for isolated parallel runs, split and segment slow suites, lint early, run test scripts outside the CI YAML, and use Docker BuildKit secrets. Examples include Jenkins, Docker and AWS, applied to UK Government & large organizations, and reported to work in production.

AI-written summary · about

  1. 0:00Introduction
  2. 2:16CI/CD fundamentals
  3. 9:59CI pipeline hardware
  4. 12:27Slow Jenkins case study
  5. 15:56Optimizing Jenkins workers
  6. 19:28Shallow cloning in CI
  7. 23:21Conditional test execution
  8. 25:30CI cleanup strategies
  9. 27:35Linting in CI workflows
  10. 31:26Avoiding vendor lock-in
  11. 34:13CI pipeline architecture
  12. 39:52Dockerfile best practices
  13. 41:15PHP-FPM health checks
  14. 42:59Secure PHP extensions in Docker
  15. 44:43Docker BuildKit for CI
  16. 46:30Integration test prep
  17. 47:52Parallel tests with Docker
  18. 50:39Breaking down test suites
  19. 53:27CI pipeline pre/post steps
  20. 54:10Optimizing Git clone
  21. 56:18Debugging UI tests
  22. 58:25Load testing securely
  23. 1:00:54Q&A
~/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.