From 1ccf08c21da99b9c1a9f77db66d50517863ffc11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Mon, 26 Jun 2023 18:53:24 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/7_upgrade.sh | 4 ++++ scripts/utils.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/scripts/7_upgrade.sh b/scripts/7_upgrade.sh index 91addbb4..96d2027e 100644 --- a/scripts/7_upgrade.sh +++ b/scripts/7_upgrade.sh @@ -38,6 +38,10 @@ function upgrade_config() { docker stop jms_lb &>/dev/null docker rm jms_lb &>/dev/null fi + if docker ps -a | grep jms_omnidb &>/dev/null; then + docker stop jms_omnidb &>/dev/null + docker rm jms_omnidb &>/dev/null + fi current_version=$(get_config CURRENT_VERSION) if [ -z "${current_version}" ]; then set_config CURRENT_VERSION "${VERSION}" diff --git a/scripts/utils.sh b/scripts/utils.sh index 58e9cf1f..30f6217d 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -147,6 +147,7 @@ function get_images() { echo "jumpserver/koko:${VERSION}" echo "jumpserver/lion:${VERSION}" echo "jumpserver/magnus:${VERSION}" + echo "jumpserver/chen:${VERSION}" echo "jumpserver/web:${VERSION}" fi }