woodpecker/server/api
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
..
debug Reorganize code into server/{api,grpc,shared} packages (#337) 2021-09-22 20:48:01 +02:00
metrics gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
badge.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
build.go Add support for pipeline configuration service (#804) 2022-02-28 10:56:23 +01:00
file.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
hook.go Add support for pipeline configuration service (#804) 2022-02-28 10:56:23 +01:00
login.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
registry.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
repo.go Lint code with gofumpt (#664) 2022-01-06 07:44:14 +01:00
secret.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
stream.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
user.go API GetRepos() return empty list if no active repos exist (#658) 2022-01-03 20:31:53 +01:00
users.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
z.go Drop error only on purpose or else report back or log (#514) 2021-11-23 15:36:52 +01:00