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
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 697f96d3aa - Show all commits

View file

@ -1920,8 +1920,10 @@ p.write_text(text)
echo "Repo: ${repo_root} (existing clone)"
fi
# Push to local Forgejo
push_to_forge "$repo_root" "$forge_url" "$forge_repo"
# Push to local Forgejo (skip if SKIP_PUSH is set)
if [ "${SKIP_PUSH:-false}" = "false" ]; then
push_to_forge "$repo_root" "$forge_url" "$forge_repo"
fi
# Detect primary branch
if [ -z "$branch" ]; then

View file

@ -159,6 +159,9 @@ git commit --quiet -m "Initial commit"
export SMOKE_FORGE_URL="$FORGE_URL"
export FORGE_URL
# Skip push to mock server (no git support)
export SKIP_PUSH=true
if bash "${FACTORY_ROOT}/bin/disinto" init \
"${TEST_SLUG}" \
--bare --yes \