From 7cf3bb8441e628923e6537a8c647db2ffe28e249 Mon Sep 17 00:00:00 2001 From: vecmatex Date: Sat, 14 Jun 2025 07:09:44 +0000 Subject: [PATCH] =?UTF-8?q?!76=20=E4=BF=AE=E5=A4=8D=E6=8C=81=E7=BB=AD?= =?UTF-8?q?=E9=83=A8=E7=BD=B2CD=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E7=9B=B4=E6=8E=A5=E4=BD=BF=E7=94=A8kubectl=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E9=83=A8=E7=BD=B2DevStar=E5=88=B0dev.devstar?= =?UTF-8?q?,cn=E4=B8=8A=20*=20=E4=BF=AE=E5=A4=8Dcd=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/devstar-studio-dev-ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/devstar-studio-dev-ci.yaml b/.gitea/workflows/devstar-studio-dev-ci.yaml index 03acf4ed95..55b8a7cfb4 100644 --- a/.gitea/workflows/devstar-studio-dev-ci.yaml +++ b/.gitea/workflows/devstar-studio-dev-ci.yaml @@ -66,6 +66,9 @@ jobs: echo "=> Artifact Tag: rootless-dev-${{ gitea.sha }}" - name: 📝 Update dev.devstar.cn run: | + curl -LO https://mirrors.ustc.edu.cn/kubernetes/core%3A/stable%3A/v1.28/deb/amd64/kubectl_1.28.0-1.1_amd64.deb + sudo dpkg -i kubectl_1.28.0-1.1_amd64.deb + curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash kubectl config set-cluster remote-cluster --server=$${{ secrets.K8S_URL }} --insecure-skip-tls-verify=true kubectl config set-credentials token-user --token=$${{ secrets.K8S_TOKEN }} kubectl config set-context remote-context --cluster=remote-cluster --user=token-user