ensure invalid dependecy fails linter with helpful error

This commit is contained in:
Brad Rydzewski
2020-08-19 10:43:59 -04:00
parent fe9dece266
commit 4b10e95195
3 changed files with 42 additions and 34 deletions

View File

@@ -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