Skip to content

Commit

Permalink
test: wait for field
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed Sep 14, 2023
1 parent f817aed commit be77a2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ jobs:
path: /tmp
- name: Load image
run: |
kubectl version
docker load --input /tmp/exporter-container.tar
docker image ls -a
- name: Setup Kubernetes
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ kind-test: ## Deploy including test
kind load docker-image ${IMG} --name ${CLUSTER}
kubectl --context kind-${CLUSTER} -n mongo-system delete pods --all
kustomize build config/tests/cases/${TEST_PROFILE} --enable-helm | kubectl --context kind-${CLUSTER} apply -f -
kubectl --context kind-${CLUSTER} -n mongo-system wait --for=jsonpath='{.status.conditions[1].reason}'=PodCompleted pods -l app.kubernetes.io/managed-by!=Helm -l verify=yes --timeout=3m
kubectl --context kind-${CLUSTER} -n mongo-system wait --allow-missing-template-keys=true --for=jsonpath='{.status.conditions[1].reason}'=PodCompleted pods -l app.kubernetes.io/managed-by!=Helm -l verify=yes --timeout=3m
kustomize build config/tests/cases/${TEST_PROFILE} --enable-helm | kubectl --context kind-${CLUSTER} delete -f -

.PHONY: deploy
Expand Down

0 comments on commit be77a2c

Please sign in to comment.