VilnaCRM-Org/crm-infrastructure

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

Aberta

#28 aberto em 13 de mar. de 2026

 (1 comentário) (1 reação) (0 responsável)HCL (0 fork)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (0 estrela)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador