Go to file
Brad Rydzewski 115b2ff5f9
Merge pull request #40 from tboerger/matrix-conditions
Check matrix conditions correctly
2019-04-24 08:09:56 -07:00
samples add license headers 2019-02-10 11:00:16 -08:00
yaml Check matrix conditions correctly 2019-04-24 16:59:32 +02:00
.drone.yml update yaml 2019-02-21 17:01:17 -08:00
.gitignore initial commit 2019-01-22 15:44:17 -08:00
CHANGELOG.md support cron job name in when clause 2019-04-13 12:46:39 -07:00
go.mod ability to set USER 2019-04-10 19:31:22 -07:00
go.sum ability to set USER 2019-04-10 19:31:22 -07:00
LICENSE improve headers 2019-03-17 12:14:12 -07:00
main.go revert pull request #17 2019-03-17 18:37:29 -07:00
NOTICE Update notice [CI SKIP] 2019-02-19 19:53:09 -08:00
README.md revert pull request #17 2019-03-17 18:37:29 -07:00

Package yaml provides a parser, linter, formatter and compiler for the drone configuration file format.

Lint the yaml file:

$ drone-yaml lint samples/simple.yml

Format the yaml file:

$ drone-yaml fmt samples/simple.yml
$ drone-yaml fmt samples/simple.yml --save

Sign the yaml file using a 32-bit secret key:

$ drone-yaml sign 642909eb4c3d47e33999235c0598353c samples/simple.yml
$ drone-yaml sign 642909eb4c3d47e33999235c0598353c samples/simple.yml --save

Verify the yaml file signature:

$ drone-yaml verify 642909eb4c3d47e33999235c0598353c samples/simple.yml

Compile the yaml file:

$ drone-yaml compile samples/simple.yml samples/simple.json