diff --git a/ci/auto-bump.sh b/ci/auto-bump.sh index cbb2b1b..3737225 100755 --- a/ci/auto-bump.sh +++ b/ci/auto-bump.sh @@ -7,7 +7,7 @@ # 输出: v1.0.2 这样的版本号(stdout,单行) # ============================================================================ set -eu -CHART_REPO="${CHART_REPO:-https://gitee.com/mixing-tech/mixingx.hub.chart.git}" +CHART_REPO="${CHART_REPO:-http://git.mixingx.local/trace/mixingx.hub.chart.git}" latest=$(git ls-remote --tags "$CHART_REPO" 'refs/tags/chart-v*' \ | sed -E 's#.*refs/tags/chart-v##' \ diff --git a/ci/promote.sh b/ci/promote.sh index a670e2e..fc07439 100755 --- a/ci/promote.sh +++ b/ci/promote.sh @@ -85,8 +85,8 @@ PLAN_TXT_FILE="$WS/.plan.txt" FACTS_FILE="$WS/.plan-facts" COMMIT_MSG_FILE="$WS/.commit-msg" CHART_DIR="$WS/.ci/chart" -DEPLOY_REPO="${DEPLOY_REPO:-https://gitee.com/mixing-tech/mixingx.deploy.git}" -CHART_REPO="${CHART_REPO:-https://gitee.com/mixing-tech/mixingx.hub.chart.git}" +DEPLOY_REPO="${DEPLOY_REPO:-http://git.mixingx.local/trace/mixingx.deploy.git}" +CHART_REPO="${CHART_REPO:-http://git.mixingx.local/trace/mixingx.hub.chart.git}" CHARTS_DIR="release-charts" HARBOR_HOST="${HARBOR_HOST:-192.168.1.119:8888}" DRY_RUN="${PROMOTE_DRY_RUN:-false}" @@ -107,7 +107,7 @@ run() { } git_setup() { - git config --global url."https://gitee.com/".insteadOf "git@gitee.com:" 2>/dev/null || true + git config --global url."http://git.mixingx.local/".insteadOf "git@git.mixingx.local:" 2>/dev/null || true git config user.name "Drone Release" git config user.email "drone-release@mixingx.local" }