Drupal Acquia Azure CI/CD pipeline - Conclusion

27 October 2025
  1. The Factory & The Assembly Line: A High-Performance Drupal CI/CD Pipeline for Acquia and Azure DevOps
  2. Core Concept 1: The "Locked Box" (Why We Must Use Docker)
  3. Core Concept 2: The "Factory & Assembly Line" (Why Two Pipelines)
  4. Pipeline A: The "Factory" (image-builder-pipeline.yml)
  5. Pipeline B: The "Assembly Line" (Your Main Pipeline)
  6. The Build Stage (build.yml)
  7. The Deploy Stage (deploy.yml)
  8. The Final Piece: How to Trigger PR Builds
  9. Drupal Acquia Azure CI/CD pipeline - Conclusion

This setup provides the ultimate balance of CI/CD virtues:

  • Reliability: Your "Locked Box" Docker image ensures your build environment is consistent and portable.
  • Speed: The "Factory & Assembly Line" model ensures your main pipeline is fast, running only the necessary steps. The gzip optimization shaves off even more time.
  • Stability: The manual ci-net networking pattern is the only 100% stable way to handle Docker-in-Docker integration tests, eliminating flaky race condition errors.
  • Best Practices: You are correctly using Branch Policies to manage PR validation, which is more secure and flexible than YAML-based PR triggers.

This pipeline is a robust, production-grade asset that will reliably test and deploy your Drupal application for a long time to come.