BIG +1, the previous work on having docker build images [1] had a
similar goal (to have a reproducible build environment). But this is
even better because we will guarantee the exact same environment in
Jenkins as well as any further improvements. It is important to
document the setup process as part of this (for future maintenance +
local reproducibility).

Just for clarification this is independent of running the tests
locally without docker, it is more to improve the reproducibility of
the environment we have on jenkins locally for example to address some
weird Heissenbug.

I just added BEAM-5311 to track the removal of the docker build images
when this is ready (of course if there are no objections to this
proposal).

[1] https://beam.apache.org/contribute/docker-images/
On Thu, Aug 30, 2018 at 3:58 PM Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
>
> Hi,
>
> That's interesting, however, it's really important to still be able to
> easily run test locally, without any VM/Docker required. It should be
> activated by profile or so.
>
> Regards
> JB
>
> On 27/08/2018 19:53, Yifan Zou wrote:
> > Hi,
> >
> > I have a proposal for creating a reproducible environment for Jenkins
> > tests by using docker container. The thing is, the environment
> > configurations on Beam Jenkins slaves are sometimes different from
> > developer's machines. Test failures on Jenkins may not be easy to
> > reproduce locally. Also, it is not convenient for developers to add or
> > modify underlying tools installed on Jenkins VMs, since they're managed
> > by Apache Infra. This proposal is aimed to address those problems.
> >
> > https://docs.google.com/document/d/1y0YuQj_oZXC0uM5-gniG7r9-5gv2uiDhzbtgYYJW48c/edit#heading=h.bg2yi0wbhl9n
> >
> > Any comments are welcome. Thank you.
> >
> > Regards.
> > Yifan
> >
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to