fix: fix: rewrite smoke-init.sh for mock Forgejo + restore pipeline (#143) #147

Merged
dev-qwen merged 10 commits from fix/issue-143 into main 2026-04-02 13:43:42 +00:00
Showing only changes of commit e78ae32225 - Show all commits

View file

@ -146,6 +146,16 @@ git config --global user.name "Smoke Test"
USER=$(whoami) USER=$(whoami)
export USER export USER
# Create mock git repo to avoid clone failure (mock server has no git support)
mkdir -p "/tmp/smoke-test-repo"
cd "/tmp/smoke-test-repo"
git init --quiet
git config user.email "smoke@test.local"
git config user.name "Smoke Test"
echo "# smoke-repo" > README.md
git add README.md
git commit --quiet -m "Initial commit"
export SMOKE_FORGE_URL="$FORGE_URL" export SMOKE_FORGE_URL="$FORGE_URL"
export FORGE_URL export FORGE_URL