Skip to content

Commit

Permalink
add while
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Rae Kim <[email protected]>
  • Loading branch information
yiraeChristineKim committed Nov 14, 2023
1 parent 9bfe5a2 commit a0495e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/olm_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
- name: Deploy resources on KIND cluster to install Gatekeeper
run: |
make deploy-using-olm REPO=localhost:5000 VERSION=$GITHUB_SHA NAMESPACE=mygatekeeper
while ! kubectl -n mygatekeeper get deployment gatekeeper-operator-controller; do \
echo "Waiting for operator deployment"; \
sleep 2; \
done
kubectl -n mygatekeeper wait pod -l olm.catalogSource=gatekeeper-operator --for condition=ready --timeout=300s
- name: E2E Tests
Expand Down

0 comments on commit a0495e8

Please sign in to comment.