Configure Spinnaker pipeline templates with Managed Pipeline Templates v2 (MPT) to standardize deploy pipelines across microservices with per-service variable overrides

domain: Spinnaker · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a pipeline template JSON file defining schema: v2 and a variables block that declares typed parameters such as serviceImage, targetCluster, and rollbackEnabled with default values and description fields
  2. In the template stages array, reference variables using ${ templateVariables.serviceImage } in the Docker image field of the Deploy Manifest stage so the template is generic and parameterized
  3. Save the template to Spinnaker using the spin CLI command spin pipeline-templates save --file template.json; the template is stored in Spinnaker's front50 service
  4. Create per-service pipeline configurations that reference the template using schema: v2 and inherit: pipelineTemplateId; override only the variables block with service-specific values, keeping the stage definitions in the template
  5. Use a Spinnaker webhook trigger on each service pipeline and pass trigger.payload fields through to template variables using ${ trigger.payload.imageTag } to enable event-driven deploys from a CI system
  6. Configure a canary analysis stage in the template that conditionally enables based on the templateVariables.canaryEnabled variable, using a conditional expression to skip the stage when the variable is false

Known gotchas

Related routes

Use Dagster ops and jobs to orchestrate a multi-step legacy pipeline with shared resources and run-scoped configuration
docs.dagster.io · 6 steps · unrated
Configure CircleCI's configuration policies (config-policy-management) to enforce organizational standards on pipeline YAML using OPA Rego policies evaluated server-side
CircleCI · 6 steps · unrated
Configure Buildkite pipelines with dynamic pipeline upload, per-step agents with custom queues, and artifact passing between steps with integrity verification
Buildkite · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans