You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/29 02:39:20 UTC

[jira] [Commented] (THRIFT-3907) Skip Docker image build on CI when unchanged

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

ASF GitHub Bot commented on THRIFT-3907:
----------------------------------------

GitHub user nsuke opened a pull request:

    https://github.com/apache/thrift/pull/1070

    THRIFT-3907 Skip Docker image build on CI when unchanged

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nsuke/thrift THRIFT-3907

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1070.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1070
    
----
commit efb41c0d309799ecffcceac1d4e5f3f6d14320f9
Author: Nobuaki Sukegawa <ns...@apache.org>
Date:   2016-08-29T02:38:17Z

    THRIFT-3907 Skip Docker image build on CI when unchanged

----


> Skip Docker image build on CI when unchanged
> --------------------------------------------
>
>                 Key: THRIFT-3907
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3907
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Aki Sukegawa
>            Assignee: Aki Sukegawa
>
> Previously we were able to reuse Docker layers from prebuilt images pulled from docker hub.
> This has been reducing total build time by 3 hours out of 7~8 hours total.
> After Docker 1.10 or so, it is no longer possible and we tend to easily saturate entire Apache's 30 jobs on Travis-CI.
> Standard solution as of now is to use docker save/load.
> This typically requires automated file upload on CI to some external storage.
> Unfortunately it cannot be done with our current Travis-CI account settings.
> To workaround this, we can put Dockerfile itself to Docker image and see if it's modified after the prebuild time and skip fresh builds if unchanged.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)