Skip to content
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(check): add a check for symlinks in roots-dir path #521

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

rchincha
Copy link
Contributor

@rchincha rchincha commented Oct 4, 2023

stacker tries to avoid symlinks to minimize unexpected behaviors, so add check for that.

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

cmd/stacker/check.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #521 (6e5a99b) into main (d9f849b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #521   +/-   ##
=======================================
  Coverage   13.77%   13.77%           
=======================================
  Files          40       40           
  Lines        5671     5671           
=======================================
  Hits          781      781           
  Misses       4762     4762           
  Partials      128      128           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

stacker tries to avoid symlinks to minimize unexpected behaviors, so add
check for that.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
@hallyn hallyn merged commit 4016f63 into project-stacker:main Oct 5, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants