yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (Jira)" <j...@apache.org>
Subject [jira] [Commented] (YETUS-923) Expose volume mount options for users of Docker Desktop
Date Tue, 05 Nov 2019 01:16:00 GMT

    [ https://issues.apache.org/jira/browse/YETUS-923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967130#comment-16967130
] 

Nick Dimiduk commented on YETUS-923:
------------------------------------

Attaching a patch that plumbs through the {{delegated}} volume mount option. Reduces the docker
build time to ~30 minutes.

> Expose volume mount options for users of Docker Desktop
> -------------------------------------------------------
>
>                 Key: YETUS-923
>                 URL: https://issues.apache.org/jira/browse/YETUS-923
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Precommit
>            Reporter: Nick Dimiduk
>            Priority: Major
>         Attachments: YETUS-923.demo.patch
>
>
> Running builds in docker using Docker Desktop on a Mac is incredibly slow. Using HBase
as a testing tools, a {{man clean install -DskipTests}} run "natively" takes about ~2 minutes
while the same command run within the Docker Desktop container environment takes ~45 minutes.
Apparently this is to be expected, but can be improved by specifying a [volume mount option|https://docs.docker.com/docker-for-mac/osxfs-caching/].
Right now there's no way to expose such an option to the user. Ideally pre-commit could even
detect the environment and apply the necessary options accordingly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message