Skip to content

Commit

Permalink
perf: 移除不需要的组件
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jun 26, 2023
1 parent 00d2f03 commit 1ccf08c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/7_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
1 change: 1 addition & 0 deletions scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1ccf08c

Please sign in to comment.