ci : .
CI / Verify (push) Successful in 57s
CI / Build immutable images and deploy (push) Failing after 1m44s

This commit is contained in:
2026-08-29 15:40:15 +00:00 Unverified
parent 073c334c94
commit 2b1b3f85d7
+4 -18
View File
@@ -78,25 +78,11 @@ jobs:
uses: azure/setup-kubectl@v4
- name: Configure kubectl
env:
KUBE_CONFIG_B64: ${{ secrets.KUBE_CONFIG_B64 }}
run: |
if [ -z "$KUBE_CONFIG_B64" ]; then
echo "Missing KUBE_CONFIG_B64 secret for the CI deploy identity" >&2
exit 1
fi
kube_dir="$RUNNER_TEMP/buzz-sheet-kube"
mkdir -p "$kube_dir"
chmod 700 "$kube_dir"
export KUBECONFIG="$kube_dir/config"
printf '%s' "$KUBE_CONFIG_B64" | base64 --decode >"$KUBECONFIG"
chmod 600 "$KUBECONFIG"
env_file="${GITEA_ENV_FILE:-${GITHUB_ENV:-}}"
if [ -n "$env_file" ]; then
printf '%s\n' "KUBECONFIG=$KUBECONFIG" >> "$env_file"
fi
kubectl config set-cluster buzz --server=https://100.75.220.33:6443 --insecure-skip-tls-verify=true
kubectl config set-credentials ci-deployer --token=${{ secrets.KUBE_TOKEN }}
kubectl config set-context buzz --cluster=buzz --user=ci-deployer --namespace=buzz
kubectl config use-context buzz
- name: Migrate, then roll out the immutable revision
env: