We briefly posited having a downward API on build env vars (like pods) so
you could get it.

On Jun 21, 2016, at 9:00 PM, Ben Parees <[email protected]> wrote:

images built via the s2i flow should have a "io.openshift.build.commit.id"
label.

if you need the commit during the assembly itself, there's not currently a
way to access it, unfortunately.


On Tue, Jun 21, 2016 at 7:25 PM, Clayton Coleman <[email protected]>
wrote:

> It is not, however it's very reasonable to want.
>
> On Tue, Jun 21, 2016 at 7:01 PM, Mateus Caruccio
> <[email protected]> wrote:
> > Hi.
> >
> > Is it possible to read the git commit id from repo during source build?
> >
> > --
> > Mateus Caruccio / Master of Puppets
> > GetupCloud.com <http://getupcloud.com> - Eliminamos a Gravidade
> >
> > _______________________________________________
> > dev mailing list
> > [email protected]
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> >
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>



-- 
Ben Parees | OpenShift
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to