woodpecker/server/shared
Lukas Bachschwell 59ba8538a1
Add support for pipeline configuration service (#804)
* Add configuration extension flags to server
Add httpsignatures dependency

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Add http fetching to config fetcher

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Refetch config on rebuild

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* - Ensure multipipeline compatiblity
- Send original config in http request

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Basic tests of config api

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Simple docs page

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Better flag naming

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Rename usages of the term yaml
Rename ConfigAPI struct

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Doc adjustments

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* More docs touchups

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Fix env vars in docs

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* fix json tags for api calls

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Add example config service

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Consistent naming for configService

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Docs: Change example repository location

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Fix tests after response field rename

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Revert accidential unrelated change in api hook

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>

* Update server flag descriptions

Co-authored-by: Anbraten <anton@ju60.de>

Co-authored-by: Anbraten <anton@ju60.de>
2022-02-28 10:56:23 +01:00
..
buildStatus.go Rename struct field and add new types into server/model's (#523) 2021-11-22 12:55:13 +01:00
buildStatus_test.go gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
configFetcher.go Add support for pipeline configuration service (#804) 2022-02-28 10:56:23 +01:00
configFetcher_test.go Add support for pipeline configuration service (#804) 2022-02-28 10:56:23 +01:00
procBuilder.go Add support for default clone image environment variable (#769) 2022-02-10 17:05:19 +01:00
procBuilder_test.go gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
procStatus.go Fix various typos (#416) 2021-10-08 18:35:56 +02:00
procStatus_test.go gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
userSyncer.go pass repo to remote perm func (#653) 2022-01-03 15:33:36 +01:00