From c3a0df90673bac0073ff3895a2bf3d5660de303b Mon Sep 17 00:00:00 2001 From: Xin Jiang Date: Tue, 3 Dec 2024 13:41:29 +0800 Subject: [PATCH] set timeout bigger for app sync --- src/utils/argocd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/argocd.ts b/src/utils/argocd.ts index 80dd3b50..6649a6f2 100644 --- a/src/utils/argocd.ts +++ b/src/utils/argocd.ts @@ -33,7 +33,7 @@ export const syncArgoApplication = async (namespace: string, applicationName: st argocd login $URL --insecure --grpc-web --username admin --password $ARGOPW - argocd app sync ${applicationName} --insecure + argocd app sync ${applicationName} --insecure --timeout 300 `; // Execute the shell script commands