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

KubernetesBuildTask: k8sBuild Generator - SpringBoot #850

Closed
2 tasks done
manusa opened this issue Aug 12, 2021 · 0 comments · Fixed by #864
Closed
2 tasks done

KubernetesBuildTask: k8sBuild Generator - SpringBoot #850

manusa opened this issue Aug 12, 2021 · 0 comments · Fixed by #864
Assignees
Labels
component/gradle-plugin Related to the Gradle Plugins
Milestone

Comments

@manusa
Copy link
Member

manusa commented Aug 12, 2021

Description

Child of #31

k8sBuild Gradle task works with SpringBoot Generator.

  • Any configuration setting should be part of the KubernetesExtension class (Tasks should have no Inputs)
  • Any logic present in the current Mojos should be moved to JKube-kit

AC

  • Generator configuration options can be overridden via DSL
  • Port Sprint Boot related examples (compatible with the available goals): spring-boot, spring-boot-camel-complete, spring-boot-crd, spring-boot-with-jib
@manusa manusa added the component/gradle-plugin Related to the Gradle Plugins label Aug 12, 2021
@manusa manusa changed the title KubernetesBuildTask k8sBuild: Generator - SpringBoot KubernetesBuildTask: k8sBuild Generator - SpringBoot Aug 12, 2021
@rohanKanojia rohanKanojia self-assigned this Aug 25, 2021
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Aug 25, 2021
Gradle's build directory doesn't contain jar files unlike maven.
Adding an additional field outputArtifactDir which will store parent
directory of artifact file.

JavaExecGenerator would make use of outputArtifactDir field in order to
look for fat jars and creating AssemblyFileSets

Related to eclipse-jkube#850

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Aug 25, 2021
…ration with gradle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Aug 26, 2021
…ration with gradle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Sep 1, 2021
Gradle's build directory doesn't contain jar files unlike maven.
Adding an additional field outputArtifactDir which will store parent
directory of artifact file.

JavaExecGenerator would make use of outputArtifactDir field in order to
look for fat jars and creating AssemblyFileSets

Related to eclipse-jkube#850

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
manusa pushed a commit to rohanKanojia/jkube that referenced this issue Sep 1, 2021
Gradle's build directory doesn't contain jar files unlike maven.
Adding an additional field outputArtifactDir which will store parent
directory of artifact file.

JavaExecGenerator would make use of outputArtifactDir field in order to
look for fat jars and creating AssemblyFileSets

Related to eclipse-jkube#850

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
manusa pushed a commit that referenced this issue Sep 1, 2021
Gradle's build directory doesn't contain jar files unlike maven.
Adding an additional field outputArtifactDir which will store parent
directory of artifact file.

JavaExecGenerator would make use of outputArtifactDir field in order to
look for fat jars and creating AssemblyFileSets

Related to #850

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Sep 2, 2021
…ration with gradle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Sep 6, 2021
…ration with gradle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Sep 6, 2021
…ration with gradle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@manusa manusa linked a pull request Sep 8, 2021 that will close this issue
12 tasks
rohanKanojia added a commit to rohanKanojia/jkube that referenced this issue Sep 8, 2021
…ration with gradle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
manusa pushed a commit that referenced this issue Sep 10, 2021
…radle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@manusa manusa closed this as completed Sep 10, 2021
manusa pushed a commit that referenced this issue Sep 16, 2021
…radle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
manusa pushed a commit that referenced this issue Oct 11, 2021
…radle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
manusa pushed a commit that referenced this issue Oct 19, 2021
…radle

SpringBootGenerator generates ImageConfiguration when spring boot gradle
plugin is present in project

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@manusa manusa added this to the 1.5.0 milestone Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/gradle-plugin Related to the Gradle Plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants