Add step labels to step containers
This adds the following labels: - `io.drone.step.number` - `io.drone.step.name` We use these as labels when we send our logs to Loki Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>
This commit is contained in:
16
engine/compiler/testdata/steps.yml
vendored
Normal file
16
engine/compiler/testdata/steps.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go test
|
||||
Reference in New Issue
Block a user