-
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: Enhance Support for CDKTF By Allowing Git Untracked Files to be Added to the Atlantis Modified File List #3724
feat: Enhance Support for CDKTF By Allowing Git Untracked Files to be Added to the Atlantis Modified File List #3724
Conversation
so this will only add untracked files on the workspace dir that are
generated within that dir, correct? not files outside the workspace dir or
dir specified in the workflow?
…On Thu, Aug 31, 2023 at 10:03 AM Simon Heather ***@***.***> wrote:
@X-Guardian <https://github.com/X-Guardian> requested review from
@runatlantis/maintainers on: #3724
<#3724> feat: Enhance Support
for CDKTF By Allowing Git Untracked Files to be Added to the Atlantis
Modified File List as a code owner.
—
Reply to this email directly, view it on GitHub
<#3724 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERBM4CHVWR3NX6E3O6LXYC7WFANCNFSM6AAAAAA4GMBCDE>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Hi @jamengual, it will run |
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, thank you for the documentation and logging improvements as well
What
include-git-untracked-files
flag to the Atlantis server configuration.GetGitUntrackedFiles
function to theserver/events/working_dir.go
file that runsgit ls-files
in the relevant working directory and returns a list of untracked files.include-git-untracked-files
flag is set, call theGetGitUntrackedFiles
function and add any returned files to the list of Atlantis modified files for the plan.include-git-untracked-files
flag and remove the requirement to have to commit the CDKTF generated files to the repo.Other Changes
userconfig
configuration inserver/events/project_command_builder_test.go
to improve readability.DefaultProjectCommandBuilder
type property documentation.server/events/project_command_builder.go
file.server/events/project_finder.go
Why
Closes #3723
Tests
repos.yaml
config.yaml
Debug Log Extract
References