spinnaker.execution.stages.before

Policies that are run before executing each task in a particular type of pipeline stage.

Note: all packages listed below have a corresponding package name that replaces before with after. These “after” stages are policy checks that are done immediately after stage execution. They are not typically useful but have the same fields as the “before” stages.

When writing policies against sub-packages of spinnaker.execution.stages.before, the most interesting data is in the input.stage.context object. The contents of this object corresponds to the JSON you see if you open that stage in the UI and click the Edit stage as JSON button.

If you write your own custom stages they will also make policy checks, but the contents of custom stages are not covered here. The package name for custom stages is spinnaker.execution.stages.before.<stageType>. The fields unique to their context can be identified through the Edit stage as JSON button in the UI.


spinnaker.execution.stages.before.bake

A policy targeting this object runs before executing each task in a bake stage.

spinnaker.execution.stages.before.cloneServerGroup

A policy targeting this object runs before executing each task in a cloneServerGroup stage.

spinnaker.execution.stages.before.concourse

A policy targeting this object runs before executing each task in a concourse stage.

spinnaker.execution.stages.before.createServerGroup

A policy targeting this object runs before executing each task in a createServerGroup stage.

spinnaker.execution.stages.before.deleteManifest

A policy targeting this object runs before executing each task in a deleteManifest stage.

spinnaker.execution.stages.before.deployManifest

A policy targeting this object runs before executing each task in a deployManifest stage.

spinnaker.execution.stages.before.determineTargetServerGroup

A policy targeting this object runs before executing each task in a determineTargetServerGroup stage.

spinnaker.execution.stages.before.disableCluster

A policy targeting this object runs before executing each task in a disableCluster stage.

spinnaker.execution.stages.before.evaluateArtifacts

A policy targeting this object runs before executing each task in a evaluateArtifacts stage.

spinnaker.execution.stages.before.findArtifactsFromResource

A policy targeting this object runs before executing each task in a findArtifactsFromResource stage.

spinnaker.execution.stages.before.jenkins

A policy targeting this object runs before executing each task in a jenkins stage.

spinnaker.execution.stages.before.manualJudgment

A policy targeting this object runs before executing each task in a manualJudgment stage.

spinnaker.execution.stages.before.patchManifest

A policy targeting this object runs before executing each task in a patchManifest stage.

spinnaker.execution.stages.before.pipeline

A policy targeting this object runs before executing each task in a pipeline stage.

spinnaker.execution.stages.before.rollbackCluster

A policy targeting this object runs before executing each task in a rollbackCluster stage.

spinnaker.execution.stages.before.savePipeline

A policy targeting this object runs before executing each task in a savePipeline stage.

spinnaker.execution.stages.before.scaleDownCluster

A policy targeting this object runs before executing each task in a Scale Down Cluster stage.

spinnaker.execution.stages.before.scaleManifest

A policy targeting this object runs before executing each task in a scaleManifest stage.

spinnaker.execution.stages.before.script

A policy targeting this object runs before executing each task in a script stage.

spinnaker.execution.stages.before.shrinkCluster

A policy targeting this object runs before executing each task in a shrinkCluster stage.

spinnaker.execution.stages.before.terraform

A policy targeting this object runs before executing each task in a terraform stage.

spinnaker.execution.stages.before.undoRolloutManifest

A policy targeting this object runs before executing each task in a undoRolloutManifest stage.

spinnaker.execution.stages.before.upsertLoadBalancers

A policy targeting this object runs before executing each task in a Create Load Balancers stage.

spinnaker.execution.stages.before.upsertProject

A policy targeting this object runs before executing each task in a upsertProject stage.

spinnaker.execution.stages.before.webhook

A policy targeting this object runs before executing each task in a webhook stage.

spinnaker.execution.stages.before.wercker

A policy targeting this object runs before executing each task in a wercker stage.

Common Objects

These objects are found in several packages.


Last modified July 28, 2021: (f3a804d)