From 73b403ba22eabe43c153020f8172c008ec9f90d6 Mon Sep 17 00:00:00 2001 From: Aadhitya A Date: Sun, 11 Aug 2024 20:07:36 +0530 Subject: [PATCH 1/2] Rename pattern to design cmd in scripts Signed-off-by: Aadhitya A --- .github/workflows/scripts/istio_deploy.sh | 2 +- .github/workflows/scripts/osm_deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/istio_deploy.sh b/.github/workflows/scripts/istio_deploy.sh index dd08306..6ef30e1 100644 --- a/.github/workflows/scripts/istio_deploy.sh +++ b/.github/workflows/scripts/istio_deploy.sh @@ -31,7 +31,7 @@ curl -fsL http://raw.githubusercontent.com/service-mesh-patterns/service-mesh-pa yq e -i '.services.istioinstallation.settings.profile = "default"' minimalistiobookinfo.yaml cat minimalistiobookinfo.yaml -mesheryctl pattern apply -f "./minimalistiobookinfo.yaml" --token "./.github/workflows/auth.json" +mesheryctl design apply -f "./minimalistiobookinfo.yaml" --token "./.github/workflows/auth.json" # Wait for the application to be ready sleep 300 diff --git a/.github/workflows/scripts/osm_deploy.sh b/.github/workflows/scripts/osm_deploy.sh index e9e0bcf..c8335f0 100755 --- a/.github/workflows/scripts/osm_deploy.sh +++ b/.github/workflows/scripts/osm_deploy.sh @@ -28,7 +28,7 @@ echo | mesheryctl mesh deploy adapter meshery-osm:10009 --token "./.github/workf 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" +mesheryctl design 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 From ffd1200746794b593d713092f2e058118e9135a3 Mon Sep 17 00:00:00 2001 From: Aadhitya A Date: Sat, 17 Aug 2024 13:12:14 +0530 Subject: [PATCH 2/2] Edit script with latest cmd Signed-off-by: Aadhitya A --- .github/workflows/scripts/linkerd_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/linkerd_deploy.sh b/.github/workflows/scripts/linkerd_deploy.sh index 47a8a3a..a2d6a1c 100644 --- a/.github/workflows/scripts/linkerd_deploy.sh +++ b/.github/workflows/scripts/linkerd_deploy.sh @@ -28,7 +28,7 @@ echo | mesheryctl mesh deploy adapter meshery-linkerd:10001 --token "./.github/w sleep 200 echo "Onboarding application... Standby for few minutes..." #mesheryctl app onboard -f "./emojivoto.yml" -s "Kubernetes Manifest" --token "./.github/workflows/auth.json" -mesheryctl app onboard -f "./emojivoto.yml" --token "./.github/workflows/auth.json" +mesheryctl design onboard -f "./emojivoto.yml" --token "./.github/workflows/auth.json" # Wait for the application to be ready sleep 100