Skip to content

Commit b02aa9e

Browse files
ci(k8s): wait for pods to complete
1 parent e8f363a commit b02aa9e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/k8s-integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
with:
3535
cluster_name: fair-ci
3636
config: infra/ci/kind-config.yaml
37+
node_image: kindest/node:v1.33.0
3738

3839
- name: Deploy PostgreSQL
3940
run: |
@@ -49,11 +50,13 @@ jobs:
4950
helmfile-workdirectory: infra/dev
5051
helmfile-auto-init: "true"
5152

52-
- name: Wait for pods
53+
- name: Wait for infra
5354
run: |
55+
kubectl wait --for=condition=complete job --all -n $NAMESPACE --timeout=300s
5456
kubectl rollout status -n $NAMESPACE deployment/stac-stac --timeout=300s
5557
kubectl rollout status -n $NAMESPACE deployment/zenml --timeout=300s
56-
kubectl wait --for=condition=ready pod --all -n $NAMESPACE --timeout=600s
58+
kubectl rollout status -n $NAMESPACE deployment/minio --timeout=300s
59+
kubectl rollout status -n $NAMESPACE deployment/mlflow --timeout=300s
5760
5861
- name: Port-forward services
5962
run: |

0 commit comments

Comments
 (0)