-
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 Summaries to Plan And Apply PR Comments #3889
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jamengual
added
waiting-on-review
Waiting for a review from a maintainer
feature
New functionality/enhancement
labels
Oct 24, 2023
GenPage
previously approved these changes
Dec 12, 2023
GenPage
added
quick-win
Is obviously something Atlantis should do and will take <4 hrs work
and removed
waiting-on-review
Waiting for a review from a maintainer
labels
Dec 12, 2023
@X-Guardian Not sure why the tests are failing after rebasing/merging main. |
auto-merge was automatically disabled
December 12, 2023 12:49
Head branch was pushed to by a user without write access
X-Guardian
force-pushed
the
plan-apply-summaries
branch
from
December 15, 2023 22:17
f4137dd
to
6b6e37e
Compare
X-Guardian
force-pushed
the
plan-apply-summaries
branch
from
December 15, 2023 22:19
6b6e37e
to
a613bd7
Compare
@GenPage, this PR is ready for re-review. |
X-Guardian
requested review from
lukemassa and
nitrocode
and removed request for
a team
December 30, 2023 11:44
lukemassa
approved these changes
Dec 31, 2023
ijames-gc
pushed a commit
to gocardless/atlantis
that referenced
this pull request
Feb 13, 2024
ijames-gc
pushed a commit
to gocardless/atlantis
that referenced
this pull request
Feb 13, 2024
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
what
plan
andapply
results.Number of plans with no changes
Number of plans with failures
Number of apply failures
Number of apply errors
plan
andapply
templates displaying this data.plan
andapply
template footers were moved to separate files for easier readability.TrimSpace
and backtick processing into anormalise
function along with the carriage return trimming.Other changes
policy
markdown was using the multiplan
template, so this was copied into a new multi 'policy` template so these changes didn't affect it.why
tests
Tested locally
Plan Example
Ran Plan for 6 projects:
live/aws/123456789012/develop/eu-west-2/stack1
workspace:default
live/aws/123456789012/develop/eu-west-2/stack2
workspace:default
live/aws/123456789012/develop/eu-west-2/stack3
workspace:default
live/aws/123456789012/develop/eu-west-2/stack4
workspace:default
live/aws/123456789012/develop/eu-west-2/stack5
workspace:default
live/aws/123456789012/develop/eu-west-2/stack6
workspace:default
1. dir:
live/aws/123456789012/develop/eu-west-2/stack1
workspace:default
Plan Failed: This project is currently locked by an unapplied plan from pull !15. To continue, delete the lock from !15 or apply that plan and merge the pull request.
Once the lock is released, comment
atlantis plan
here to re-plan.2. dir:
live/aws/123456789012/develop/eu-west-2/stack2
workspace:default
Show Output
atlantis apply -d live/aws/123456789012/develop/eu-west-2/stack2
atlantis plan -d live/aws/123456789012/develop/eu-west-2/stack2
3. dir:
live/aws/123456789012/develop/eu-west-2/stack3
workspace:default
Show Output
atlantis apply -d live/aws/123456789012/develop/eu-west-2/stack3
atlantis plan -d live/aws/123456789012/develop/eu-west-2/stack3
4. dir:
live/aws/123456789012/develop/eu-west-2/stack4
workspace:default
Show Output
atlantis apply -d live/aws/123456789012/develop/eu-west-2/stack4
atlantis plan -d live/aws/123456789012/develop/eu-west-2/stack4
Plan Summary
6 projects, 3 with changes, 2 with no changes, 1 failed
atlantis apply
atlantis unlock
Apply Example
Ran Apply for 5 projects:live/aws/123456789012/develop/eu-west-2/stack2
workspace:default
live/aws/123456789012/develop/eu-west-2/stack3
workspace:default
live/aws/123456789012/develop/eu-west-2/stack4
workspace:default
live/aws/123456789012/develop/eu-west-2/stack5
workspace:default
live/aws/123456789012/develop/eu-west-2/stack6
workspace:default
1. dir:
live/aws/123456789012/develop/eu-west-2/stack2
workspace:default
2. dir:
live/aws/123456789012/develop/eu-west-2/stack3
workspace:default
3. dir:
live/aws/123456789012/develop/eu-west-2/stack4
workspace:default
4. dir:
live/aws/123456789012/develop/eu-west-2/stack5
workspace:default
5. dir:
live/aws/123456789012/develop/eu-west-2/stack6
workspace:default
Apply Summary
5 projects, 5 successful, 0 failed, 0 errored