Skip to content

Commit 4b7713b

Browse files
authored
chore: Update CI to use Canonical K8s (#257)
* Add concierge.yaml * Update setup operator environment step * Update concierge.yaml * Update concierge.yaml
1 parent 899c483 commit 4b7713b

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

.github/workflows/integrate.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ jobs:
3636
steps:
3737
- name: Check out code
3838
uses: actions/checkout@v4
39-
- name: Setup operator environment
40-
uses: charmed-kubernetes/actions-operator@main
41-
with:
42-
provider: microk8s
43-
channel: 1.32-strict/stable
44-
charmcraft-channel: 3.x/stable
45-
juju-channel: 3.6/stable
39+
- name: Install dependencies
40+
run: pipx install tox
41+
42+
- name: Setup environment
43+
run: |
44+
sudo apt-get remove -y docker-ce docker-ce-cli containerd.io
45+
sudo rm -rf /run/containerd
46+
sudo snap install concierge --classic
47+
sudo concierge prepare --trace
4648
- name: Test
4749
run: tox -vve integration -- --model testing
4850

concierge.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
juju:
2+
channel: 3.6/stable
3+
model-defaults:
4+
logging-config: <root>=INFO; unit=DEBUG
5+
6+
providers:
7+
k8s:
8+
enable: true
9+
bootstrap: true
10+
channel: 1.32-classic/stable
11+
features:
12+
local-storage:
13+
enabled: true
14+
bootstrap-constraints:
15+
root-disk: 2G
16+
17+
lxd:
18+
enable: true
19+
bootstrap: false
20+
channel: latest/stable
21+
22+
host:
23+
snaps:
24+
charmcraft:
25+
channel: 3.x/stable

0 commit comments

Comments
 (0)