Skip to content

Commit 82b5e2f

Browse files
authored
chore: Update CI to use Canonical K8s (#287)
* Add concierge.yaml * Update setup operator environment step * Update concierge.yaml * Update concierge.yaml * Update concierge.yaml
1 parent 3a497cd commit 82b5e2f

File tree

2 files changed

+37
-8
lines changed

2 files changed

+37
-8
lines changed

.github/workflows/integrate.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,15 @@ jobs:
4747
charm: [argo-controller]
4848
steps:
4949
- uses: actions/checkout@v4
50-
- name: Setup operator environment
51-
uses: charmed-kubernetes/actions-operator@main
52-
with:
53-
provider: microk8s
54-
channel: 1.32-strict/stable
55-
microk8s-addons: "dns storage rbac metallb:10.64.140.43-10.64.140.49"
56-
juju-channel: 3.6/stable
57-
charmcraft-channel: 3.x/stable
50+
- name: Install dependencies
51+
run: pipx install tox
52+
53+
- name: Setup environment
54+
run: |
55+
sudo apt-get remove -y docker-ce docker-ce-cli containerd.io
56+
sudo rm -rf /run/containerd
57+
sudo snap install concierge --classic
58+
sudo concierge prepare --trace
5859
5960
- name: Build and test
6061
working-directory: ./charms/${{ matrix.charm }}

concierge.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
load-balancer:
14+
enabled: true
15+
l2-mode: true
16+
cidrs: 10.64.140.43/32
17+
bootstrap-constraints:
18+
root-disk: 2G
19+
20+
lxd:
21+
enable: true
22+
bootstrap: false
23+
channel: latest/stable
24+
25+
host:
26+
snaps:
27+
charmcraft:
28+
channel: 3.x/stable

0 commit comments

Comments
 (0)