Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 883 Bytes

metadata.md

File metadata and controls

40 lines (29 loc) · 883 Bytes
title linkTitle description
Metadata
Metadata
This section contains information on the metadata component for a pipeline.

The metadata component is a part of a pipeline for Vela.

This declaration allows extra information to be passed to the pipeline.

Fields

The following fields are used to configure the component:

Name Description Required
template enables compiling the pipeline as a template false

Syntax

The following is an example of valid syntax for a metadata declaration:

version: "1"

+metadata:
+  template: false

steps:
  - name: test
    image: golang
    commands:
      - go test ./...

  - name: build
    image: golang
    commands:
      - go build