jkube icon indicating copy to clipboard operation
jkube copied to clipboard

Summary should be printed after JKube actions

Open sunix opened this issue 4 years ago • 5 comments

Description

Globally the feeling I get is that we are not telling enough about what is JKube doing. Zero config magic is good, but as a developer I don’t feel confident if I don’t know what it is doing.

  • [ ] Lists exactly what points should be summarized. Make sure that for any configuration combination, the summary is printed accordingly.
  • [ ] Summary should be printed after the build/phase execution

sunix avatar Oct 18 '21 12:10 sunix

Is this only applicable to the build task/goal/action? Should a summary be printed too for the rest of actions (push, resource, apply, helm, etc.)?

manusa avatar Oct 20 '21 07:10 manusa

Good point, in my opinion it should be printed too for the rest of actions

sunix avatar Oct 20 '21 07:10 sunix

build:

  • build strategy: docker/jib/s2i
  • packaged file location (war or jar)
  • generator name
  • if dockerfile used: dockerfile location, otherwise: from, cmd, args, etc...
  • target image name
  • success or failure, if failure provide the cause

sunix avatar Apr 14 '22 09:04 sunix

I've created this document for possible points to print in different jkube summary actions. Most of these are already covered in https://github.com/eclipse/jkube/pull/1686 https://docs.google.com/document/d/1x2z96UEeEezIS3uB8la9EdJVRiWhm4reHe2R1-9CAvo/edit?usp=sharing

rohanKanojia avatar Sep 06 '22 11:09 rohanKanojia

Maybe we could add few concrete example of the expected output (with a concrete project) ? that could be than be reused in our integration tests ?

sunix avatar Sep 12 '22 07:09 sunix