From 4efed42e1047c42ac22d332fef4c159d79bf9d4d Mon Sep 17 00:00:00 2001 From: Adw8 Date: Tue, 29 Oct 2024 18:36:17 +0530 Subject: [PATCH] Remove redundant steps --- service-provider.md | 109 +++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 71 deletions(-) diff --git a/service-provider.md b/service-provider.md index 847a90e..a173295 100644 --- a/service-provider.md +++ b/service-provider.md @@ -36,7 +36,7 @@ Follow steps from 9555 + + # Set pod id + export POD_ID= + # Example: + # export POD_ID=laconic-096fed46af974a47-deployment-644db859c7-snbq6 + ``` + * Copy the GPG key file to the webapp-deployer container ```bash - # Get the webapp-deployer pod id - kubectl get pods --sort-by=.metadata.creationTimestamp -o jsonpath='{.items[-1].metadata.name}' - # laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs - # Copy the GPG key files to the pod - kubectl cp laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs:/app - kubectl cp laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs:/app + kubectl cp $POD_ID:/app + kubectl cp $POD_ID:/app ``` -* Update the webapp ui config + * Check logs + + ```bash + laconic-so deployment --dir webapp-deployer logs cerc-webapp-deployer + ``` + +* Update `webapp-ui/config.env` ```bash # URL of the webapp deployer backend @@ -155,6 +172,12 @@ Follow steps from Update config for webapp deployer @@ -407,8 +374,8 @@ Follow the steps given below to connect the webapp-deployer to testnet2 ```bash # Copy the GPG key files to the pod - kubectl cp POD_ID:/app - kubectl cp POD_ID:/app + kubectl cp $POD_ID:/app + kubectl cp $POD_ID:/app ```` * Check logs