Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7bcf928
Save current changes
encadyma Mar 27, 2020
ac2ae25
Add work on Matrix app service
encadyma Apr 15, 2020
fc5c8ef
Add bridge (matrix-appservice-irc) to Kubernetes
encadyma Apr 23, 2020
3ac8c87
Switch to test deploys using testing versions
encadyma Apr 23, 2020
07e6346
Change irc-registration to be internal
encadyma Apr 23, 2020
111ecc2
Retune IRC bridge configuration
encadyma Apr 23, 2020
5127766
Bump up flood delay to 1000ms
encadyma Apr 23, 2020
b71b4a0
Restructure repository to separate server & bridge
encadyma Apr 23, 2020
1e80bc2
Fix indentations and separations
encadyma Apr 23, 2020
979ca42
Template out secrets in Matrix repository
encadyma Apr 30, 2020
884e898
Delete old template files
encadyma Apr 30, 2020
b46b3b4
Clean up + template redundancies
encadyma Apr 30, 2020
0a6da3f
Explicitly give permissions for room publish/aliases
encadyma Apr 30, 2020
9da37ab
Check in log config, resolve YAML issues
encadyma May 1, 2020
0076237
Patch Dockerfiles
encadyma May 1, 2020
fa9b7bd
Move appservice-registration.irc.yaml.erb -> synapse-config
encadyma May 1, 2020
8593634
Enable federation on Matrix server
encadyma May 1, 2020
b3e56ab
Template in Postgres and add sample secrets file
encadyma May 1, 2020
4c0c9b5
Federation for bridge
encadyma May 1, 2020
a1643a2
Drop bridge volume
encadyma May 1, 2020
4f96a4b
Largest commit for Matrix yet
encadyma May 1, 2020
97065cb
Update IRC bridge registration for federation
encadyma May 1, 2020
5747034
Upgrade Synapse + IRC Bridge
encadyma May 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Kubernetes deployment secrets
kubernetes/ocf-kubernetes-deploy-secret-*.erb
secret.yaml
6 changes: 6 additions & 0 deletions Dockerfile.bridge
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG bridge_version=latest
FROM matrixdotorg/matrix-appservice-irc:${bridge_version}

# Unset ENTRYPOINT for easier operability in the image
ENTRYPOINT []
CMD ["/app/docker/start.sh"]
2 changes: 1 addition & 1 deletion Dockerfile → Dockerfile.matrix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG synapse_version=latest
FROM matrixdotorg/synapse:${synapse_version}

COPY homeserver.yaml /etc/matrix/homeserver.yaml
COPY synapse.log.config /etc/matrix/synapse.log.config
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
servicePipeline(
upstreamProjects: ['dockers/master'],
upstreamProjects: [],
)

// vim: ft=groovy
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
DOCKER_REVISION ?= matrix-testing-$(USER)

SYNAPSE_DOCKER_TAG = docker-push.ocf.berkeley.edu/synapse:$(DOCKER_REVISION)
BRIDGE_DOCKER_TAG = docker-push.ocf.berkeley.edu/matrix-appservice-irc:$(DOCKER_REVISION)
RIOT_DOCKER_TAG = docker-push.ocf.berkeley.edu/riot:$(DOCKER_REVISION)
RANDOM_PORT := $(shell expr $$(( 8000 + (`id -u` % 1000) + 2 )))

SYNAPSE_VERSION := v1.9.1-py3
SYNAPSE_VERSION := v1.12.4-py3
RIOT_VERSION := v1.5.15
BRIDGE_VERSION := release-0.17.0-rc4

.PHONY: cook-image
cook-image:
docker build --build-arg synapse_version=$(SYNAPSE_VERSION) --pull -t $(SYNAPSE_DOCKER_TAG) .
docker build -f Dockerfile.riot --build-arg riot_version=$(RIOT_VERSION) --pull -t $(RIOT_DOCKER_TAG) .
docker build --build-arg synapse_version=$(SYNAPSE_VERSION) --pull -f Dockerfile.matrix -t $(SYNAPSE_DOCKER_TAG) .
docker build --build-arg bridge_version=$(BRIDGE_VERSION) --pull -f Dockerfile.bridge -t $(BRIDGE_DOCKER_TAG) .
docker build --build-arg riot_version=$(RIOT_VERSION) --pull -f Dockerfile.riot -t $(RIOT_DOCKER_TAG) .

.PHONY: push-image
push-image:
docker push $(SYNAPSE_DOCKER_TAG)
docker push $(BRIDGE_DOCKER_TAG)
docker push $(RIOT_DOCKER_TAG)

6 changes: 3 additions & 3 deletions config.riot.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_server_config": {
"m.homeserver": {
"base_url": "https://matrix.ocf.berkeley.edu",
"server_name": "matrix.ocf.berkeley.edu"
"server_name": "ocf.berkeley.edu"
},
"m.identity_server": {
"base_url": "https://vector.im"
Expand Down Expand Up @@ -35,11 +35,11 @@
"default_theme": "dark",
"roomDirectory": {
"servers": [
"matrix.ocf.berkeley.edu",
"ocf.berkeley.edu",
"matrix.org"
]
},
"enable_presence_by_hs_url": {
"https://matrix.org": false
}
}
}
Loading