1.04 #1

Merged
zzh merged 8 commits from test into master 2026-10-12 13:57:42 +08:00
Showing only changes of commit 9016dc4116 - Show all commits

View File

@ -48,7 +48,7 @@ jobs:
case "$TARGET" in case "$TARGET" in
test) test)
export KUBECONFIG=/root/.kube/k3s-test.yaml export KUBECONFIG=/etc/rancher/k3s/k3s-test.yaml
export NAMESPACE=test export NAMESPACE=test
export MANIFEST_ROOT=/data/k3s-test export MANIFEST_ROOT=/data/k3s-test
;; ;;
@ -58,6 +58,10 @@ jobs:
export MANIFEST_ROOT=/data/k3s export MANIFEST_ROOT=/data/k3s
;; ;;
esac esac
test -f "$KUBECONFIG" if [[ ! -f "$KUBECONFIG" ]]; then
echo "FAIL: missing KUBECONFIG=$KUBECONFIG host=$(hostname) uid=$(id -u)"
ls -la /etc/rancher/k3s/ /root/.kube/ 2>/dev/null || true
exit 1
fi
./scripts/ci-deploy-api.sh "${{ env.DEPLOY_NAME }}" \ ./scripts/ci-deploy-api.sh "${{ env.DEPLOY_NAME }}" \
"${{ env.CONTAINER_NAME }}" "$IMG" "${{ env.CONTAINER_NAME }}" "$IMG"