-
Notifications
You must be signed in to change notification settings - Fork 1.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: Add Support For Hiding Previous Plan Comments on GitLab #3476
Conversation
@nitrocode, can this PR be included in the |
cc @GenPage @jamengual please review when you get a chance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jamengual, this PR has been missed from the v0.24.3 release notes. |
that is weird, we use an autogenerated option. maybe there is a limit n the lines, I will add it manually. |
what
Update the
HidePrevCommandComments
stub function on the GitLab client to hide previous plan comments, following the pattern implemented for the GitHub client, but using an HTMLsummary
header and footer to hide the comment.Also added a logger to the GitLab client so that log entries can be added from the GitLab client functions.
why
tests
Example Hidden Comment
Superseded Atlantis Plan
Ran Plan for 1 project:
s3-buckets/waf-logging
workspace:default
1. dir:
s3-buckets/waf-logging
workspace:default
Show Output
atlantis apply -d s3-buckets/waf-logging
atlantis plan -d s3-buckets/waf-logging