1616jobs :
1717 test-helm-chart :
1818 runs-on : ubuntu-latest
19-
19+
2020 steps :
2121 - name : Checkout code
2222 uses : actions/checkout@v4
5555
5656 - name : Run Helm unit tests
5757 run : |
58- helm plugin install https://github.com/quintush /helm-unittest || true
58+ helm plugin install https://github.com/helm-unittest /helm-unittest.git || true
5959 helm unittest charts/hdx-oss-v2
6060
6161 - name : Deploy HyperDX chart
@@ -66,33 +66,33 @@ jobs:
6666 apiKey: "test-api-key-for-ci"
6767 appUrl: "http://localhost:3000"
6868 replicas: 1
69-
69+
7070 clickhouse:
7171 persistence:
7272 enabled: true
7373 dataSize: 2Gi
7474 logSize: 1Gi
75-
75+
7676 persistence:
7777 mongodb:
7878 enabled: true
7979 size: 2Gi
80-
80+
8181 # Enable NodePort services for testing
8282 hyperdx:
8383 service:
8484 type: NodePort
8585 nodePort: 30000
86-
86+
8787 otel:
8888 service:
8989 type: NodePort
9090 nodePort: 30001
9191 EOF
92-
92+
9393 # Install the chart
9494 helm install hyperdx-test ./charts/hdx-oss-v2 -f test-values.yaml --timeout=2m
95-
95+
9696 # Give services time to initialize after pods are running
9797 echo "Waiting for services to initialize..."
9898 sleep 20
@@ -101,18 +101,18 @@ jobs:
101101 run : |
102102 # Wait for all pods to be ready
103103 kubectl wait --for=condition=Ready pods --all --timeout=300s
104-
104+
105105 # Check pod status
106106 kubectl get pods -o wide
107-
107+
108108 # Check services
109109 kubectl get services
110110
111111 - name : Run comprehensive smoke tests
112112 run : |
113113 # Make smoke test script executable
114114 chmod +x ./scripts/smoke-test.sh
115-
115+
116116 # Run the smoke test with CI-specific environment
117117 RELEASE_NAME=hyperdx-test NAMESPACE=default ./scripts/smoke-test.sh
118118
@@ -121,19 +121,19 @@ jobs:
121121 run : |
122122 echo "=== Pod Status ==="
123123 kubectl get pods -o wide
124-
124+
125125 echo "=== Events ==="
126126 kubectl get events --sort-by=.metadata.creationTimestamp
127-
127+
128128 echo "=== HyperDX App Logs ==="
129129 kubectl logs -l app=app --tail=100 || true
130-
130+
131131 echo "=== ClickHouse Logs ==="
132132 kubectl logs -l app=clickhouse --tail=100 || true
133-
133+
134134 echo "=== MongoDB Logs ==="
135135 kubectl logs -l app=mongodb --tail=100 || true
136-
136+
137137 echo "=== OTEL Collector Logs ==="
138138 kubectl logs -l app=otel-collector --tail=100 || true
139139
0 commit comments