ComfyUI/test_build.sh
Bahadir Ciloglu 80848f3c54 feat: Add RunPod Hub configuration and storage access test
- Add .runpod/hub.json with serverless configuration
- Add .runpod/tests.json with comprehensive test cases
- Add storage access test to Dockerfile build process
- Add RunPod badge to README.md
- Include model download script for build-time optimization
- Test storage accessibility during Docker build phase
2025-11-01 17:25:26 +03:00

21 lines
865 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# RunPod Build Test Script
echo "🔍 RunPod Storage Access Test"
echo "============================="
# Docker build ile test et (local)
echo "📦 Local Docker build test..."
docker build -f test-storage-access.Dockerfile -t runpod-storage-test . 2>&1 | grep -E "(Storage Access Test|accessible|not accessible)"
echo ""
echo "🚀 Gerçek test için RunPod Dashboard'da bu Dockerfile'ı kullan:"
echo " 1. RunPod Dashboard → Templates → Create Template"
echo " 2. Container Image → Build from Dockerfile"
echo " 3. test-storage-access.Dockerfile içeriğini yapıştır"
echo " 4. Build loglarında storage erişim sonuçlarını kontrol et"
echo ""
echo "📋 Test sonuçlarına göre:"
echo " ✅ Storage erişimi VARSA → Build sırasında model kopyalama"
echo " ❌ Storage erişimi YOKSA → HuggingFace'den model indirme"