Skip to content

Commit

Permalink
Add spread test for tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
erinecon authored Oct 30, 2024
1 parent f1db5a6 commit bb66b89
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,24 @@ prepare: |
install_charmcraft
suites:
docs/tutorial/code/:
summary: tests tutorial from the docs
systems:
- ubuntu-22.04-64
prepare: |
sudo snap install rockcraft --classic
sudo snap install lxd
lxd init --auto
sudo snap install charmcraft --channel latest/edge --classic
sudo snap install microk8s --channel 1.31-strict/stable
sudo adduser $USER snap_microk8s
newgrp snap_microk8s
sudo microk8s enable hostpath-storage
sudo microk8s enable registry
sudo microk8s enable ingress
sudo snap install juju --channel 3.5/stable
mkdir -p ~/.local/share
juju bootstrap microk8s dev-controller
tests/spread/commands/:
summary: simple charmcraft commands
tests/spread/charms/:
Expand Down

0 comments on commit bb66b89

Please sign in to comment.