development #95

Merged
lmiranda merged 89 commits from development into staging 2026-02-01 21:32:42 +00:00
Showing only changes of commit 8f3c5554f9 - Show all commits

View File

@@ -298,11 +298,25 @@ class DataPipeline:
return False
if self.dry_run:
logger.info(" [DRY RUN] Would run: dbt deps")
logger.info(" [DRY RUN] Would run: dbt run")
logger.info(" [DRY RUN] Would run: dbt test")
return True
try:
# Install dbt packages if needed
logger.info(" Running dbt deps...")
result = subprocess.run(
[dbt_cmd, "deps", "--profiles-dir", str(dbt_project_dir)],
cwd=dbt_project_dir,
capture_output=True,
text=True,
)
if result.returncode != 0:
logger.error(f"dbt deps failed:\n{result.stdout}\n{result.stderr}")
return False
# Run dbt models
logger.info(" Running dbt run...")
result = subprocess.run(