mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-11 14:02:37 +08:00
- 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
21 lines
865 B
Bash
Executable File
21 lines
865 B
Bash
Executable File
#!/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" |