mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-04 19:18:35 +00:00
* Capture stats in plan changes regexp Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> * Add PlanSuccessStats model to hold plan stats This will be useful to pass down to the templates to include additional information when formatting the messages emitted by Atlantis. Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> * Return stats for a PlanSuccess Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> * Add plan success stats to template data Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> * Refactor plan success template data creation DRY. Also highlights a bug where the stats should be a field in planSuccessData in order to be accessible from the templates. Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> * Move plan stats to planSuccessData struct Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> --------- Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com> Co-authored-by: PePe Amengual <jose.amengual@gmail.com> Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>