Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3907

Skip Docker image build on CI when unchanged

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              nsuke Nobuaki Sukegawa
              Reporter:
              nsuke Nobuaki Sukegawa

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment