ensure invalid dependecy fails linter with helpful error
This commit is contained in:
33
engine/linter/testdata/missing_dep.yml
vendored
33
engine/linter/testdata/missing_dep.yml
vendored
@@ -1,35 +1,18 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: amd64
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
- 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:
|
||||
- foo
|
||||
...
|
||||
depends_on:
|
||||
- foo
|
||||
Reference in New Issue
Block a user