Skip to content

Commit

Permalink
try assert
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Aug 14, 2024
1 parent 01b39f3 commit fbdc725
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/microk8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ jobs:
run: |
kubectl create namespace kerberos-vault
kubectl apply -f ./kerberos-vault-deployment.yaml -n kerberos-vault
echo "Sleeping for 30 seconds, give time for the helm chart to create the pods" && sleep 30
kubectl get pods -A -o wide
echo "Sleeping for 2 seconds, give time for the helm chart to create the pods" && sleep 2
kubectl get pods -A -o wide | grep kerberos-vault | awk '{print $4}' | grep -q '1/1' && echo "kerberos-vault pod is running with status 1/1" || (echo "kerberos-vault pod is not running with status 1/1" && exit 1)
- name: Install Kerberos Agent
id: install-kerberos-agent
run: |
Expand All @@ -68,5 +67,5 @@ jobs:
sed -e '/limits/ s/^#*/#/' -i ./data-filtering-deployment.yaml
sed -e '/nvidia/ s/^#*/#/' -i ./data-filtering-deployment.yaml
kubectl apply -f data-filtering-deployment.yaml
echo "Sleeping for 30 seconds, give time for the helm chart to create the pods" && sleep 30
echo "Sleeping for 120 seconds, give time for the helm chart to create the pods" && sleep 120
kubectl get pods -A -o wide

0 comments on commit fbdc725

Please sign in to comment.