Commit Graph

44 Commits

Author SHA1 Message Date
Joachim Bauch 42005d97c4
make: Don't update dependencies but use pinned versions. 2024-03-06 08:27:46 +01:00
Joachim Bauch f071a64797
make: Mark generated files as ".SECONDARY". 2024-02-07 13:08:42 +01:00
Joachim Bauch 6488ba1cf5
make: Fix "BINDIR" getting always created. 2024-02-07 13:08:42 +01:00
Joachim Bauch b710d1704e
make: Mark "common" as ".PHONY". 2024-02-07 13:08:41 +01:00
Joachim Bauch 4a762a3264
make: Enable ".DELETE_ON_ERROR". 2024-02-07 13:08:41 +01:00
Joachim Bauch 55aee6e5dc
make: Keep generated easyjson files in variable. 2024-02-07 13:08:40 +01:00
Joachim Bauch 2b62c9e3c1
make: Automatically detect names of generated proto files. 2024-02-07 13:08:40 +01:00
Joachim Bauch 1a0e51499f
make: Split GRPC / regular PB file generation so it can be parallelized. 2024-02-07 13:08:39 +01:00
Joachim Bauch 2430421006
make: Update easyjson / prococ generators if dependencies changed. 2024-02-07 13:08:39 +01:00
Joachim Bauch 8db4068989
make: Quote regular expression of tests to run. 2024-01-30 17:03:44 +01:00
Joachim Bauch 84151b295a
Simplify vendoring.
Instead of manually copying files to vendor folder, try to get "go" to
detect dependencies instead.
2023-06-07 17:26:32 +02:00
Joachim Bauch 30a2fb134e
tarball: Copy more "google.golang.org/protobuf" modules to vendor.
This is required for the "protoc-gen-go" to be able to compile.
Auto-detection only works for modules that are imported by the main
module.
2023-03-13 10:08:25 +01:00
Joachim Bauch c2182f0440
make: Ensure folder for protoc-gen-go-grpc command exists for tarball. 2023-03-06 10:24:13 +01:00
Joachim Bauch 43ad9b794b
Update protoc-gen-go-grpc to v1.3.0 2023-03-06 10:18:33 +01:00
Joachim Bauch 5843555f6f
vendor: Automatically vendor protobuf modules. 2022-08-05 10:20:56 +02:00
Joachim Bauch 3ae23f0336
make: Include vendored dependencies in tarball. 2022-07-27 17:28:18 +02:00
Joachim Bauch deaa17acc5
Implement per-backend session limit for clusters. 2022-07-13 11:52:20 +02:00
Joachim Bauch 20cc51c2fe
grpc: Automatically detect if a target is the current server itself.
This allows configuring the same list of targets for all instances without
having to setup the "own" address differently for each server.
2022-06-30 11:35:35 +02:00
Joachim Bauch 25dabf910d
Allow configuring GRPC targets through etcd. 2022-06-30 11:35:32 +02:00
Joachim Bauch a0d3af14e0
Add initial clustering support. 2022-06-30 11:35:28 +02:00
Joachim Bauch 0115c97946
Refactor asynchronous events to central location. 2022-06-24 13:37:35 +02:00
Joachim Bauch a06bc333d2
make: remove leftover easyjson bootstrap files in "clean" target 2022-06-24 13:01:03 +02:00
Joachim Bauch da1efac59d
make: No need to run easyjson against room.go.
Doesn't define any JSON structs, so easyjson is no longer needed.
2022-06-14 16:50:34 +02:00
Joachim Bauch b83bf7cb5d
Don't run "go mod tidy" while building. 2022-06-02 15:52:29 +02:00
Joachim Bauch 144eefa2fb
make: Fix unnecessary building of easyjson. 2022-04-11 10:22:22 +02:00
Joachim Bauch 72965533b9
make: Setup PATH to include path to go binary when running easyjson. 2022-04-05 11:29:56 +02:00
Joachim Bauch 320f643a87
make: Update for Go 1.17+ 2022-04-05 10:32:10 +02:00
Joachim Bauch b87f071336
CI: Include all tests in coverage reports. 2022-03-23 13:28:40 +01:00
Joachim Bauch fde95ddc93
make: Also run tests in subfolders. 2022-03-23 13:12:50 +01:00
Joachim Bauch 2ebd93d71d
make: Install easyjson for Golang 1.17+ 2022-03-23 11:11:36 +01:00
Joachim Bauch 7b631b0b2a
Format code using "gofmt". 2022-02-25 09:20:26 +01:00
morph027 e157c1d0e7
adjust easyjson for multiarch builds
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
2021-07-03 14:47:11 +02:00
Joachim Bauch b95a538e87
make: Cache easyjson results. 2021-04-14 15:11:39 +02:00
Joachim Bauch 8ba2e0ad64
Switch dependency tracking to Go modules.
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00
Joachim Bauch 865798f920
make: Only build "godeps" binary once. 2021-01-21 14:23:09 +01:00
Joachim Bauch fa9446efc4
Don't generate easyjson files concurrently. 2021-01-07 09:20:16 +01:00
Joachim Bauch d2af40d229
Update make targets to support parallel building. 2021-01-05 09:11:19 +01:00
morph027 25b2722a4c
adjust godeps for multiarch builds 2020-12-18 21:20:56 +01:00
Joachim Bauch b7c258b459
Add proxy service implementation. 2020-08-13 13:17:08 +02:00
Joachim Bauch 4446b07951
Add MCU type "proxy" that delegates to one or multiple MCU proxies. 2020-08-13 13:17:06 +02:00
Joachim Bauch a3718a4664
Allow passing number of tests runs through "COUNT" parameter. 2020-07-31 13:49:52 +02:00
Joachim Bauch 7f92d105e5
Keep the continent map in the repository to avoid download on build.
Regularly check through CI cron job that it is the latest version.
2020-07-31 11:52:59 +02:00
Joachim Bauch 6b61789c36
Fix dependencies to work in clean go1.6/1.7 environments. 2020-05-12 10:06:00 +02:00
Joachim Bauch 5dcfeda1e9
Initial commit of the OpenSource version.
This corresponds to nextcloud-spreed-signaling 0.0.13
2020-05-12 09:46:20 +02:00