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

Commit f46a8a1

Browse files
author
David Robertson
committed
Merge remote-tracking branch 'origin/develop' into dmr/status-as-int-in-logs
2 parents 543fa53 + c581556 commit f46a8a1

File tree

32 files changed

+696
-69
lines changed

32 files changed

+696
-69
lines changed

.github/workflows/tests.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -323,17 +323,22 @@ jobs:
323323
if: ${{ !failure() && !cancelled() }}
324324
needs: linting-done
325325
runs-on: ubuntu-latest
326-
container:
327-
# https://github.com/matrix-org/complement/blob/master/dockerfiles/ComplementCIBuildkite.Dockerfile
328-
image: matrixdotorg/complement:latest
329-
env:
330-
CI: true
331-
ports:
332-
- 8448:8448
333-
volumes:
334-
- /var/run/docker.sock:/var/run/docker.sock
335326

336327
steps:
328+
# The path is set via a file given by $GITHUB_PATH. We need both Go 1.17 and GOPATH on the path to run Complement.
329+
# See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
330+
- name: "Set Go Version"
331+
run: |
332+
# Add Go 1.17 to the PATH: see https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#environment-variables-2
333+
echo "$GOROOT_1_17_X64/bin" >> $GITHUB_PATH
334+
# Add the Go path to the PATH: We need this so we can call gotestfmt
335+
echo "~/go/bin" >> $GITHUB_PATH
336+
337+
- name: "Install Complement Dependencies"
338+
run: |
339+
sudo apt-get update && sudo apt-get install -y libolm3 libolm-dev
340+
go get -v github.com/haveyoudebuggedit/gotestfmt/v2/cmd/gotestfmt@latest
341+
337342
- name: Run actions/checkout@v2 for synapse
338343
uses: actions/checkout@v2
339344
with:
@@ -376,8 +381,11 @@ jobs:
376381
working-directory: complement/dockerfiles
377382

378383
# Run Complement
379-
- run: set -o pipefail && go test -v -json -tags synapse_blacklist,msc2403 ./tests/... 2>&1 | gotestfmt
384+
- run: |
385+
set -o pipefail
386+
go test -v -json -tags synapse_blacklist,msc2403 ./tests/... 2>&1 | gotestfmt
380387
shell: bash
388+
name: Run Complement Tests
381389
env:
382390
COMPLEMENT_BASE_IMAGE: complement-synapse:latest
383391
working-directory: complement

changelog.d/11658.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add an admin API to get a list of rooms that federate with a given remote homeserver.

changelog.d/11743.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a config flag to inhibit M_USER_IN_USE during registration.

changelog.d/11799.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Preparation for reducing Postgres serialization errors: allow setting transaction isolation level. Contributed by Nick @ Beeper.

changelog.d/11811.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Run Complement on the Github Actions VM and not inside a Docker container.

changelog.d/11813.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Log module names at startup.

changelog.d/11816.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Drop support for Python 3.6, which is EOL.

changelog.d/11817.misc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Compatibility with updated type hints for jsonschema 4.4.0.
1+
Correct a type annotation in the event validation logic.

changelog.d/11821.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing steps to the contribution submission process in the documentation. Contributed by @sequentialread.

changelog.d/11823.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Minor updates and documentation for database schema delta files.

0 commit comments

Comments
 (0)