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

Builds extra layer with contents of src/main/jib. #565

Merged
merged 16 commits into from
Jul 11, 2018

Conversation

coollog
Copy link
Contributor

@coollog coollog commented Jul 11, 2018

See #562 for more details. This does the same for Maven side.

@coollog coollog requested a review from a team July 11, 2018 20:57
@@ -85,6 +91,18 @@ public void execute() throws MojoExecutionException {
.setEnvironment(getEnvironment())
.setExposedPorts(ExposedPortsParser.parse(getExposedPorts()))
.setAllowHttp(getAllowInsecureRegistries());
if (Files.exists(getExtraDirectory())) {
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

@loosebazooka loosebazooka left a 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.

@coollog coollog merged commit ca4b09d into master Jul 11, 2018
@coollog coollog deleted the extra-files-directory-maven branch July 11, 2018 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants