Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ jobs:
newgrp lxd

- name: Install charmcraft
run: sudo snap install charmcraft --classic --channel=3.x/stable
# We use latest because there's no 4.x track yet.
# We currently need edge to get 26.04 support.
run: sudo snap install charmcraft --classic --channel=latest/edge

- name: Pack charm
run: sg lxd -c "charmcraft pack"
Expand Down Expand Up @@ -133,7 +135,9 @@ jobs:
env:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}
run: |
sudo snap install charmcraft --channel 3.x/stable --classic
# We use latest because there's no 4.x track yet.
# We currently need edge to get 26.04 support.
sudo snap install charmcraft --channel latest/stable --classic
for FILE in *.charm; do
echo "Uploading: $FILE"
charmcraft upload --name "$CHARM_NAME" --release "${{ needs.channel.outputs.test }}" "$FILE"
Expand Down Expand Up @@ -166,7 +170,7 @@ jobs:
if: matrix.cloud == 'microk8s'
uses: balchua/microk8s-actions@v0.4.2
with:
channel: "1.25-strict/stable"
channel: "1.35-strict/stable"
addons: '["dns", "hostpath-storage"]'

- name: Install Juju
Expand All @@ -184,6 +188,7 @@ jobs:
run: |
sg snap_microk8s <<EOF
juju bootstrap microk8s c \
--config agent-stream=proposed \
--controller-charm-channel=${{ needs.channel.outputs.test }}
EOF

Expand Down Expand Up @@ -211,7 +216,11 @@ jobs:
run: |
set -x
set +e
juju status
juju status -m controller
juju debug-log -m controller --replay
sg snap_microk8s <<EOF
microk8s.kubectl -n controller-c get all
microk8s.kubectl -n controller-c get -o yaml pod/controller-0
EOF

# TODO: test integration with dashboard / ha-proxy
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

You will need to have Python 3, Charmcraft and [uv](https://docs.astral.sh/uv/) installed.
```
sudo snap install charmcraft --classic
sudo snap install charmcraft --classic --channel latest/stable
sudo snap install astral-uv --classic
```

Expand Down
4 changes: 4 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ platforms:
ubuntu@24.04:arm64:
ubuntu@24.04:s390x:
ubuntu@24.04:ppc64el:
ubuntu@26.04:amd64:
ubuntu@26.04:arm64:
ubuntu@26.04:s390x:
ubuntu@26.04:ppc64el:
Loading