Skip to content

Commit 6f7e067

Browse files
author
Kimonas Sotirchos
authored
fix: mount PVC only in workload container (#265)
* fix: mount PVC only in workload container * chore: bump chisme to 0.4.11 for COS tests * chore: add more helpful troubleshooting commands * feat: add action for clearing up space
1 parent 4b7713b commit 6f7e067

File tree

4 files changed

+695
-546
lines changed

4 files changed

+695
-546
lines changed

.github/workflows/integrate.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jobs:
3434
name: Integration Tests
3535
runs-on: ubuntu-24.04
3636
steps:
37+
- name: Maximise GH runner space
38+
uses: easimon/maximize-build-space@v8
39+
with:
40+
root-reserve-mb: 34816
41+
remove-dotnet: 'true'
42+
remove-haskell: 'true'
43+
remove-android: 'true'
44+
remove-codeql: 'true'
45+
remove-docker-images: 'true'
46+
3747
- name: Check out code
3848
uses: actions/checkout@v4
3949
- name: Install dependencies
@@ -51,11 +61,23 @@ jobs:
5161
- name: Get all
5262
run: kubectl get all -A
5363
if: failure()
54-
- name: Describe deployments
55-
run: kubectl describe deployments -A
64+
- name: Describe statefulset
65+
run: kubectl describe statefulsets -n testing
66+
if: failure()
67+
- name: Get statefulset
68+
run: kubectl get statefulsets -n testing -o yaml
69+
if: failure()
70+
- name: Describe Pods
71+
run: kubectl describe pods -n testing
72+
if: failure()
73+
- name: Get Pods
74+
run: kubectl get pods -n testing -o yaml
75+
if: failure()
76+
- name: Describe PVCs
77+
run: kubectl describe pvc -n testing
5678
if: failure()
57-
- name: Describe replicasets
58-
run: kubectl describe replicasets -A
79+
- name: Get PVCs
80+
run: kubectl get pvc -n testing -o yaml
5981
if: failure()
6082
- name: Get juju status
6183
run: juju status

metadata.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ docs: https://discourse.charmhub.io/t/10861
1111
containers:
1212
minio:
1313
resource: oci-image
14+
mounts:
15+
- storage: minio-data
16+
location: /data
1417
resources:
1518
oci-image:
1619
type: oci-image
@@ -55,5 +58,4 @@ provides:
5558
storage:
5659
minio-data:
5760
type: filesystem
58-
location: /data
5961
minimum-size: 10G

0 commit comments

Comments
 (0)