From 5da50271223cc0ed7ac3fe314249c328a8021738 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Thu, 29 Sep 2022 13:39:53 +0800 Subject: [PATCH] Add more logs during the meshery installation. Signed-off-by: Huang Xin --- .github/workflows/scripts/istio_deploy.sh | 5 ++++- .github/workflows/scripts/linkerd_deploy.sh | 7 ++++++- .github/workflows/scripts/osm_deploy.sh | 7 ++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scripts/istio_deploy.sh b/.github/workflows/scripts/istio_deploy.sh index e4a594f..9a832e8 100644 --- a/.github/workflows/scripts/istio_deploy.sh +++ b/.github/workflows/scripts/istio_deploy.sh @@ -13,8 +13,11 @@ if ! [ -x "$(command -v mesheryctl)" ]; then curl -L https://meshery.io/install | ADAPTERS=istio PLATFORM=kubernetes bash - fi -sleep 10 +sleep 200 +kubectl get pods -n meshery +echo "Meshery has been installed." #mesheryctl system login --provider None +echo "Deploying meshery istio adapter..." echo | mesheryctl mesh deploy adapter meshery-istio:10000 --namespace "istio-system" --token "./.github/workflows/auth.json" sleep 200 echo "Onboarding application... Standby for few minutes..." diff --git a/.github/workflows/scripts/linkerd_deploy.sh b/.github/workflows/scripts/linkerd_deploy.sh index 9fb4d4a..4e18765 100644 --- a/.github/workflows/scripts/linkerd_deploy.sh +++ b/.github/workflows/scripts/linkerd_deploy.sh @@ -15,7 +15,12 @@ if ! [ -x "$(command -v mesheryctl)" ]; then fi curl -fsL https://run.linkerd.io/emojivoto.yml --output emojivoto.yml -sleep 10 + +sleep 200 +echo "Meshery has been installed." +kubectl get pods -n meshery + +echo "Deploying meshery linkerd adapter..." #mesheryctl system login --provider None echo | mesheryctl mesh deploy adapter meshery-linkerd:10001 --token "./.github/workflows/auth.json" sleep 200 diff --git a/.github/workflows/scripts/osm_deploy.sh b/.github/workflows/scripts/osm_deploy.sh index f0cb0e3..5ee8d21 100755 --- a/.github/workflows/scripts/osm_deploy.sh +++ b/.github/workflows/scripts/osm_deploy.sh @@ -15,8 +15,13 @@ if ! [ -x "$(command -v mesheryctl)" ]; then fi curl -fsL https://raw.githubusercontent.com/openservicemesh/osm-docs/main/manifests/apps/bookstore.yaml --output bookstore.yaml -sleep 10 + +sleep 200 #mesheryctl system login --provider None +echo "Meshery has been installed." +kubectl get pods -n meshery + +echo "Deploying meshery osm adapter..." echo | mesheryctl mesh deploy adapter meshery-osm:10009 --token "./.github/workflows/auth.json" sleep 200 echo "Onboarding application... Standby for few minutes..."