File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 run : |
4949 curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
5050 - name : Run CI task
51+ env :
52+ GIT_TRACE : /tmp/gittrace.log
53+ GIT_TRACE_SETUP : /tmp/gittrace.log
5154 run : |
52- task ci
55+ set +e
56+ : > /tmp/gittrace.log
57+ echo "HOST initial: count=$(git rev-list --count HEAD 2>&1) shallow=$(test -f .git/shallow && echo YES || echo no)"
58+ ( task ci > /tmp/taskci.log 2>&1 ) & TASKCI=$!
59+ CHANGED=0
60+ for t in $(seq 1 120); do
61+ cnt=$(git rev-list --count HEAD 2>/dev/null)
62+ if [ -f .git/shallow ] || { [ -n "$cnt" ] && [ "$cnt" != "644" ]; }; then
63+ echo ">>> HOST .git CHANGED at t=$t ($((t*2))s) : count=$cnt shallow=$(test -f .git/shallow && echo YES||echo no)"
64+ echo "=== git-trace: fetch/clone/depth/shallow + setup cwd/git_dir ==="
65+ grep -inE "fetch|clone|--depth|shallow|setup: git_dir|setup: cwd|setup: worktree" /tmp/gittrace.log | tail -50
66+ echo "=== task ci tail (what ran) ==="; sed -E 's/\x1b\[[0-9;]*m//g' /tmp/taskci.log | tail -30
67+ CHANGED=1; break
68+ fi
69+ sleep 2
70+ done
71+ [ "$CHANGED" = 0 ] && echo ">>> HOST never changed"
72+ echo "=== FULL git-trace (depth/shallow/fetch only) ==="; grep -inE "--depth|shallow|fetch .*file|clone" /tmp/gittrace.log | head -30
73+ kill $TASKCI 2>/dev/null
74+ exit 1
5375 - name : Write manifest
5476 run : |
5577 task manifest
You can’t perform that action at this time.
0 commit comments