Spinnaker Create a Pipeline from Template: Difference between revisions
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=Internal= | =Internal= | ||
* [[Spinnaker_Operations#Create_a_Pipeline|Spinnaker Operations]] | * [[Spinnaker_Operations#Create_a_Pipeline|Spinnaker Operations]] | ||
* [[Spinnaker_Pipeline_Template# | * [[Spinnaker_Pipeline_Template#Operations|Spinnaker Pipeline Template]] | ||
=Overview= | =Overview= | ||
=Procedure= | =Procedure= | ||
==Command Line with <tt>spin</tt>== | |||
<syntaxhighlight lang='bash'> | |||
spin pipeline-template use -k --id "<pipeline-template-id>" --application "<application-name>" --name "<pipeline-name>" --values ".../variables.yaml" | |||
</syntaxhighlight> | |||
where the file name that follows <code>--values</code> is a JSON/YAML file with template variables and values. | |||
==UI== | ==UI== | ||
Line 24: | Line 32: | ||
Configure | Configure | ||
<font size=-1> | |||
Error: | Error: | ||
Message: template schema version is unsupported: expected '1', got 'v2' | Message: template schema version is unsupported: expected '1', got 'v2' | ||
Line 30: | Line 38: | ||
Use <code>spin</code> instead. | Use <code>spin</code> instead. | ||
</font> | |||
Latest revision as of 21:47, 30 May 2023
External
Internal
Overview
Procedure
Command Line with spin
spin pipeline-template use -k --id "<pipeline-template-id>" --application "<application-name>" --name "<pipeline-name>" --values ".../variables.yaml"
where the file name that follows --values
is a JSON/YAML file with template variables and values.
UI
Create From: Template
Source URL: spinnaker://<template-id>
Define template parameters
General
Inherit the following configuration from template:
- Expected Artifacts
- Triggers
- Parameters
Configure
Error: Message: template schema version is unsupported: expected '1', got 'v2' Severity: FATAL
Use spin
instead.