diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 576d2bf249658ddd204ed3834287de300480388e..c9204c1c06b892e020d2563f3a8c75c2db0bd48e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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