-
Notifications
You must be signed in to change notification settings - Fork 106
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
Change defaults that are depending on the working dir to be under <layers> #454
Conversation
…yers> Notes: * This commit introduces platfromAPI 0.5 as a supported API. * The changes apply only for platformAPI >= 0.5. * The path of the relevant files is being changed as part of Args after parsing the flags. * Allow the user to set the layers flag in the detector. Signed-off-by: Yael Harel <[email protected]>
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.
Although we don't think we need to acceptance test every affected flag I think having at least one acceptance test that uses a default relative to layers dir would be good.
This analyzer test seems like a good candidate https://github.com/buildpacks/lifecycle/blob/main/acceptance/analyzer_test.go#L162-L178
It should pass now even if you remove the -analyzed
flag. If we alter that test we should add another test that sets -analyzed
but not -layers
, to ensure both cases work.
* Need to fix a new test in analyzer_test.go Signed-off-by: Yael Harel <[email protected]>
@ekcasey, I pushed a commit with some fixes following your feedback.
Please ignore it for now and I'll push a fix as soon as possible. |
Signed-off-by: Yael Harel <[email protected]>
6cc0489
to
a989e4f
Compare
Signed-off-by: Yael Harel <[email protected]>
Signed-off-by: Yael Harel <[email protected]>
Signed-off-by: Yael Harel <[email protected]>
Notes:
Fixes #393