Commit graph

747 commits

Author SHA1 Message Date
Joachim Bauch 7d4ba11207
CI: Build with docker-compose 2.15.1 2023-01-26 08:23:53 +01:00
Joachim Bauch 313dfa2c61
CI: Also run docker-compose jobs if Dockerfile is changed. 2023-01-26 08:02:17 +01:00
Joachim Bauch 50390ba1be
CI: Update condition when to run docker-compose jobs. 2023-01-26 07:59:20 +01:00
Joachim Bauch fdfd627b43
Merge pull request #399 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.23.0
build(deps): Bump github.com/nats-io/nats.go from 1.22.1 to 1.23.0
2023-01-19 12:00:07 +01:00
Joachim Bauch be39cee1ea
Merge pull request #397 from strukturag/etcd-update-timeout
Test: add timeout while waiting for etcd event.
2023-01-19 11:59:37 +01:00
dependabot[bot] a9b32ea833
build(deps): Bump github.com/nats-io/nats.go from 1.22.1 to 1.23.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.22.1...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 20:03:08 +00:00
Joachim Bauch 86ee075a3b
Prevent endless loop in case of context timeout / cancellation. 2023-01-18 16:46:25 +01:00
Joachim Bauch 05b9f4d6c9
Always process initial joined / virtual session flags asynchronously.
Otherwise the ordering might be different as the initial messages could be
received before previous asynchronous messages.
2023-01-18 16:44:31 +01:00
Joachim Bauch 567183747a
Mark functions as test helpers. 2023-01-18 15:43:32 +01:00
Joachim Bauch f5261135d2
Fix error message to log what is actually expected. 2023-01-18 15:43:16 +01:00
Joachim Bauch b7f221705a
Close message channel before closing client.
Otherwise the call to "Close" might wait forever for the message processing
goroutine to finish.
2023-01-18 14:26:40 +01:00
Joachim Bauch 6395b87577
Test: log number of active read/write pumps in case of error.
Also dump goroutines to help tracking down what is blocking cleanup.
2023-01-18 14:26:40 +01:00
Joachim Bauch 89637c0a51
Test: add timeout while waiting for etcd event. 2023-01-17 15:41:51 +01:00
Joachim Bauch ef58f9087a
CI: Increase timeout for tests. 2023-01-17 15:15:00 +01:00
Joachim Bauch 8201e433d3
Merge pull request #396 from strukturag/test-count-goroutines
Fix goroutines leak check.
2023-01-17 14:58:25 +01:00
Joachim Bauch 0020076f2b
Run function to test for goroutine leaks as subtest.
This makes sure the test has been completely teared down before the
goroutines are counted and thus should prevent flaky failed tests.
2023-01-17 14:51:02 +01:00
Joachim Bauch 5a12959821
Test: Fix counting / comparing of goroutines. 2023-01-17 14:34:01 +01:00
Joachim Bauch 58bbe76b06
Merge pull request #395 from strukturag/handled-throttled-response
Improve handling of throttled responses from Nextcloud.
2023-01-17 13:44:00 +01:00
Joachim Bauch 5af8636573
Improve handling of throttled responses from Nextcloud. 2023-01-17 13:33:47 +01:00
Joachim Bauch 7bd6fdd93f
Merge pull request #394 from strukturag/messages-done-wg
Stop using WaitGroup to detect finished message processing.
2023-01-17 12:24:08 +01:00
Joachim Bauch 8de8b39a5c
Stop using WaitGroup to detect finished message processing.
This causes flaky races if "Wait" and "Add" are being used from different
goroutines.
2023-01-17 12:09:06 +01:00
Joachim Bauch 2582e4ffb4
Set "platforms" when building with docker-compose.
Follow-up to #384.
2023-01-17 11:59:38 +01:00
Joachim Bauch 0f9090bced
CI: Retry - Update permissions to deploy Docker images. 2023-01-17 11:56:33 +01:00
Joachim Bauch 374492a3a8
CI: Update permissions to deploy Docker images. 2023-01-17 11:48:31 +01:00
Joachim Bauch f1f16f6a22
Merge pull request #393 from strukturag/ci-permissions
CI: Setup permissions for workflows.
2023-01-17 11:42:34 +01:00
Joachim Bauch be4348fc3c
Merge pull request #384 from Zoey2936/master
add aarch64/arm64 docker build
2023-01-17 11:33:27 +01:00
Joachim Bauch e366def1ab
Merge pull request #387 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.11
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.10 to 2.9.11
2023-01-17 11:30:30 +01:00
Joachim Bauch a8ffcfa156
CI: Setup permissions for workflows. 2023-01-17 11:29:54 +01:00
dependabot[bot] f6519a70c9
build(deps): Bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.10 to 2.9.11.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.9.10...v2.9.11)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 07:13:04 +00:00
Joachim Bauch d8927601be
Merge pull request #391 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.52.0
build(deps): Bump google.golang.org/grpc from 1.51.0 to 1.52.0
2023-01-12 08:11:55 +01:00
dependabot[bot] 8efb5c7f26
build(deps): Bump google.golang.org/grpc from 1.51.0 to 1.52.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.51.0 to 1.52.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.52.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 20:03:28 +00:00
Joachim Bauch d7bbf2b0bd
Merge pull request #383 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.22.1
build(deps): Bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1
2023-01-11 08:20:21 +01:00
Zoey 44a1a68db7
add aarch64/arm64 docker build
Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-10 16:49:23 +01:00
dependabot[bot] 3226b32f28
build(deps): Bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.21.0 to 1.22.1.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.21.0...v1.22.1)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 07:12:24 +00:00
Joachim Bauch 5c9fdf8d4e
Merge pull request #382 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.10
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.10
2023-01-02 08:11:32 +01:00
dependabot[bot] 7db6619a07
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.10
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.9 to 2.9.10.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.9.9...v2.9.10)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 20:02:33 +00:00
Joachim Bauch c1a6a6f586
Merge pull request #377 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.9
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.8 to 2.9.9
2022-12-19 10:49:09 +01:00
Joachim Bauch bcd5180acb
Merge pull request #379 from strukturag/dependabot/github_actions/cirrus-actions/rebase-1.8
build(deps): Bump cirrus-actions/rebase from 1.7 to 1.8
2022-12-19 09:59:35 +01:00
dependabot[bot] 382898df53
build(deps): Bump cirrus-actions/rebase from 1.7 to 1.8
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.7 to 1.8.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.7...1.8)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 20:02:04 +00:00
dependabot[bot] cf9128c677
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.8 to 2.9.9
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.8 to 2.9.9.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.9.8...v2.9.9)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 20:02:53 +00:00
Joachim Bauch b4d957fbc5
Merge pull request #374 from strukturag/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.4.3
build(deps): Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
2022-12-05 21:21:23 +01:00
Joachim Bauch b7e7170170
Merge pull request #375 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.21.0
build(deps): Bump github.com/nats-io/nats.go from 1.20.0 to 1.21.0
2022-12-05 21:20:56 +01:00
dependabot[bot] dd71201ed0
build(deps): Bump github.com/nats-io/nats.go from 1.20.0 to 1.21.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 20:03:26 +00:00
dependabot[bot] d6cf0ec534
build(deps): Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 20:02:29 +00:00
Joachim Bauch 3714de9822
Merge pull request #371 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.8
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.7 to 2.9.8
2022-11-24 08:47:48 +01:00
Joachim Bauch 00447dbc0d
Merge pull request #372 from strukturag/dependabot/go_modules/go.etcd.io/etcd/server/v3-3.5.6
build(deps): Bump go.etcd.io/etcd/server/v3 from 3.5.5 to 3.5.6
2022-11-24 08:44:34 +01:00
dependabot[bot] f425460fd9
build(deps): Bump go.etcd.io/etcd/server/v3 from 3.5.5 to 3.5.6
Bumps [go.etcd.io/etcd/server/v3](https://github.com/etcd-io/etcd) from 3.5.5 to 3.5.6.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.5...v3.5.6)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/server/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 20:06:11 +00:00
dependabot[bot] dcfc73e81b
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.7 to 2.9.8
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.7 to 2.9.8.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.9.7...v2.9.8)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 20:05:57 +00:00
Joachim Bauch b5fc698005
Merge pull request #367 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.7
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.6 to 2.9.7
2022-11-23 13:56:17 +01:00
Joachim Bauch fb2f1519f0
Merge pull request #364 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.14.0
build(deps): Bump github.com/prometheus/client_golang from 1.13.1 to 1.14.0
2022-11-23 13:56:00 +01:00