projectatomic / adb-utils

A set of utilities for managing services used provided in the Atomic Developer Bundle.
GNU General Public License v2.0
13 stars 22 forks source link

Should we enable incremental builds for OpenShift? #164

Open LalatenduMohanty opened 8 years ago

LalatenduMohanty commented 8 years ago

S2I can perform incremental builds, which means it reuses artifacts from previously-built images. This helps to reduce the build time of the application post the first build. For the first build process it does not work as s2i downloads required artifacts for the build.

strategy:
  type: "Source"
  sourceStrategy:
    from:
      kind: "ImageStreamTag"
      name: "incremental-image:latest" 
    incremental: true  
praveenkumar commented 8 years ago

https://github.com/openshift/origin/issues/10005 once we have fix for it we will make required change here.

LalatenduMohanty commented 8 years ago

@praveenkumar Till then we should document this for users to encourage them to use incremental builds. WDYT?