Blog

This is your main application pipeline—the Assembly Line—and it's now drastically faster! Why? Because it intelligently consumes the pre-built "Locked Box" from the Factory, cutting out slow Docker build times.

🔑 Key to this Orchestrator:
- No pr: block: PR validation is handled by powerful Azure DevOps Branch Policies, giving you finer control.
- imageBuilderPipelineName: A critical variable linking directly to your "Factory" pipeline, ensuring your Assembly Line always pulls the correct, pre-optimized image.
- Smart Triggers: It runs on pushes to main and develop but excludes the Dockerfile changes, keeping it focused purely on your application code.
- Conditioned Deployment: Deployments only happen on merges (not PRs), ensuring a clean, controlled release flow.

This is where your code gets built, tested, and deployed at maximum velocity!
This is the "Factory" pipeline—your engine for maximum CI/CD efficiency.

Its sole job? To build and compress your powerful "Locked Box" Docker image.

🔑 Key to Speed:
- Smart Trigger: It only runs when the Dockerfile changes, saving you time on every code commit.
- On-the-Fly Optimization: We use docker save | gzip -c > ... to compress the image while exporting it, making the final .tar.gz artifact lightning fast to upload and, crucially, download for the Assembly Line!

Build the image once, use it everywhere. That's the Factory mindset.
Stop wasting 2-3 minutes rebuilding your Docker image on every commit!

The secret to a fast pipeline is splitting your work into the "Factory & Assembly Line."
- The Factory: Runs rarely (only when your Dockerfile changes) to build the slow, reliable "Locked Box" image.
- The Assembly Line: Runs constantly (on every commit) but skips the Docker build entirely. It simply downloads the pre-built image from the Factory and uses it to instantly run your fast code tests.

The result? Your daily pipeline runs are dramatically faster, only executing the work that matters: testing your code.
Stop fighting "it broke on Monday" and "it works on my machine" bugs!

The "Locked Box" isn't just a container—it's your guarantee of pipeline sanity. Your Dockerfile creates an immutable environment that locks in PHP 8.3, all your extensions, and essential tools like acli for perfect, portable execution today, tomorrow, and a year from now.

By pre-baking your dependencies, you don't just get reliability; you get speed—eliminating the wasted minutes of running apt-get on every single job.

Ready to lock down your environment and debug CI failures locally in minutes?
Unlock high-speed, rock-solid Drupal CI/CD in Azure DevOps!

Tired of slow, unreliable pipelines? Discover the "Locked Box" Docker strategy and our "Factory & Assembly Line" two-pipeline approach to achieve the perfect balance of speed and reliability.

Learn how to:
- Build a consistent environment with a custom Docker image.
- Slash build times by only rebuilding what you need.
- Master robust Docker-in-Docker integration testing.
- Get complete, fast YAML templates for building, testing, and deploying to Acquia.

Stop sacrificing stability for speed. Build the fast, maintainable Drupal pipeline you need today!