1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-24 11:48:01 +01:00
drone-cli/drone/jsonnet/testdata/stream_format.jsonnet

28 lines
435 B
Plaintext
Raw Normal View History

local pipeline(name) =
{
kind: 'pipeline',
type: 'docker',
name: name,
platform: {
os: 'linux',
arch: 'amd64',
},
steps: [
{
name: 'test',
image: 'golang:1.16',
commands: ['go test ./...'],
},
{
name: 'build',
image: 'golang:1.16',
commands: ['go build ./...'],
},
],
};
[
pipeline('first'),
pipeline('second'),
]