Skip to content

Bug: The "Deploy Mindwm Cluster and Applications" feature detects the wrong root cause for a failing resource. #282

Open
@metacoma

Description

@metacoma

More details:
Allure CI Report

Steps to Reproduce

  1. Make an invalid change in a Mindwm ArgoCD application — for example, set a non-existent version for a component (e.g., promtail).
  2. Push the change to Git, create a Pull Request, and run the CI pipeline.
  3. The CI fails, but reports an incorrect root cause.

Example Failure Output

TimeoutError: timed out (180s) while waiting for condition <Condition (name: argocd application 'cert-manager' has health and status in namespace 'argocd', met: False)>

Image

The root cause

$ kcl run
error[E2G22]: TypeError
   --> /home/bebebeka/git/mindwm-gitops/main.k:214:27
    |
214 |                 version = config.promtail.chart_version
    |                           ^ attribute 'promtail' not found in 'module 'config''
    |

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions