From 5f872439a820f8d5cbc12a6fe12b629f4597b40b Mon Sep 17 00:00:00 2001 From: celebrateyang Date: Sat, 14 Dec 2024 07:43:58 +0800 Subject: [PATCH] to avoid deploy stuck --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 30d754c8..db1ec429 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -103,6 +103,10 @@ jobs: # name: Get current helm values # command: | # helm get values cobalt -n infra -o yaml > /tmp/values.yaml + - run: + name: Delete existing deployment to avoid usually stuck + command: | + kubectl delete deployment cobalt-cobalt-chart || true - run: name: Deploy command: |