fix: stabilize docker live model and doctor-switch tests

This commit is contained in:
Peter Steinberger
2026-02-21 15:36:14 +01:00
parent b25d3652e7
commit b520e7ac38
3 changed files with 22 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ echo "Building Docker image..."
docker build -t "$IMAGE_NAME" -f "$ROOT_DIR/scripts/e2e/Dockerfile" "$ROOT_DIR"
echo "Running doctor install switch E2E..."
docker run --rm -t "$IMAGE_NAME" bash -lc '
docker run --rm -e COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$IMAGE_NAME" bash -lc '
set -euo pipefail
# Keep logs focused; the npm global install step can emit noisy deprecation warnings.
@@ -146,13 +146,13 @@ LOGINCTL
"npm-to-git" \
"$npm_bin daemon install --force" \
"$npm_entry" \
"node $git_cli doctor --repair --force" \
"node $git_cli doctor --repair --force --yes" \
"$git_entry"
run_flow \
"git-to-npm" \
"node $git_cli daemon install --force" \
"$git_entry" \
"$npm_bin doctor --repair --force" \
"$npm_bin doctor --repair --force --yes" \
"$npm_entry"
'