Added warning and test for lifecycle under which the builder is trusted#1553
Added warning and test for lifecycle under which the builder is trusted#1553dfreilich merged 2 commits intobuildpacks:mainfrom
Conversation
|
Hello @natalieparellano, @jjbustamante! I wanted to specify the version called from the lifecycle image in |
2ef80eb to
825395b
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1553 +/- ##
==========================================
+ Coverage 80.99% 80.99% +0.01%
==========================================
Files 156 156
Lines 10281 10284 +3
==========================================
+ Hits 8326 8329 +3
Misses 1458 1458
Partials 497 497
Flags with carried forward coverage won't be shown. Click here to find out more. |
c8eb697 to
09984fd
Compare
Signed-off-by: cgoxo <goelchitresh13@gmail.com> added warning statement at build_test.go file Signed-off-by: cgoxo <goelchitresh13@gmail.com> Implemented warning of lifecycle image under trusted builder Signed-off-by: cgoxo <goelchitresh13@gmail.com> Modified test for lifecycle-image is provided Signed-off-by: cgoxo <goelchitresh13@gmail.com> added command.Execute() to test for builder is trusted and lifecycle image is provided Signed-off-by: cgoxo <goelchitresh13@gmail.com> code reduction by adding it.Before() Signed-off-by: cgoxo <goelchitresh13@gmail.com> added cfg and command under it.Before() Signed-off-by: cgoxo <goelchitresh13@gmail.com> fix linting errors Signed-off-by: cgoxo <goelchitresh13@gmail.com>
jjbustamante
left a comment
There was a problem hiding this comment.
Great Job @cgoxo!
Thanks for you PR ❤️
|
Thank you @jjbustamante for your guidance. I won't be able to solve this issue without your help. |
|
Awesome work @cgoxo! Thanks for the PR! |
Signed-off-by: cgoxo <goelchitresh13@gmail.com>
Thank you so much @natalieparellano for guiding me on how to proceed. |
|
Thank you @natalieparellano for approving the changes. May I know when the issue will get merged? |
|
@dfreilich Could you take a look at this PR from a new contributor? |
|
Thank You @dfreilich, @jjbustamante, @natalieparellano! This surely gives me the confidence to contribute more to open-source. |
Summary
Added a warning for
--lifecycle-imageif the builder is trusted. Along with this the test case of this scenario was also added in./interal/commands/build_test.gofileOutput
A warning appears while building lifecycle image that since the builder is trusted, it would have the default lifecycle version
Before
After
Documentation
Related
Resolves #1540