Also, you may need to have support from your Base Image as well. What I mean is `.s2i/bin/assemble` needs to work with `.s2i/bin/save-artifacts`. See a Spring Boot w/Gradle example here [0].
[0] https://github.com/pylejowdmn/springboot-gradle-s2i/tree/master/.s2i/bin ___________________________________________________ LOUIS P. SANTILLAN SENIOR CONSULTANT, OPENSHIFT, MIDDLEWARE & DEVOPS Red Hat Consulting, NA US WEST <https://www.redhat.com/> [email protected] M: 3236334854 <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Fri, Oct 13, 2017 at 2:01 AM, Tako Schotanus <[email protected]> wrote: > Yes! Thank you, Daniel :) > > On Fri, Oct 13, 2017 at 10:43 AM, Daniel Kučera <[email protected]> > wrote: > >> Hi Tako. >> >> You need to set incremental: true >> >> https://docs.openshift.com/container-platform/3.4/dev_guide/ >> builds/build_strategies.html#incremental-builds >> >> I also spent some time on this :) >> >> 2017-10-13 10:39 GMT+02:00 Tako Schotanus <[email protected]>: >> >>> Hi, >>> >>> we've been using S2I builds for RHOAR for about a month now which is a >>> lot faster and a lot less resource intensive than using Jenkins pipeline >>> builds, but.... >>> >>> the S2I builders are supposed to support incremental builds, and in >>> effect when I run "s2i --incremental <image>" manually it does indeed work, >>> but inside OpenShift the builds are never incremental? >>> >>> Are we doing something wrong? How do we make OpenShift do incremental >>> builds? >>> >>> Cheers, >>> >>> -- >>> >>> TAKO SCHOTANUS >>> >>> SENIOR SOFTWARE ENGINEER >>> >>> Red Hat >>> >>> <https://www.redhat.com/> >>> <https://red.ht/sig> >>> >>> >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >>> >>> >> >> >> -- >> >> S pozdravom / Best regards >> Daniel Kucera. >> > > > > -- > > TAKO SCHOTANUS > > SENIOR SOFTWARE ENGINEER > > Red Hat > > <https://www.redhat.com/> > <https://red.ht/sig> > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
