Commit Graph

28 Commits

Author SHA1 Message Date
Alex Vandiver e3ffbcadd8
Add better error handling on Zulip (#1589)
* zulip: Treat unknown errors with a 10-second backoff.

An unknown error (including an unauthorized error) would fall through
with no calls to time.Sleep, resulting in hammering the server as
quickly as possible.

Add a 10-second sleep in the default error case.  The heartbeat is
left with no explicit sleep, but all other codepaths now contain one.

* version: Move version information into a separate package.

This will allow it to be accessed by other sections of the code.

* zulip: Use the matterbridge version in the user-agent.

Co-authored-by: Wim <wim@42.be>
2021-10-23 23:46:27 +02:00
Wim 21305d93bf
Push docker images also to ghcr.io 2021-10-17 22:42:00 +02:00
KingPin 4478d5d904
Update GH actions to multi arch (arm64) (#1614)
add arm64 to the docker build
add the package to ghcr.io (github container registery)
this will make it so users can run matterbridge:latest and it will work on both amd64 & arm64
2021-10-17 22:18:20 +02:00
Wim cc6253a6b8
Tag also latest on docker builds 2021-10-17 15:48:37 +02:00
Wim 85f66853bc
Fix docker build 2021-10-17 15:37:55 +02:00
Wim 7464fd149c
Add docker builds on tags 2021-10-17 15:36:43 +02:00
Wim 86f1a8019c
Add the githash to docker builds 2021-10-17 14:28:40 +02:00
Wim a3a8a5769d
Add docker build 2021-10-17 14:12:39 +02:00
Wim 7551b4e7a3
Need to update to Go 1.17 because of gopackage/ddp dependency (#1611) 2021-10-17 00:35:44 +02:00
Wim 110b6a1431
Build static binaries on github 2021-10-14 15:20:58 +02:00
Wim 400ecfb79c
Update github actions to go1.17 and increase deadline (#1573) 2021-08-22 23:33:58 +02:00
Wim 4e11e29f70
Use go1.16 as binary builder. Remove go1.14 (#1407) 2021-02-17 21:37:14 +01:00
Qais Patankar 668e7407e6
Change workflow from go 1.16.0-rc1 to go 1.16.x (#1406) 2021-02-17 21:14:21 +01:00
Wim e24f7f5151
Add go 1.16.0-rc1 to github workflow (#1386) 2021-02-02 00:05:12 +01:00
Wim 10c4bd1ac8
Create codeql-analysis.yml 2020-10-01 22:02:05 +02:00
Wim 491fe35397 Update workflow builds to go 1.15 2020-08-21 00:29:59 +02:00
Wim 2a41abb3d1 Update linter config 2020-07-26 15:05:52 +02:00
Wim 2977a5957e Update README 2020-06-28 19:02:28 +02:00
Wim f70d1c897a Set fetch-depth to 0 to fetch all tags 2020-06-28 18:30:18 +02:00
Wim a4a3525265 Set fetch-depth correct and use vendor when building in workflow 2020-06-28 18:23:46 +02:00
Wim a6dd8446e4 Increase fetch depth in workflow 2020-06-28 18:17:26 +02:00
Wim 7bf9e1cfb3 Fix space in workflow 2020-06-28 18:13:50 +02:00
Wim f291832a77 Upload artifacts on commit 2020-06-28 18:11:02 +02:00
Wim 5636992446 Increase fetch-depth in workflow 2020-06-24 23:37:02 +02:00
Wim f996a2b7ae More linting fixes 2020-06-24 23:28:41 +02:00
Wim 587de96ab3 Update golangci-lint config 2020-06-24 23:21:15 +02:00
Wim 80eb1cd202 Fix duplicate name in workflow 2020-06-24 22:37:46 +02:00
Wim bbf594c815 Use github workflows 2020-06-24 22:36:47 +02:00