1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-06-18 21:58:11 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
680d003a29 Add linter revive ()
* 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
e072e4cce7 Fix pipeline backend autodetect ()
* refactor:
 - rename IsAvivable -> IsAvailable
 - drop depricated Kill
 - make sure backends implement interface
 - rename backend struct for ide (better info)

* docker backend fix autodetect
2021-11-27 02:29:14 +01:00
c1a8884d62 Add backend selection for agent ()
- add backend selection option
- by default it will auto-detect a backend
2021-11-26 03:34:48 +01:00
fac0e16996 Add linter staticcheck ()
* Add linter staticcheck

Co-authored-by: 6543 <6543@obermui.de>
2021-11-25 17:15:36 +01:00
fe31fb1e06 Drop error only on purpose or else report back or log ()
- Remove Deadcode
- Simplify Code
- Drop error only on purpose
2021-11-23 15:36:52 +01:00
4276a04f0c Move entirely to zerolog ()
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
da6fa0ec70 Use moby definitions for docker pipeline backend ()
* Migrate from docker to moby

* moby as interface docker as implementation

* Migrate deprecated func
2021-09-26 21:51:59 +02:00
07d793f727 Migrate go-docker to docker/docker ()
closes 
2021-09-26 14:43:14 +02:00
0bd10fa507 Cleanup Code ()
* Fix "Empty slice declaration using a literal"
* Fix "collides with imported package name"
* Remove unused code in pipeline
* Remove unused oauth2.providerAuthHeaderWorks()
* Add TODOs
* Format Code
* Cleanup doublestar import
* Migrate deprecated functions

Co-authored-by: Anbraten <anton@ju60.de>
2021-09-24 16:29:26 +02:00
e34daae0cf Move cncd/pipeline/pipeline/ to pipeline/ ()
* Refactor: move cncd/pipeline/ to pipeline/

* Refactor: move pipeline/pipeline/ to pipeline/
2021-09-24 13:18:34 +02:00