Spinnaker Create a Pipeline from Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
spin pipeline-template use -k --id "<pipeline-template-id>" --application "<application-name>" --name "<pipeline-name>" --values .../variables.yaml
spin pipeline-template use -k --id "<pipeline-template-id>" --application "<application-name>" --name "<pipeline-name>" --values .../variables.yaml
</syntaxhighlight>
</syntaxhighlight>
where the file name that follows <code>--values</code> is a JSON/YAML file with template variables and values.


==UI==
==UI==

Revision as of 21:46, 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.