Kegan Dougal
39f0d220e0
Maybe sign releases
2024-05-09 16:03:29 +01:00
Kegan Dougal
4d54faa1a6
Fix remaining race conditions; add -race to CI
2024-03-11 10:30:03 +00:00
Christoph Settgast
d70848c332
CGO disabled to allow running on older distros
...
with CGO we are linking to whatever glibc is in ubuntu-latest, which may
not be present in other distros (Think older Debian, Alpine)
In addition, the docker build with alpine already (implicitly) does not
use CGO, as CGO is still not supported with musl officially if I
understand the following issue correctly: https://github.com/golang/go/issues/19938
So disabling CGO in the released binaries and in the README instructions harmonizes
the behaviour across docker and non-docker builds.
Signed-off-by: Christoph Settgast <csett86_git@quicksands.de>
2024-01-13 23:24:22 +01:00
Kegan Dougal
d065260c38
Bump synapse CI image
2023-10-23 13:32:15 +01:00
kegsay
0c3a2b9c6d
Merge pull request #340 from matrix-org/kegan/complement
...
Use Complement libraries
2023-10-17 13:14:42 +01:00
Kegan Dougal
d1cb97663f
Fixup tests
2023-10-11 17:14:49 +01:00
Kegan Dougal
2bca40107a
Install libolm
2023-10-11 16:57:15 +01:00
David Robertson
1e63d8dff5
Make the docker build trigger on v*
tags too.
2023-10-11 16:45:33 +01:00
David Robertson
2b0f63d784
Release CI: build the binaries with -trimpath
2023-10-11 15:36:48 +01:00
David Robertson
263770e173
Fix release CI: merge binaries into 1 job artifact
2023-10-11 15:23:42 +01:00
David Robertson
d0a09cb866
Fix release CI: create release _after_ build
2023-10-11 15:18:00 +01:00
David Robertson
697ac7a062
WIP: create a release in response to the tag
2023-10-11 15:11:39 +01:00
David Robertson
62cf2a71c0
Explicitly specify GOOS
2023-10-11 14:40:27 +01:00
David Robertson
733ebed068
-o goes before packages
2023-10-11 14:09:49 +01:00
David Robertson
aa649fdc3d
Build and attach {amd,arm}64 binaries to releases
2023-10-11 13:59:42 +01:00
David Robertson
9f4e6ad13d
Disable constantly failing cypress tests
2023-09-28 12:36:43 +01:00
David Robertson
e75a462d4c
Merge pull request #300 from matrix-org/dmr/invalidate-timelines
2023-09-20 14:29:55 +01:00
David Robertson
921ed6e8b3
Faff with CI config
2023-09-20 11:25:43 +01:00
David Robertson
afdb0d7b80
run-tests.sh: timeout after a minute
2023-09-20 11:13:11 +01:00
Kegan Dougal
806639a92c
Review comments
2023-09-14 09:32:20 +01:00
Kegan Dougal
397e52cd9c
Bump to 1.20
2023-09-12 15:16:40 +01:00
David Robertson
97b21d4d9e
Try to publish latest arm docker builds to ghcr.io
...
This works for Synapse latest:
https://github.com/matrix-org/synapse/pkgs/container/synapse/118785109?tag=latest
I don't know _why_ it works, but I'm noticed some differences between
Synapse and SSync. Let's see if they help.
2023-08-17 10:49:47 +01:00
Kegan Dougal
2738d095a2
Skip flakey EW test
2023-08-16 15:12:13 +01:00
Kegan Dougal
31f2554bf3
linux sed
2023-08-16 12:21:38 +01:00
Kegan Dougal
0ab5619efb
Refer to the correct script path
2023-08-16 12:02:21 +01:00
Kegan Dougal
46c10d3c61
Possibly unbreak EW tests
2023-08-16 11:58:08 +01:00
Kegan Dougal
8631ae7dc7
Pin JS SDK
2023-08-15 10:19:10 +01:00
Till Faelligen
ca1ac770f0
Checkout action temporarily overwrites $HOME, so setup twice?
2023-08-03 11:32:17 +02:00
Till Faelligen
9cca492188
Add missing Synapse service
2023-08-03 11:18:25 +02:00
Till Faelligen
d2f163416d
Execute E2E tests instead of client check
2023-08-03 11:17:09 +02:00
Till Faelligen
5d9ec1d002
Fix ooops
2023-08-03 09:48:48 +02:00
Till Faelligen
2134c4bc7a
Add upgrade test
2023-08-03 09:46:50 +02:00
David Robertson
d7440ab5a1
correctly pass arg to gotestfmt
2023-07-26 12:43:50 +01:00
David Robertson
56411d671e
gotestfmt: hide successful jobs, packages, tests and downloads
2023-07-26 11:44:59 +01:00
David Robertson
9505e94f6c
Bump docker-setup-qemu-action to v2
...
Looking at https://github.com/docker/setup-qemu-action/releases I can
only see the node 16 runtime as a breaking change.
Fixes #170 , hopefully.
2023-07-18 15:07:34 +01:00
Kegan Dougal
1e4b6374a0
Use a pinned EW version for e2e tests to unbreak them
2023-07-14 10:45:17 +01:00
Kegan Dougal
37dcd91e09
Set healthcheck retries for synapse too now as we start lots of them
2023-07-12 17:26:43 +01:00
Kegan Dougal
8be09840d0
Add SYNCV3_MAX_DB_CONN: use it in e2e tests
...
This is designed to catch a class of SQL transaction bugs where
we BEGIN a transaction and then forget to use that `txn` var, and
do other things on `sql.DB` which will use a different connection.
By testing with max conns = 1 this will deadlock. We also test with
max conns = 2 to try to catch more pernicious failure modes. Using
max conns = 1 effectively serialises access to the database, but
some bugs may only be apparent when there is some limited amount
of concurrency available e.g mid-processing this event, do X. With
max conns = 1 we cannot test this, which is why we also test with
max conns = 2.
2023-07-12 17:10:47 +01:00
David Robertson
ac0586e7f7
Run CI when not targetting main
2023-04-28 18:55:51 +01:00
David Robertson
2bc768a81a
Always run tests in CI
2023-04-17 22:14:46 +01:00
David Robertson
3d13409d45
Use setup-go v4
...
Which claims to automatically cache build products and deps
2023-04-17 21:58:29 +01:00
David Robertson
a8812f676c
Encourage PR signoff
...
Same as https://github.com/matrix-org/complement/pull/598
2023-03-28 12:07:11 +01:00
kegsay
97c9aea176
Merge pull request #35 from matrix-org/dmr/gha-deprecations
...
Deal with upcoming GHA deprecations
2023-03-22 11:06:52 +01:00
David Robertson
cbaa967fad
Capture cypress output
...
Might help with e.g. #36
2023-03-21 22:12:15 +00:00
David Robertson
c64ab21611
Oops, missed one
2023-03-21 17:43:56 +00:00
David Robertson
47d239e9bd
Deal with upcoming GHA deprecations
...
See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
I've done similar in https://github.com/matrix-org/synapse/issues/14203
2023-03-21 17:25:12 +00:00
David Robertson
28a9090a33
Request gotestfmt with readonly access token
...
Per the advice at ed11bda1c4/README.md (L33-L34)
2023-03-16 14:59:39 +00:00
David Robertson
b7f9b81acd
Use gotestfmt for E2E test output
2023-03-16 14:59:29 +00:00
David Robertson
49797d5ecc
Use gotestfmt for integration test output
2023-03-16 14:59:10 +00:00
Till Faelligen
9ba2ad7dba
Fix docker image publishing
2023-02-24 10:27:31 +01:00