mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 05:41:12 +00:00
0fa271f465
- Add json schema file - Add tests to validate sample pipeline files - Add new command `lint` to cli to test a directory or single file to use correct schema Example: `woodpecker-cli lint ./pipeline/schema/.woodpecker/` --- close #275 preparation for #276 Co-authored-by: 6543 <6543@obermui.de>
15 lines
210 B
YAML
15 lines
210 B
YAML
pipeline:
|
|
build:
|
|
image: golang
|
|
commands:
|
|
- go build
|
|
- go test
|
|
|
|
publish:
|
|
image: plugins/docker
|
|
repo: foo/bar
|
|
tags: latest
|
|
|
|
notify:
|
|
image: plugins/slack
|
|
channel: dev
|