From 98c07f5040159614bc341a221eebedfe7370540d Mon Sep 17 00:00:00 2001 From: Daniel Kiptoon Date: Fri, 23 Feb 2024 19:28:33 +0300 Subject: [PATCH] utlize the power of kubectl Signed-off-by: Daniel Kiptoon --- .github/workflows/e2etests.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2etests.yml b/.github/workflows/e2etests.yml index 3a2fc703..c2321b48 100644 --- a/.github/workflows/e2etests.yml +++ b/.github/workflows/e2etests.yml @@ -63,7 +63,7 @@ jobs: - name: Start Meshery Server using mesheryctl run: | curl -L https://meshery.io/install | ADAPTERS=meshery-istio PLATFORM=kubernetes bash - - # mesheryctl system config minikube + # wait for Meshery constituent parts to become operational kubectl wait --for=condition=Ready pod --all --all-namespaces --timeout=300s - name: Run minikube tunnel run: | @@ -99,18 +99,18 @@ jobs: # Ensure Meshery Components are running. - name: Check Meshery Components run: | - SECONDS=0 - end=$((SECONDS+300)) - while [ $SECONDS -lt $end ]; do - status=$(mesheryctl system status -v | sed -n 2p | sed -e "s/[[:space:]]\+/ /g" | cut -d " " -f 3) - if [ "$status" = "Running" ];then - echo "status: $status" - break - fi - done + # SECONDS=0 + # end=$((SECONDS+300)) + # while [ $SECONDS -lt $end ]; do + # status=$(mesheryctl system status -v | sed -n 2p | sed -e "s/[[:space:]]\+/ /g" | cut -d " " -f 3) + # if [ "$status" = "Running" ];then + # echo "status: $status" + # break + # fi + # done + kubectl rollout status deployment -n meshery - name: Replace MeshSync run: | - # sleep 60 # # Set your deployment name, container name, new image version, and new image pull policy DEPLOYMENT_NAME="meshery-meshsync" CONTAINER_NAME="meshsync"