Skip to content
Snippets Groups Projects
Commit 56778d86 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Update SYnapse and remove sliding sync proxy

parent e04f5124
No related branches found
No related tags found
No related merge requests found
Pipeline #193910 passed
......@@ -21,33 +21,9 @@ deploy_homeserver:
- sed -e "s/SIGNING_KEY/$SIGNING_KEY/g" -e "s/POSTGRES_PASSWORD/$POSTGRES_PASSWORD/g" secrets_synapse.in.yaml >secrets_synapse.yaml
script:
- kubectl apply -f secrets_synapse.yaml
- helm upgrade --install $CI_ENVIRONMENT_SLUG-synapse ananace-charts/matrix-synapse --version 3.9.12
- helm upgrade --install $CI_ENVIRONMENT_SLUG-synapse ananace-charts/matrix-synapse --version 3.10.1
--set podAnnotations.'app\.gitlab\.com'/env=$CI_ENVIRONMENT_SLUG
--set podAnnotations.'app\.gitlab\.com'/app=$CI_PROJECT_PATH_SLUG
--set config.turnSecret=$TURN_SECRET
-f values_synapse.yaml
--set extraSecrets.oidc_providers\[0\].client_secret=$OPENID_SECRET
deploy_sliding_sync_proxy:
stage: deploy
image: lwolf/helm-kubectl-docker
rules:
- if: $CI_COMMIT_REF_NAME == "main"
changes:
- values_sliding_syncproxy.yaml
- .gitlab-ci.yml
tags:
- teckids-trusted
environment:
name: production/leopard
before_script:
- helm repo add ananace-charts https://ananace.gitlab.io/charts
- helm repo update
- export PASS=$(echo $POSTGRES_PASSWORD | base64 -d)
script:
- helm upgrade --install $CI_ENVIRONMENT_SLUG-syncv3 ananace-charts/sliding-sync-proxy --version 0.2.13
--set podAnnotations.'app\.gitlab\.com'/env=$CI_ENVIRONMENT_SLUG
--set podAnnotations.'app\.gitlab\.com'/app=$CI_PROJECT_PATH_SLUG
--set externalPostgresql.password=$PASS
--set extraSecrets.experimental_features.msc3861.client_secret=$SYNCV3_CLIENT_SECRET
-f values_sliding_syncproxy.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment