|
26 | 26 | run: curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash |
27 | 27 |
|
28 | 28 | - name: Install Helm |
29 | | - uses: azure/setup-helm@v4 |
| 29 | + uses: azure/setup-helm@v5 |
30 | 30 | with: |
31 | 31 | version: 'latest' |
32 | 32 |
|
@@ -60,11 +60,31 @@ jobs: |
60 | 60 | - name: Update Helm dependencies |
61 | 61 | run: helm dependency update deploy/helm/examon |
62 | 62 |
|
63 | | - - name: Deploy ExaMon |
| 63 | + - name: "Deploy ExaMon (phase 1: operators only)" |
64 | 64 | run: | |
65 | 65 | helm install examon deploy/helm/examon \ |
66 | 66 | -f deploy/helm/examon/values-local.yaml \ |
67 | | - -n examon --create-namespace --timeout 15m |
| 67 | + --set cassandra.enabled=false \ |
| 68 | + -n examon --create-namespace --timeout 10m |
| 69 | +
|
| 70 | + - name: Wait for K8ssandra operator webhook |
| 71 | + run: | |
| 72 | + echo "Waiting for K8ssandra operator to be ready..." |
| 73 | + kubectl wait --for=condition=Ready pod \ |
| 74 | + -l app.kubernetes.io/name=k8ssandra-operator \ |
| 75 | + -n examon --timeout=120s |
| 76 | + kubectl wait --for=condition=Ready pod \ |
| 77 | + -l app.kubernetes.io/name=cass-operator \ |
| 78 | + -n examon --timeout=120s |
| 79 | + echo "Waiting for webhook endpoint registration..." |
| 80 | + sleep 10 |
| 81 | + echo "Operators ready." |
| 82 | +
|
| 83 | + - name: "Deploy ExaMon (phase 2: full stack with Cassandra)" |
| 84 | + run: | |
| 85 | + helm upgrade examon deploy/helm/examon \ |
| 86 | + -f deploy/helm/examon/values-local.yaml \ |
| 87 | + -n examon --timeout 15m |
68 | 88 |
|
69 | 89 | - name: Wait for Cassandra to be ready |
70 | 90 | run: | |
|
0 commit comments