From d2f1a7b1ea120538dc802d607a325817fa7c397a Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Thu, 2 Apr 2026 18:53:20 +0800 Subject: [PATCH 1/2] ci: replace deprecated PingCAP domains --- ci/release_diag_binary_and_image.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/release_diag_binary_and_image.groovy b/ci/release_diag_binary_and_image.groovy index 34af7744..d1f74154 100644 --- a/ci/release_diag_binary_and_image.groovy +++ b/ci/release_diag_binary_and_image.groovy @@ -198,15 +198,15 @@ def upload_chart(chartPrefixName) { """ echo " merge index.yaml" - sh "curl http://charts.pingcap.org/index.yaml -o index.yaml" + sh "curl http://charts.pingcap.com/index.yaml -o index.yaml" sh "cat index.yaml" - sh "./helm repo index . --url http://charts.pingcap.org/ --merge index.yaml" + sh "./helm repo index . --url http://charts.pingcap.com/ --merge index.yaml" sh "cat index.yaml" echo " download Qinui upload tool" sh """ curl https://raw.githubusercontent.com/pingcap/docs-cn/a4db3fc5171ed8e4e705fb34552126a302d29c94/scripts/upload.py -o upload.py - sed -i 's%https://download.pingcap.org%https://charts.pingcap.org%g' upload.py + sed -i 's%https://download.pingcap.com%https://charts.pingcap.com%g' upload.py sed -i 's/python3/python/g' upload.py chmod +x upload.py """ From b611ee9140129d9459728eff441908e483e70fd2 Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Fri, 3 Apr 2026 19:13:27 +0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: wuhuizuo --- ci/release_diag_binary_and_image.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/release_diag_binary_and_image.groovy b/ci/release_diag_binary_and_image.groovy index d1f74154..f9299644 100644 --- a/ci/release_diag_binary_and_image.groovy +++ b/ci/release_diag_binary_and_image.groovy @@ -198,9 +198,9 @@ def upload_chart(chartPrefixName) { """ echo " merge index.yaml" - sh "curl http://charts.pingcap.com/index.yaml -o index.yaml" + sh "curl https://charts.pingcap.com/index.yaml -o index.yaml" sh "cat index.yaml" - sh "./helm repo index . --url http://charts.pingcap.com/ --merge index.yaml" + sh "./helm repo index . --url https://charts.pingcap.com/ --merge index.yaml" sh "cat index.yaml" echo " download Qinui upload tool"