Skip to content

Commit

Permalink
Change version and create rust-version file
Browse files Browse the repository at this point in the history
  • Loading branch information
amandahla committed Nov 24, 2023
1 parent b5d0278 commit 0c5960d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src-docs/charm.py.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Unit that this execution is responsible for.

---

<a href="../src/charm.py#L101"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../src/charm.py#L102"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>function</kbd> `change_config`

Expand All @@ -87,7 +87,7 @@ Change configuration.

---

<a href="../src/charm.py#L211"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../src/charm.py#L212"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>function</kbd> `get_admin_access_token`

Expand All @@ -104,7 +104,7 @@ Get admin access token.

---

<a href="../src/charm.py#L91"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../src/charm.py#L92"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>function</kbd> `replan_nginx`

Expand Down
7 changes: 4 additions & 3 deletions synapse_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit 0c5960d

Please sign in to comment.