mirror of
https://github.com/outbackdingo/deployment.git
synced 2026-03-21 08:41:23 +00:00
try assert
This commit is contained in:
7
.github/workflows/microk8s.yaml
vendored
7
.github/workflows/microk8s.yaml
vendored
@@ -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: |
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user