hook up linter
This commit is contained in:
39
engine/linter/testdata/simple.yml
vendored
Normal file
39
engine/linter/testdata/simple.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go test
|
||||
|
||||
services:
|
||||
- name: database
|
||||
image: redis
|
||||
ports:
|
||||
- 6379
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: arm
|
||||
|
||||
platform:
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
- go test
|
||||
|
||||
depends_on:
|
||||
- amd64
|
||||
...
|
||||
Reference in New Issue
Block a user