VilnaCRM-Org/crm-infrastructure

Fix CRM load test setup path drift in ci-cd pipeline

开放

#28 创建于 2026年3月13日

 (1 条评论) (1 个反应) (0 位负责人)HCL (0 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Summary

ci-cd-crm fails in the loadTests batch on main because the infrastructure repo still prepares k6 config under crm/src/test/load, while the CRM repository stores load-test assets under crm/tests/load.

Evidence

  • Prod pipeline: ci-cd-crm-prod-pipeline
  • Execution: 4af664ae-5b20-4200-9fb5-82d8ec02e26f
  • Failed child build: ci-cd-crm-prod-batch-pw-load:b63740b0-974f-40e9-ab71-b962641e8d9b
  • Infra script: aws/scripts/sh/k6_installation.sh
  • Current incorrect paths:
    • crm/src/test/load/config.json.dist
    • crm/src/test/load/config.json
  • Actual CRM repository paths:
    • crm/tests/load/config.json.dist
    • crm/tests/load/...

Expected

  • k6_installation.sh should prepare load-test config from the actual CRM repository layout.
  • ci-cd-crm should pass on test and prod from main.

Acceptance criteria

  • aws/scripts/sh/k6_installation.sh handles the CRM load-test directory correctly
  • GitHub CI is green
  • CodeRabbit approves the PR
  • ci-cd-crm-test-pipeline succeeds from main
  • ci-cd-crm-prod-pipeline succeeds from main

贡献者指南