Routing

Updated 2 years ago by Admin

The nodes section can be used to route pipelines to groups of runners with matching labels. This can be useful when you need to route pipelines to runners with special configurations or hardware, for example a pool of runners with gpus or with high memory.

A pipeline is not routed to a runner unless it matches all runner labels. If the pipeline only defines and matches a subset of runner labels it will not be routed to the runner.

1   kind: pipeline
2 type: docker
3 name: default
4
5 steps:
6 - name: build
7 image: golang
8 commands:
9 - go build
10 - go test
11
12 node:
13 keyA: valueA
14 keyB: valueB


How did we do?