Platform

Updated 2 years ago by Admin

Use the platform section to configure the target operating system and architecture.

Example linux pipeline:

1  kind: pipeline
2 type: digitalocean
3 name: default
4
5 token:
6 from_secret: token
7
8 platform:
9 os: linux
10 arch: amd64
11
12 steps:
13 - name: build
14 commands:
15 - go build
16 - go test

Example freebsd pipeline:

1  kind: pipeline
2 type: digitalocean
3 name: default
4
5 token:
6 from_secret: token
7
8 platform:
9 os: freebsd
10 arch: amd64
11
12 steps:
13 - name: build
14 commands:
15 - go build
16 - go test


How did we do?