Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Increase sleep time after mesh adapter deployment. #63

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/scripts/istio_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ fi
sleep 10
#mesheryctl system login --provider None
echo | mesheryctl mesh deploy adapter meshery-istio:10000 --namespace "istio-system" --token "./.github/workflows/auth.json"
sleep 100
sleep 200
echo "Onboarding application... Standby for few minutes..."
mesheryctl pattern apply -f "https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/bookInfoPattern.yaml" --token "./.github/workflows/auth.json"

# Wait for the application to be ready
sleep 50
sleep 100

# Get the gateway URL and export it and
# Expose the service inside the cluster
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scripts/linkerd_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ curl -fsL https://run.linkerd.io/emojivoto.yml --output emojivoto.yml
sleep 10
#mesheryctl system login --provider None
echo | mesheryctl mesh deploy adapter meshery-linkerd:10001 --token "./.github/workflows/auth.json"
sleep 200
echo "Onboarding application... Standby for few minutes..."
#mesheryctl app onboard -f "./emojivoto.yml" -s "Kubernetes Manifest" --token "./.github/workflows/auth.json"
mesheryctl pattern apply -f "./emojivoto.yml" --token "./.github/workflows/auth.json"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/scripts/osm_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ curl -fsL https://raw.githubusercontent.com/openservicemesh/osm-docs/main/manife
sleep 10
#mesheryctl system login --provider None
echo | mesheryctl mesh deploy adapter meshery-osm:10009 --token "./.github/workflows/auth.json"
sleep 200
echo "Onboarding application... Standby for few minutes..."
#mesheryctl app onboard -f "./bookstore.yaml" -s "Kubernetes Manifest" --token "./.github/workflows/auth.json"
mesheryctl pattern apply -f "https://raw.githubusercontent.com/openservicemesh/osm-docs/main/manifests/apps/bookstore.yaml" --token "./.github/workflows/auth.json"

# Wait for the application to be ready
sleep 100

kubectl get deployments -n bookstore
kubectl get pods -n bookstore

# Wait for the application to be ready
sleep 100

# Expose the application outside the cluster
# backend="$1"
# thisScript="$(dirname "$0")/$(basename "$0")"
Expand Down