diff --git a/.gitea/workflows/cicd.yml b/.gitea/workflows/cicd.yml index c4a917b..4352ba0 100644 --- a/.gitea/workflows/cicd.yml +++ b/.gitea/workflows/cicd.yml @@ -606,36 +606,8 @@ jobs: run: | echo "=== Network-Resilient E2E Test Execution ===" - # Enhanced resilient docker pull with aggressive retry logic - export DOCKER_CLI_EXPERIMENTAL=enabled - IMAGE_NAME="dogar.darkhelm.org/darkhelm.org/plex-playlist/cicd:${GITHUB_SHA:-latest}" - - for i in 1 2 3 4 5; do - echo "Enhanced Docker pull attempt $i/5..." - echo "Target image: $IMAGE_NAME" - - if timeout 1200 docker pull --platform linux/amd64 "$IMAGE_NAME"; then - echo "✓ Docker pull successful after $i attempts" - break - else - if [ $i -eq 5 ]; then - echo "❌ All enhanced docker pull attempts failed" - echo "Final attempt: Trying without platform specification..." - if timeout 1200 docker pull "$IMAGE_NAME"; then - echo "✓ Docker pull successful without platform specification" - break - else - echo "❌ Final fallback pull also failed" - exit 1 - fi - fi - echo "⚠ Enhanced pull attempt $i failed, cleaning up and retrying in 30s..." - # Clean up partial downloads and free space - docker system prune -f --volumes 2>/dev/null || true - docker rmi "$IMAGE_NAME" 2>/dev/null || true - sleep 30 - fi - done + # Use the same simple approach as all other successful tests + docker pull dogar.darkhelm.org/darkhelm.org/plex-playlist/cicd:${GITHUB_SHA:-latest} # Run E2E tests with network resilience docker run --rm -e CI=true dogar.darkhelm.org/darkhelm.org/plex-playlist/cicd:${GITHUB_SHA:-latest} bash -c "