-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Builds extra layer with contents of src/main/jib. #565
Conversation
…ls/jib into extra-files-directory
@@ -85,6 +91,18 @@ public void execute() throws MojoExecutionException { | |||
.setEnvironment(getEnvironment()) | |||
.setExposedPorts(ExposedPortsParser.parse(getExposedPorts())) | |||
.setAllowHttp(getAllowInsecureRegistries()); | |||
if (Files.exists(getExtraDirectory())) { |
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.
if they explicitly specify a directory that doesn't exist, should we say so?
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.
Yes, I'll add a TODO for now that should be resolved when this feature is more solidified.
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, one comment about the user experience.
…nerTools/jib into extra-files-directory-maven
See #562 for more details. This does the same for Maven side.