Visualize a Hydrated Pipeline
You can use
spin CLI to visualize a pipeline created from a pipeline template
without actually instantiating one.
When you do this, you are creating JSON output that looks like regular pipeline JSON (plus the template reference and hydrated variables), but you’re not creating the actual pipeline in Spinnaker.
spin pt plan
spin pipeline-templates plan --file <path to pipeline config>
"stages": [...] # Evaluated pipeline config based on template config values.
<path to pipeline config> points to the
instantiated a pipeline based on the template.
Now what do I do with it?
Use the output JSON to visualize what your resulting pipeline config will look like after you instantiate it. When you’re ready, you can save it as a pipeline in Spinnaker:
spin pipeline save --file <path to pipeline config>