diff --git a/src-docs/charm.py.md b/src-docs/charm.py.md
index d40ab37c..5ff25daf 100644
--- a/src-docs/charm.py.md
+++ b/src-docs/charm.py.md
@@ -75,7 +75,7 @@ Unit that this execution is responsible for.
---
-
+
### function `change_config`
@@ -87,7 +87,7 @@ Change configuration.
---
-
+
### function `get_admin_access_token`
@@ -104,7 +104,7 @@ Get admin access token.
---
-
+
### function `replan_nginx`
diff --git a/synapse_rock/rockcraft.yaml b/synapse_rock/rockcraft.yaml
index dbb4eaf5..19003a10 100644
--- a/synapse_rock/rockcraft.yaml
+++ b/synapse_rock/rockcraft.yaml
@@ -5,9 +5,9 @@ name: synapse
summary: Synapse rock
description: Synapse OCI image for the Synapse charm
version: "1.0"
-base: ubuntu:22.04
+base: ubuntu@22.04
# renovate: base: ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
-build-base: ubuntu:22.04
+build-base: ubuntu@22.04
# renovate: build-base: ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
license: Apache-2.0
platforms:
@@ -52,7 +52,7 @@ parts:
plugin: nil
source: https://github.com/matrix-org/synapse/
source-type: git
- source-tag: v1.85.2
+ source-tag: v1.96.1
override-build: |
craftctl default
export RUSTUP_HOME=/rust
@@ -61,6 +61,7 @@ parts:
export CARGO_NET_GIT_FETCH_WITH_CLI=false
mkdir -p /rust /cargo /synapse /install
curl -m 30 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable --profile minimal
+ /rust/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc -V > $CRAFT_PART_INSTALL/rust-version
pip3 install -U pip setuptools
pip3 install --root-user-action=ignore "poetry==1.3.2"
cp pyproject.toml poetry.lock /synapse/