Spinnaker Create a Pipeline from Template: Difference between revisions
Jump to navigation
Jump to search
(→UI) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
==Command Line with <tt>spin</tt>== | ==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== | |||
Create From: Template | |||
Source URL: <code>spinnaker://<template-id></code> | |||
===Define template parameters=== | |||
General | |||
Inherit the following configuration from template: | |||
* Expected Artifacts | |||
* Triggers | |||
* Parameters | |||
Configure | |||
<font size=-1> | |||
Error: | |||
Message: template schema version is unsupported: expected '1', got 'v2' | |||
Severity: FATAL | |||
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.