Skip to content

Commit

Permalink
👔 fix deploy.custom
Browse files Browse the repository at this point in the history
  • Loading branch information
xiagw committed Nov 9, 2023
1 parent 37687f8 commit 4279adb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,11 @@ _deploy_k8s() {
## 检测 helm upgrade 状态
$kubectl_opt -n "${env_namespace}" rollout status deployment "${helm_release}" --timeout 120s >/dev/null || deploy_result=1

if [ -f "$me_path_data_bin/deploy.custom.sh" ]; then
_msg time "custom deploy."
source "$me_path_data_bin/deploy.custom.sh"
fi

## helm install flyway jobs / helm 安装 flyway 任务
if ${ENV_FLYWAY_HELM_JOB:-false} && [[ -d "${me_path_conf}"/helm/flyway ]]; then
$helm_opt upgrade flyway "${me_path_conf}/helm/flyway/" --install --history-max 1 \
Expand Down

0 comments on commit 4279adb

Please sign in to comment.