6543
4136df7551
Drop VarArgs in steps in favour of settings ( #919 )
...
* drop VarArgs in steps in favour of settings
* update unit tests
2022-05-17 16:43:05 +02:00
John Olheiser
67d76248a3
Take in an io.Reader instead of file path ( #885 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-04-19 10:40:48 +02:00
eleith
e0d8d13a91
fix pipeline schema to support branch as an array in 'when' ( #836 )
2022-03-09 15:49:06 +01:00
6543
95ce87fa1b
Fix path schema ( #723 )
...
- allow array for path
- remove "include:" as it is default case
- run tests on schema changes too
2022-01-29 14:26:00 +01:00
Philipp
4f015edc05
Add repo
to when
block ( #642 )
...
Co-authored-by: 6543 <6543@obermui.de>
2021-12-30 02:30:08 +01:00
6543
e7cfa902a6
Another fix for settings field in pipeline config ( #579 )
...
close #578
- adjust to new settings field own pipeline config
- more test coverage
- Fix environment parse of settings
- Fix pipeline schema
2021-12-08 18:17:52 +01:00
John Olheiser
71b9179078
Move plugin config to root.pipeline.[step].settings ( #464 )
...
* Move Vargs to Settings
* Allow both until deprecation
* Add more tests
* Adjust schema
* Add missing detach option, fix schema tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2021-12-04 16:44:18 +01:00
Lukas
680d003a29
Add linter revive ( #554 )
...
* Add linter revive
* Add underscore to variable name to prevent shadowing
* Remove unnecessary leading underscore
* Revert changes to vendor file
* export ConfigFetcher as interface
* no 'yoda conditions'
* rename envsubst
Co-authored-by: 6543 <6543@obermui.de>
2021-12-01 14:22:06 +01:00
Anbraten
4cc8594b63
Update links to woodpecker-ci.org ( #445 )
2021-10-14 18:13:57 +02:00
John Olheiser
4276a04f0c
Move entirely to zerolog ( #426 )
...
Completely switch to zerolog
(Remove usage of logrus and std logger)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2021-10-12 09:25:13 +02:00
6543
3254a7ca00
Fix config schema (typo in pipeline.step.when.platform) ( #417 )
...
* fix schema
* fix test fixtures
2021-10-08 18:10:17 +02:00
Anbraten
0fa271f465
Add json schema and cli lint command ( #342 )
...
- 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>
2021-09-27 02:38:15 +02:00