chore: clean up arty.yml - remove unused scripts and envs
All checks were successful
Build and Push RunPod Docker Image / build-and-push (push) Successful in 14s

- Remove deprecated legacy setup scripts
- Remove unused environment definitions (prod, dev, minimal)
- Remove WebDAV setup script
- Remove redundant model linking script
- Streamline configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-24 10:26:52 +01:00
parent f2186db78e
commit e9a1536f1d

163
arty.yml
View File

@@ -83,37 +83,6 @@ envs:
LOGS_DIR: /workspace/logs
BIN_DIR: /workspace/bin
# Production: Only essential components
prod:
- $AI_ROOT
- $COMFYUI_ROOT
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Manager
- $COMFYUI_ROOT/custom_nodes/ComfyUI-VideoHelperSuite
- $COMFYUI_ROOT/custom_nodes/ComfyUI-AnimateDiff-Evolved
- $COMFYUI_ROOT/custom_nodes/ComfyUI_IPAdapter_plus
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Impact-Pack
# Development: All repositories including optional nodes
dev:
- $AI_ROOT
- $COMFYUI_ROOT
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Manager
- $COMFYUI_ROOT/custom_nodes/ComfyUI-VideoHelperSuite
- $COMFYUI_ROOT/custom_nodes/ComfyUI-AnimateDiff-Evolved
- $COMFYUI_ROOT/custom_nodes/ComfyUI_IPAdapter_plus
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Impact-Pack
- $COMFYUI_ROOT/custom_nodes/ComfyUI-CogVideoXWrapper
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Inspire-Pack
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Advanced-ControlNet
- $COMFYUI_ROOT/custom_nodes/ComfyUI-3D-Pack
- $COMFYUI_ROOT/custom_nodes/comfyui-sound-lab
# Minimal: Only orchestrator and ComfyUI base
minimal:
- $AI_ROOT
- $COMFYUI_ROOT
- $COMFYUI_ROOT/custom_nodes/ComfyUI-Manager
# Deployment scripts for RunPod instances
scripts:
#
@@ -466,58 +435,6 @@ scripts:
echo "To manage: supervisorctl status"
echo "Web UI: http://localhost:9001 (admin/runpod2024)"
setup/webdav: |
echo "========================================="
echo " Setting Up WebDAV Mount (HiDrive)"
echo "========================================="
echo ""
# Install davfs2 if not present
if ! command -v mount.davfs >/dev/null 2>&1; then
echo "Installing davfs2..."
DEBIAN_FRONTEND=noninteractive apt update && DEBIAN_FRONTEND=noninteractive apt install -y davfs2
fi
# Create mount point
echo "Creating mount point..."
mkdir -p /mnt/hidrive
# Create davfs2 secrets file
echo "Configuring WebDAV credentials..."
mkdir -p /etc/davfs2
echo "https://webdav.hidrive.ionos.com/ valknar MwRTW4hR.eRbipQ" | tee /etc/davfs2/secrets > /dev/null
chmod 600 /etc/davfs2/secrets
# Configure davfs2
sed -i 's/# use_locks 1/use_locks 0/' /etc/davfs2/davfs2.conf 2>/dev/null || true
# Mount WebDAV
echo "Mounting HiDrive WebDAV..."
if mount -t davfs https://webdav.hidrive.ionos.com/ /mnt/hidrive; then
echo "✓ HiDrive mounted successfully"
else
echo "⚠ Warning: Mount failed, you may need to mount manually"
echo " Try: mount -t davfs https://webdav.hidrive.ionos.com/ /mnt/hidrive"
fi
# Create ComfyUI output directory
echo "Creating ComfyUI output directory..."
mkdir -p /mnt/hidrive/users/valknar/Pictures/AI/ComfyUI
# Create symlink in ComfyUI
echo "Creating symlink in ComfyUI..."
ln -sf /mnt/hidrive/users/valknar/Pictures/AI/ComfyUI $COMFYUI_ROOT/output_hidrive
echo ""
echo "✓ WebDAV setup complete"
echo ""
echo "Mount point: /mnt/hidrive"
echo "ComfyUI output: /mnt/hidrive/users/valknar/Pictures/AI/ComfyUI"
echo "ComfyUI symlink: $COMFYUI_ROOT/output_hidrive"
echo ""
echo "To unmount: umount /mnt/hidrive"
echo "To remount: mount -t davfs https://webdav.hidrive.ionos.com/ /mnt/hidrive"
#
# Utility Scripts
#
@@ -605,53 +522,6 @@ scripts:
echo " 3. Name: multi-modal-ai-v2.0"
echo " 4. Save and test deployment"
#
# Orchestration Scripts
#
install/minimal: |
echo "========================================="
echo " Minimal Installation"
echo "========================================="
echo ""
echo "Installing: System + Python + ComfyUI + Supervisor"
echo ""
arty run setup/system-packages && \
arty run setup/python-env && \
arty run setup/comfyui-base && \
arty run setup/supervisor
echo ""
echo "✓ Minimal installation complete"
echo ""
echo "Next steps:"
echo " 1. Download models: Use Ansible playbook"
echo " 2. Link models: arty run models/link-comfyui"
echo " 3. Start services: arty run services/start"
install/essential: |
echo "========================================="
echo " Essential Installation"
echo "========================================="
echo ""
echo "Installing: System + Python + ComfyUI + Nodes + Supervisor"
echo ""
arty run setup/system-packages && \
arty run setup/python-env && \
arty run setup/comfyui-base && \
arty run setup/comfyui-nodes && \
arty run setup/supervisor
echo ""
echo "✓ Essential installation complete"
echo ""
echo "Next steps:"
echo " 1. Download models: ansible-playbook playbook.yml --tags comfyui-essential"
echo " 2. Link models: arty run models/link-comfyui"
echo " 3. Link workflows: arty run workflows/link-comfyui"
echo " 4. Start services: arty run services/start"
install/full: |
echo "========================================="
echo " Full Installation"
@@ -677,39 +547,6 @@ scripts:
echo " 4. Configure Tailscale (see instructions above)"
echo " 5. Start services: arty run services/start"
#
# Legacy Setup (deprecated - use install/* instead)
#
setup/full-legacy: |
cd $AI_ROOT
cp .env.example .env
echo "⚠ DEPRECATED: Use 'arty run install/full' instead"
echo "Edit .env and set HF_TOKEN, then run: ansible-playbook playbook.yml"
setup/essential-legacy: |
cd $AI_ROOT
cp .env.example .env
echo "⚠ DEPRECATED: Use 'arty run install/essential' instead"
echo "Edit .env and set HF_TOKEN, then run: ansible-playbook playbook.yml --tags comfyui-essential"
# Model linking (run after models are downloaded)
models/link-comfyui: |
cd $COMFYUI_ROOT/models/diffusers
ln -sf $HF_CACHE/models--black-forest-labs--FLUX.1-schnell FLUX.1-schnell
ln -sf $HF_CACHE/models--black-forest-labs--FLUX.1-dev FLUX.1-dev
ln -sf $HF_CACHE/models--stabilityai--stable-diffusion-xl-base-1.0 stable-diffusion-xl-base-1.0
ln -sf $HF_CACHE/models--stabilityai--stable-diffusion-xl-refiner-1.0 stable-diffusion-xl-refiner-1.0
ln -sf $HF_CACHE/models--stabilityai--stable-diffusion-3.5-large stable-diffusion-3.5-large
cd $COMFYUI_ROOT/models/clip_vision
ln -sf $HF_CACHE/models--openai--clip-vit-large-patch14 clip-vit-large-patch14
ln -sf $HF_CACHE/models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k CLIP-ViT-bigG-14
ln -sf $HF_CACHE/models--google--siglip-so400m-patch14-384 siglip-so400m-patch14-384
cd $COMFYUI_ROOT/models/diffusion_models
ln -sf $HF_CACHE/models--THUDM--CogVideoX-5b CogVideoX-5b
ln -sf $HF_CACHE/models--stabilityai--stable-video-diffusion-img2vid stable-video-diffusion-img2vid
ln -sf $HF_CACHE/models--stabilityai--stable-video-diffusion-img2vid-xt stable-video-diffusion-img2vid-xt
echo "Models linked to ComfyUI"
# Workflow linking (link production workflows with category prefixes)
workflows/link-comfyui: |
# Create ComfyUI user workflows directory