<div dir="ltr">Hi,<div><br></div><div>as a follow up on [1], here are some thoughts on the MCP release itself.</div><div><br></div><div>The raw process is described here:</div><div><a href="https://github.com/matzew/mcp-standalone/blob/Release_Process/docs/Release.md#mcp-release">https://github.com/matzew/mcp-standalone/blob/Release_Process/docs/Release.md#mcp-release</a><br></div><div><br></div><div>The first part is trivial (but not complete), we simply create a TAGGED (versioned) image, and push it to docker. Afterwards the mcp-standalone in dockerhub is updated.</div><div><br></div><div>What's missing here is creation of a canonical TAG in git, more later;</div><div><br></div><div>Now, the (three) dependent APBs of the MCP also need to be released. This requires a bit of manual steps, as described here:</div><div><a href="https://github.com/matzew/mcp-standalone/blob/Release_Process/docs/Release.md#mcp-included-apbs">https://github.com/matzew/mcp-standalone/blob/Release_Process/docs/Release.md#mcp-included-apbs</a></div><div><br></div><div>1) manual modify the openshift template (which is included in the dependent APBs)</div><div>2) creating image tags and pushing all to dockerhub (-> make apbs )</div><div><br></div><div><br></div><div>In 2) we also modify code, by copying the template over, for that I've added a "release" commit in the Makefile target:</div><div><a href="https://github.com/matzew/mcp-standalone/commit/8d693cc6b2d58d9a2d83e33ea6cf9e31ce8bcac5">https://github.com/matzew/mcp-standalone/commit/8d693cc6b2d58d9a2d83e33ea6cf9e31ce8bcac5</a><br></div><div><br></div><div>But we still have a locally modified file on the disk (the original openshift template). This is bad.</div><div>The changes to the template must be committed before we can actually move on. To enforce that, I've added the following to the "make apbs" target:</div><div><a href="https://github.com/feedhenry/mcp-standalone/commit/260fd86868e7d12fb33197bf1ca9672a2f7d4b1a#commitcomment-25186889">https://github.com/feedhenry/mcp-standalone/commit/260fd86868e7d12fb33197bf1ca9672a2f7d4b1a#commitcomment-25186889</a><br></div><div><br></div><div>if there are not committed files, the "make apbs" fails- this is inspired by the awesome ;-) Maven Release Plugin.</div><div><br></div><div>As the last step, after the different pushes to dockerhub (mcp-standalone and its dependent APBs), we must create a release tag in git, and push it.</div><div><br></div><div>Only with these "rules" (e.g. no locally modified files, and proper release tags, we end up having both in sync dockerhub images, and the matching TAG in git)<br></div><div><br></div><div>I think these new rules help to get a more solid release, and with a bit of work can be applied by some "release script"</div><div><br></div><div>But before hacking too much, I am generally interested in feedback on these already committed changes. </div><div><br></div><div>Thanks!</div><div>Matthias</div><div><br></div><div><br></div><div>[1] <a href="https://www.redhat.com/archives/feedhenry-dev/2017-October/msg00114.html">https://www.redhat.com/archives/feedhenry-dev/2017-October/msg00114.html</a></div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Project lead AeroGear.org</div></div>
</div></div>