<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Using Pipeline Templates on Spinnaker</title>
		<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/</link>
		<description>Recent content in Using Pipeline Templates on Spinnaker</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Enable Pipeline Templates</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/enable/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/enable/</guid>
				<description>&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;hal config features edit --pipeline-templates true&#xA;hal deploy apply&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
			</item>
			<item>
				<title>Create a Pipeline Template</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/create/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/create/</guid>
				<description>&lt;p&gt;When you create a pipeline template, you start with the underlying JSON of a&#xA;pipeline that already resembles the template you want. You turn this JSON into&#xA;template JSON.&lt;/p&gt;&#xA;&lt;h2 id=&#34;1-get-a-pipelines-json&#34;&gt;1. Get a pipeline&amp;rsquo;s JSON&lt;/h2&gt;&#xA;&lt;p&gt;Use &lt;code&gt;spin&lt;/code&gt; CLI to get the JSON of an existing pipeline that is close to what&#xA;your template will be. Alternatively, you can create a new pipeline in the model&#xA;of your intended template.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Install the &#xA;&lt;a href=&#34;https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/spin/&#34;&gt;spin CLI&lt;/a&gt;&#xA;, if you haven&amp;rsquo;t already done so.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Inherit from a Template or Override It</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/override/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/override/</guid>
				<description>&lt;p&gt;In a pipeline that instantiates a template, besides providing values for&#xA;template variables you can&amp;hellip;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;a href=&#34;#inherit-from-the-template&#34;&gt;Inherit&lt;/a&gt;&#xA; features from the template&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;a href=&#34;#override-the-template&#34;&gt;Override&lt;/a&gt;&#xA; (add to) inherited features.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;inherit-from-the-template&#34;&gt;Inherit from the template&lt;/h2&gt;&#xA;&lt;p&gt;By default, the pipeline instance inherits the stages, expected artifacts, triggers, parameters, and notifications from the template.&#xA;It&amp;rsquo;s possible to opt out of inheriting triggers, parameters, and notifications by including the corresponding string in the &lt;code&gt;exclude&lt;/code&gt; element.&lt;/p&gt;&#xA;&lt;p&gt;For example, the template might have a trigger defined in the &lt;code&gt;triggers&lt;/code&gt; element, but you can opt out of inheriting it by including &lt;code&gt;triggers&lt;/code&gt; inside the &lt;code&gt;exclude&lt;/code&gt; element.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Create a Pipeline from a Template</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/instantiate/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/instantiate/</guid>
				<description>&lt;p&gt;Given a pipeline template that defines variables to be resolved per pipeline,&#xA;you can create pipelines that reference that template and that provide values&#xA;for all of those variables.&lt;/p&gt;&#xA;&lt;h2 id=&#34;instantiate-a-pipeline&#34;&gt;Instantiate a pipeline&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Get the pipeline template.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;spin pipeline-template list&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;This returns a list of all pipeline templates available in the Spinnaker&#xA;deployment.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;From the list, determine which of the listed templates is the one you want,&#xA;and get it using the following command:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Visualize a Hydrated Pipeline</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/plan/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/plan/</guid>
				<description>&lt;p&gt;You can use &lt;code&gt;spin&lt;/code&gt; CLI to visualize a pipeline created from a pipeline template&#xA;without actually instantiating one.&lt;/p&gt;&#xA;&lt;p&gt;When you do this, you are creating JSON output that looks like regular pipeline&#xA;JSON (plus the template reference and hydrated variables), but you&amp;rsquo;re not&#xA;creating the actual pipeline in Spinnaker.&lt;/p&gt;&#xA;&lt;h2 id=&#34;using-spin-pt-plan&#34;&gt;Using &lt;code&gt;spin pt plan&lt;/code&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;spin pipeline-templates plan --file &amp;lt;path to pipeline config&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;{&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;application&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;my-spinnaker-app&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;stages&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;...&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt; &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Evaluated pipeline config based on template config values.&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&amp;hellip;where &lt;code&gt;&amp;lt;path to pipeline config&amp;gt;&lt;/code&gt; points to the &#xA;&lt;a href=&#34;https://deploy-preview-637--spinnaker-io.netlify.app/docs/guides/user/pipeline/pipeline-templates/create/&#34;&gt;file you&#xA;created&lt;/a&gt;&#xA; when you&#xA;instantiated a pipeline based on the template.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
