Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 57bf237

Browse files
committed
Merge branch 'master' of github.com:matrix-org/synapse into anoa/amorgan.xyz
* 'master' of github.com:matrix-org/synapse: (245 commits) 1.22.0 Fixup changelog Expand changelog entry 1.22.0rc2 Fix get|set_type_stream_id_for_appservice store functions (#8648) Properly handle presence events for application services. (#8656) Fix user_daily_visits to not have duplicate rows for UA. (#8654) Fixup changelog even more Fixup changelog some more Fixup changelog 1.22.0rc1 Optimise CacheDescriptor (#8594) fix failure case optimise DeferredCache.set Add some more tests Push some deferred wrangling down into DeferredCache Combine the two sets of tests for CacheDescriptor Limit AS transactions to 100 events (#8606) Separate the TCP and terse JSON formatting code. (#8587) Pin mypy-zope for compatibility with mypy. (#8600) ...
2 parents a9bc513 + fedfdfd commit 57bf237

File tree

505 files changed

+15327
-6867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

505 files changed

+15327
-6867
lines changed

.buildkite/test_db.db

444 KB
Binary file not shown.

.buildkite/worker-blacklist

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,10 @@
11
# This file serves as a blacklist for SyTest tests that we expect will fail in
22
# Synapse when run under worker mode. For more details, see sytest-blacklist.
33

4-
Message history can be paginated
5-
64
Can re-join room if re-invited
75

8-
The only membership state included in an initial sync is for all the senders in the timeline
9-
10-
Local device key changes get to remote servers
11-
12-
If remote user leaves room we no longer receive device updates
13-
14-
Forgotten room messages cannot be paginated
15-
16-
Inbound federation can get public room list
17-
18-
Members from the gap are included in gappy incr LL sync
19-
20-
Leaves are present in non-gapped incremental syncs
21-
22-
Old leaves are present in gapped incremental syncs
23-
24-
User sees updates to presence from other users in the incremental sync.
25-
26-
Gapped incremental syncs include all state changes
27-
28-
Old members are included in gappy incr LL sync if they start speaking
29-
306
# new failures as of https://github.com/matrix-org/sytest/pull/732
317
Device list doesn't change if remote server is down
32-
Remote servers cannot set power levels in rooms without existing powerlevels
33-
Remote servers should reject attempts by non-creators to set the power levels
348

359
# https://buildkite.com/matrix-dot-org/synapse/builds/6134#6f67bf47-e234-474d-80e8-c6e1868b15c5
3610
Server correctly handles incoming m.device_list_update
37-
38-
# this fails reliably with a torture level of 100 due to https://github.com/matrix-org/synapse/issues/6536
39-
Outbound federation requests missing prev_events and then asks for /state_ids and resolves the state
40-
41-
Can get rooms/{roomId}/members at a given point

.circleci/config.yml

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
1-
version: 2
1+
version: 2.1
22
jobs:
33
dockerhubuploadrelease:
4-
machine: true
4+
docker:
5+
- image: docker:git
56
steps:
67
- checkout
7-
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_TAG} .
8+
- setup_remote_docker
9+
- docker_prepare
810
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
9-
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}
11+
- docker_build:
12+
tag: -t matrixdotorg/synapse:${CIRCLE_TAG}
13+
platforms: linux/amd64
14+
- docker_build:
15+
tag: -t matrixdotorg/synapse:${CIRCLE_TAG}
16+
platforms: linux/amd64,linux/arm/v7,linux/arm64
17+
1018
dockerhubuploadlatest:
11-
machine: true
19+
docker:
20+
- image: docker:git
1221
steps:
1322
- checkout
14-
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest .
23+
- setup_remote_docker
24+
- docker_prepare
1525
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
16-
- run: docker push matrixdotorg/synapse:latest
26+
- docker_build:
27+
tag: -t matrixdotorg/synapse:latest
28+
platforms: linux/amd64
29+
- docker_build:
30+
tag: -t matrixdotorg/synapse:latest
31+
platforms: linux/amd64,linux/arm/v7,linux/arm64
1732

1833
workflows:
19-
version: 2
2034
build:
2135
jobs:
2236
- dockerhubuploadrelease:
@@ -29,3 +43,33 @@ workflows:
2943
filters:
3044
branches:
3145
only: master
46+
47+
commands:
48+
docker_prepare:
49+
description: Downloads the buildx cli plugin and enables multiarch images
50+
parameters:
51+
buildx_version:
52+
type: string
53+
default: "v0.4.1"
54+
steps:
55+
- run: apk add --no-cache curl
56+
- run: mkdir -vp ~/.docker/cli-plugins/ ~/dockercache
57+
- run: curl --silent -L "https://github.com/docker/buildx/releases/download/<< parameters.buildx_version >>/buildx-<< parameters.buildx_version >>.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
58+
- run: chmod a+x ~/.docker/cli-plugins/docker-buildx
59+
# install qemu links in /proc/sys/fs/binfmt_misc on the docker instance running the circleci job
60+
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
61+
# create a context named `builder` for the builds
62+
- run: docker context create builder
63+
# create a buildx builder using the new context, and set it as the default
64+
- run: docker buildx create builder --use
65+
66+
docker_build:
67+
description: Builds and pushed images to dockerhub using buildx
68+
parameters:
69+
platforms:
70+
type: string
71+
default: linux/amd64
72+
tag:
73+
type: string
74+
steps:
75+
- run: docker buildx build -f docker/Dockerfile --push --platform << parameters.platforms >> --label gitsha1=${CIRCLE_SHA1} << parameters.tag >> --progress=plain .

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ _trial_temp*/
2121
/.python-version
2222
/*.signing.key
2323
/env/
24+
/.venv*/
2425
/homeserver*.yaml
2526
/logs
2627
/media_store/

0 commit comments

Comments
 (0)