-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: configure maxCommentLength #2746
Comments
Output length greater than max
comment
Related pr #2647 cc @ribejara-te @pseudomorph if you have time |
Also here is a code reference to each VCS default https://github.com/search?q=repo%3Arunatlantis%2Fatlantis+maxCommentLength&type=code If a flag was created to override the |
Output length greater than max
comment
@nitrocode Hey just wanted to ask if there is any hope of this getting picked up? Thanks! |
PRs are welcome |
Community Note
Overview of the Issue
**Warning**: Output length greater than max comment size. Continued in next comment.
logic.--
:warning: The plan is to large to render in GitLab comments; run
terraform planlocally.
.Reproduction Steps
--markdown-template-overrides-dir=home/atlantis/.markdown_templates/
on containerargs
multiProjectPlan
template.multiProjectPlan
template in the following way:Logs
N/A
Environment details
home/atlantis/.markdown_templates/
dirAdditional Context
I believe this go function overrides desired behavior:
I have been able to get this template customization to work when not exceeding gitlab comment size. (i.e
{{ if (ge (len $result.Rendered) 500000) }}{{$result.Rendered}}{{ else }}:warning: The plan is to large to render in GitLab comments; run
terraform planlocally.{{ end }}
)The text was updated successfully, but these errors were encountered: