CASE STUDY / DELIVERY AUTOMATION
One release path.
Built for many apps.
A shared workflow that checks, builds, releases, and verifies MuleSoft applications.
01 / OVERVIEW
Make the release process reusable.
A deployment should make it clear which commit was built, what changed, and whether the running application matches the intended release.
I built a reusable GitHub Actions workflow with a small caller in the application repository. It offers separate build, read-only preflight, validation, and deployment operations. The common logic lives in one automation project, while each app supplies its environment settings.
02 / THE CHALLENGE
Manual releases made iteration cumbersome.
Previously, builds and deployments were performed manually through Anypoint Studio. The process also made testing revisions awkward: CloudHub required a new artifact version even when the team was still iterating on the same intended release.
I wanted a repeatable path that made validation and approvals visible, removed manual release steps, and could be reused by the next Mule application without copying an entire workflow.
THE RELEASE PATH
Four operations.
One controlled release.
Each application calls the same workflow. The selected operation determines how far it goes; deployment follows the approved path through a live-state check, tested build, and verification.
03 / DESIGN DECISIONS
Centralize the mechanics. Expose the choices.
Thin application workflows
Each Mule project calls the shared tooling and supplies its own deployment configuration. The workflow remains short enough for an application maintainer to inspect.
Reusable build logic
A shared action handles the repeatable Maven build and deployment steps. Changes to those steps can be reviewed once and adopted across applications.
Inspect before changing anything
The read-only preflight checks application and target identity against the live deployment. It compares normal property names and values, checks secure property names and supplied values, and refuses a deployment when the proposed bundle omits existing settings. Validation then runs the Maven build with test skipping disabled, without publishing an artifact.
Give every revision an identity
For deployment, the build stamps a temporary release version with the run identity and part of the Git commit SHA. The source POM is restored afterward. A build receipt records the source commit and artifact checksum, and deployment checks that receipt before selecting the published artifact. This removes the manual base-version bump for each test revision.
Verify the result behind an approval gate
The workflow waits for the new configuration to become successful, then checks the deployed artifact, target, runtime properties, deployment settings, and replica capacity. The run summary identifies the commit and the outcome of each stage. UAT feature branch deployments require a teammate’s approval; PROD requires manager approval.
04 / WHERE IT STANDS
Shared tooling, proven across applications.
Four Mule applications now use the shared build and deployment workflow. Successful deployment of additional applications confirms that the common release path works beyond SALVO, without requiring drain coordination.
SALVO deployments add intake draining around redeployment, while applications that do not need it use the same tooling without that step. The shared workflow has been exercised in DEV and UAT and has completed a successful production deployment.
Make the path to production as deliberate as the code that takes it there.Back to selected work