mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 19:24:32 +00:00
- fix conf/prod/prole.cfg by replacing hardcoded /Users/chrisfu paths with /Users/chrisfu - remove injected [update.sh] log lines and stray password artifacts so config is executable - include latest pending updates across deployment config, UI/core flow, vault/network artifacts, and helper scripts
30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
|
|
|
|
for i in $(seq 1 20); do
|
|
echo "--- [$i/20] $(date -u '+%H:%M:%S') ---"
|
|
|
|
# Check installer progress
|
|
last=$(tail -3 /Users/chrisfu/dev/prole/logs/install_final2.log 2>/dev/null | cat | tr '\n' ' ')
|
|
echo " log tail: $last"
|
|
|
|
# Check for gitlab namespace appearance
|
|
ns=$(kubectl get ns gitlab --no-headers 2>/dev/null | awk '{print $1}' || echo "")
|
|
gitea_ns=$(kubectl get ns gitea --no-headers 2>/dev/null | awk '{print $1}' || echo "")
|
|
echo " gitlab ns: ${ns:-MISSING} | gitea ns: ${gitea_ns:-none}"
|
|
|
|
# Check gitlab pods if namespace exists
|
|
if [[ -n "$ns" ]]; then
|
|
echo " gitlab pods:"
|
|
kubectl -n gitlab get pods --no-headers 2>/dev/null \
|
|
| grep -v jemalloc | awk '{print " "$1,$2,$4}' | head -5
|
|
break
|
|
fi
|
|
|
|
sleep 30
|
|
done
|
|
|
|
echo "==> Installer log — gitlab namespace lines:"
|
|
grep -i "namespace.*gitlab\|gitlab.*namespace\|ns=gitlab" \
|
|
/Users/chrisfu/dev/prole/logs/install_final2.log 2>/dev/null | cat | head -10
|