Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/release_diag_binary_and_image.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 https://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 https://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
"""
Expand Down
Loading