Skip to content

Commit

Permalink
Check that deployments are all in running state before continuing dur…
Browse files Browse the repository at this point in the history
…ing CI
  • Loading branch information
rooftopcellist committed Jan 9, 2025
1 parent 40f0b92 commit 4bfca41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ jobs:
kubectl wait --for condition=Successful --timeout=600s -f .ci/eda_v1alpha1_eda.${{ matrix.SCENARIO }}.ci.yaml || \
(echo "Reconciliation loop did not converge within 10 minutes" && kubectl describe -f .ci/eda_v1alpha1_eda.${{ matrix.SCENARIO }}.ci.yaml && exit 1)
- name: Check that the EDA demo is running
run: |
kubectl wait --for condition=Running --timeout=-1s -l app.kubernetes.io/component=eda-default-worker
kubectl wait --for condition=Running --timeout=-1s -l app.kubernetes.io/component=eda-activation-worker
kubectl wait --for condition=Running --timeout=-1s -l app.kubernetes.io/component=eda-scheduler
kubectl wait --for condition=Running --timeout=-1s -l app.kubernetes.io/component=eda-api
kubectl wait --for condition=Running --timeout=-1s -l app.kubernetes.io/component=database
kubectl wait --for condition=Running --timeout=-1s -l app.kubernetes.io/component=cache
- name: Backup EDA demo
run: |
kubectl apply -f .ci/eda_v1alpha1_edabackup.ci.yaml
Expand Down

0 comments on commit 4bfca41

Please sign in to comment.