From a4771f71395cd8df2e140cd68d5ab88a08bb2980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 22 Nov 2025 21:12:45 +0100 Subject: [PATCH] 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 --- arty.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arty.yml b/arty.yml index 3b78ee4..54e1d56 100644 --- a/arty.yml +++ b/arty.yml @@ -70,6 +70,14 @@ references: # Environment profiles for selective repository management 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 prod: - $AI_ROOT @@ -607,7 +615,8 @@ scripts: # Clear existing workflow symlinks to avoid conflicts 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_) for file in "$SOURCE_DIR/text-to-image"/*.json; do