-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unify jibMaven and jibGradle blocks into jib with auto detection #2808
Unify jibMaven and jibGradle blocks into jib with auto detection #2808
Conversation
…d; add more tests
Codecov Report
|
60f0abe
to
50bf6e0
Compare
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.
LGTM. The changes seem innocuous and relatively straightforward.
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.
How does https://skaffold.dev/docs/references/yaml/ get updated?
|
b61635d
to
9adc89b
Compare
Please visit http://34.94.233.95:1313 to view changes to the docs. |
@@ -190,13 +186,13 @@ each produce a separate container image. | |||
|
|||
#### Maven | |||
|
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.
I would love to see the maven/gradle detection logic documented here for our users.
Error creating deployment, please see controller logs for details. |
Please visit http://34.94.71.232:1313 to view changes to the docs. |
Error creating deployment, please see controller logs for details. |
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.
LGTM, thank you!
Combines the
JibMavenArtifact
andJibGradleArtifact
(and correspondingjibMaven:
andjibGradle:
blocks) into a singleJibArtifact
andjib:
block. Jib now guesses the underlying Jib plugin type based on the file contents within the project.JibArtifact
actually has aType
field — a simple int — for explicitly specifying the plugin type, but it is not current exported as it's only been used for tests. We could make this field explicit later, but we'd need to teach the schema generator how to translate enums.Fixes #1134