feat: add runpod environment with variables and fix workflow paths
- Add runpod env with AI_ROOT, COMFYUI_ROOT, HF_CACHE, LOGS_DIR, BIN_DIR - Update workflows/link-comfyui to use $AI_ROOT for absolute paths - Workflows will now link correctly from /workspace/ai/comfyui/workflows
This commit is contained in:
11
arty.yml
11
arty.yml
@@ -70,6 +70,14 @@ references:
|
|||||||
|
|
||||||
# Environment profiles for selective repository management
|
# Environment profiles for selective repository management
|
||||||
envs:
|
envs:
|
||||||
|
# RunPod environment variables
|
||||||
|
runpod:
|
||||||
|
AI_ROOT: /workspace/ai
|
||||||
|
COMFYUI_ROOT: /workspace/ComfyUI
|
||||||
|
HF_CACHE: /workspace/huggingface_cache
|
||||||
|
LOGS_DIR: /workspace/logs
|
||||||
|
BIN_DIR: /workspace/bin
|
||||||
|
|
||||||
# Production: Only essential components
|
# Production: Only essential components
|
||||||
prod:
|
prod:
|
||||||
- $AI_ROOT
|
- $AI_ROOT
|
||||||
@@ -607,7 +615,8 @@ scripts:
|
|||||||
# Clear existing workflow symlinks to avoid conflicts
|
# Clear existing workflow symlinks to avoid conflicts
|
||||||
find . -type l -name "*.json" -delete
|
find . -type l -name "*.json" -delete
|
||||||
|
|
||||||
SOURCE_DIR="comfyui/workflows"
|
# Absolute path to workflows from /workspace/ai
|
||||||
|
SOURCE_DIR="$AI_ROOT/comfyui/workflows"
|
||||||
|
|
||||||
# Text-to-Image workflows (prefix: t2i_)
|
# Text-to-Image workflows (prefix: t2i_)
|
||||||
for file in "$SOURCE_DIR/text-to-image"/*.json; do
|
for file in "$SOURCE_DIR/text-to-image"/*.json; do
|
||||||
|
|||||||
Reference in New Issue
Block a user