<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi, </div><div class="gmail_quote"><br></div><div class="gmail_quote">   Vaclav presented the build pipeline very nicely and this would take out lot of tension for building the code, checking the code standards and test cases from the developer.</div><div class="gmail_quote"><br></div><div class="gmail_quote">I would like to add few points on this.</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Feb 9, 2016 at 8:08 PM, Vaclav Pavlin &lt;<a href="mailto:vpavlin@redhat.com">vpavlin@redhat.com</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><h1 style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;"><span style="white-space:pre-wrap;font-family:arial,sans-serif;font-size:small;font-weight:normal">Hi all,</span></h1><pre style="white-space:pre-wrap;color:rgb(0,0,0)">As KB wrote, I brought up the idea of using OpenShift as a glue (i.e.
workflow controller). The result can be found here:

<a href="https://github.com/vpavlin/cccp-demo-openshift" style="color:rgb(0,75,145)">https://github.com/vpavlin/cccp-demo-openshift</a>

TL;DR:

The repository contains OpenShift Template defining the workflow - build,test, delivery and (very poorly) implements the steps through Docker images (i.e. Dockerfiles and run scripts).
</pre></blockquote><div>The developer should do only git push to his VCS and this should trigger the build process in the pipeline. </div><div><br></div><div>In this TDD process all the environments (including the build, test, delivery) would be created as a container and once the step is over it will destroy the environment. As output this will generate a application runtime along with the successfully built application code to registry. </div><div><br></div><div>As you mentioned this would be tagged with test along with jenkins build id, so that developer or QA can trace for which commit this is built.</div><div><br></div><div>Then for the next stages, successfully built image would be deployed to openshift instance to get through the test, delivery stages checking, along with the quality gates.</div><div><br></div><div>all the stages should be linked to pipeline and should be easily re-producible so that any one can check or regenerate the issues instantly. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">It&#39;s easily runnable in Vagrant with use of Project Atomic Developer Bundle.

If you are interested in more info, I&#39;d suggest to read the readme in the repo, I hope it summarizes it clearly.

It&#39;s a very minimal demo, but I think it suggests the path, which could take us to the Unicorns land, quite well:).

Let me know in case of any questions, suggestions or requests for guidance in case anybody decides to take this further.</pre></blockquote><div>I would like to take this further, please let me know if my thought process is in the same line as yours or any changes, suggestions.</div><div><br></div><div>Few weeks back I created almost a similar system (without vagrant) and it was very much welcomed by the developers.</div><div><br></div><div>Thanks </div><div>Bamacharan </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">
Cheers,
Vašek
</pre><div><br></div>
&gt; On Sun, Feb 7, 2016 at 3:22 AM, Karanbir Singh &lt;<a href="mailto:kbsingh@centos.org">kbsingh@centos.org</a>&gt; wrote:<br>
&gt; hi,<br>
&gt;<br>
&gt; Yesterday a few of us met for a face to face walk through of the CentOS<br>
&gt; Container Pipeline we&#39;ve been talking about. The aim was to rescope the<br>
&gt; upstream projects we can lean on, share code with, and help - and then<br>
&gt; find the glue pieces that could bring this code base together.<br>
&gt;<br>
&gt; The larger picture effectively boils down to :<br>
&gt; - Find the components needed to track code git repos ( either in<br>
&gt; <a href="http://git.centos.org" rel="noreferrer" target="_blank">git.centos.org</a> or elsewhere )<br>
&gt; - Find the components needed to now build that code, containerise the<br>
&gt; code, push it through a test process, and then deliver the containers<br>
&gt; either locally into a centos transitional container registry, or to a<br>
&gt; CDN like wider centos registry or if the user so desires, to a third<br>
&gt; part registry ( provided a good process can be find to handle the<br>
&gt; credentials needed ).<br>
&gt; - We&#39;d want to use this pipeline both internally, for the CentOS Linux<br>
&gt; components ( eg. a LAMP container from CentOS Linux 7 ), for SIG<br>
&gt; components via cbs output ( eg. SCLo SIG folks shipping containers for<br>
&gt; their content ), as well as open this up via a trivial UI, for anyone in<br>
&gt; the community who&#39;d like to come and consume this pipeline.<br>
&gt;<br>
&gt; the key piece that we didnt have clarity on was the orchestration and<br>
&gt; glue that could bind the various software components. Vaclav Pavlin,<br>
&gt; brought up that we might be able to use openshift templates in order to<br>
&gt; get the job runs done - if the input for the templates could be derived<br>
&gt; from the cccp-index, either via the jjb work already done, or writing a<br>
&gt; new filter into JJB, we might be able to execute a fairly scaleable<br>
&gt; solution without needing to own any piece of the over all code.<br>
&gt;<br>
&gt; Additionally, there is a fair interest from the Fedora team ( ie Adam! )<br>
&gt; working on the same problem in their space, mostly consuming the<br>
&gt; identical code stack, within and for  their infra, their constraints and<br>
&gt; aims.<br>
&gt;<br>
&gt; Over the coming days we are going to try and work though PoC&#39;s, get some<br>
&gt; infra setup and trial running through some of the user stories we want<br>
&gt; to execute on.<br>
&gt;<br>
&gt; Finally, a quick shout out to everyone for coming together at pretty<br>
&gt; much the last minute adhoc meeting - Fabian Arrotin, Brian Stinson,<br>
&gt; Christoph Goern, Vaclav Pavlin, Aaron Weitekamp, Tomas Tomecek, Adam<br>
&gt; Miller, Dusty Mabe, Honza Horak, Radek Vokal as well as Tim Waugh, Bama<br>
&gt; Charan and Mohammed Zeeshan  for dialing into the meeting.<br>
&gt;<br>
&gt; And to everyone else, want to build containers with us ? come talk to us<br>
&gt; - we&#39;d love to make sure we include as many user stories to get great<br>
&gt; scope before we start implementing bits.<br>
&gt;<br>
&gt; regards<br>
&gt;<br>
&gt;<br><pre style="white-space:pre-wrap;color:rgb(0,0,0)">&gt;<i> --
</i>&gt;<i> Karanbir Singh, Project Lead, The CentOS Project
</i>&gt;<i> +44-207-0999389 | <a href="http://www.centos.org/" style="color:rgb(0,75,145)">http://www.centos.org/</a> | <a href="http://twitter.com/CentOS">twitter.com/CentOS</a>
</i>&gt;<i> GnuPG Key : <a href="http://www.karan.org/publickey.asc" style="color:rgb(0,75,145)">http://www.karan.org/publickey.asc</a>
</i>&gt;<i> _______________________________________________
</i>&gt;<i> CentOS-devel mailing list
</i>&gt;<i> <a href="https://lists.centos.org/mailman/listinfo/centos-devel" style="color:rgb(0,75,145)">CentOS-devel at centos.org</a>
</i>&gt;<i> <a href="https://lists.centos.org/mailman/listinfo/centos-devel" style="color:rgb(0,75,145)">https://lists.centos.org/mailman/listinfo/centos-devel</a>
</i>&gt;</pre></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Bamacharan Kundu<br>IRC Nick- bamachrn<br><br></div>
</div></div>