Spinnaker Create a Pipeline from Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= =Overview= =Procedure= Create From: Template Source URL: <code>spinnaker://<template-id></code>")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=Internal=
=Internal=
* [[Spinnaker_Operations#Create_a_Pipeline|Spinnaker Operations]]
* [[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==


Create From: Template
Create From: Template


Source URL: <code>spinnaker://<template-id></code>
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.