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

skaffold init supports Java/Buildpacks projects #4318

Merged
merged 2 commits into from Jun 17, 2020

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jun 12, 2020

No description provided.

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@codecov
Copy link

codecov bot commented Jun 12, 2020

Codecov Report

Merging #4318 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4318   +/-   ##
=======================================
  Coverage   71.76%   71.76%           
=======================================
  Files         324      324           
  Lines       12477    12478    +1     
=======================================
+ Hits         8954     8955    +1     
  Misses       2954     2954           
  Partials      569      569           
Impacted Files Coverage Δ
pkg/skaffold/build/buildpacks/init.go 93.93% <100.00%> (+0.18%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 00c0fba...594361e. Read the comment docs.

valid = true

// Java.
case "pom.xml", "build.gradle", "build.gradle.kts":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also add .mvn/extensions.xml (and jvm.config and maven.config?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure those files are detected by our buildpacks. Do you know?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They weren't, but … GoogleCloudPlatform/buildpacks#50 should fix that. I realize that only extensions.xml is applicable here as jvm.config and maven.config don't actually create the project object.

(We can add these separately — I don't think that PR should hold this up.)

@dgageot dgageot merged commit 92667f1 into GoogleContainerTools:master Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants