
--Apple-Mail=_FE8AFCC6-240E-4305-A287-D83B0F5DAEBA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On 24 Jan 2018, at 09:23, Michal Skrivanek = <michal.skrivanek@redhat.com> wrote: =20 =20 =20
On 24 Jan 2018, at 08:52, Dan Kenigsberg <danken@redhat.com = <mailto:danken@redhat.com>> wrote: =20 On Wed, Jan 24, 2018 at 8:35 AM, Barak Korren <bkorren@redhat.com = <mailto:bkorren@redhat.com>> wrote:
On 23 January 2018 at 18:44, Martin Sivak <msivak@redhat.com = <mailto:msivak@redhat.com>> wrote:
Hi Barak, =20 can you please please add links to the proper repositories and/or directories when you send something like this? I really helps us = when we do not have to search through all the jenkins and other infra repositories for which is the correct one. Because I really do not remember all the places that need to change out of my head. =20 See below. =20 So what you are asking for here is basically that we edit the files here [1] and create a 4.2_build-artifacts job using copy and paste, right? Or is there some other place that needs to change as well? =20 Yep. technically this should amount to a single change to a single file (See below). The important part is making the right decision = for each project, understanding its consequences, and realizing the actions that would be needed for changing that decision in the = future. =20 [1] = https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djobs/confs/pr= ojects;h=3D5a59dfea545da98e252eb6c8d95a92d08708a22d;hb=3Dcd75bb9eb33536523= 84ed89777fc15d71d1f9e36 = <https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djobs/confs/p= rojects;h=3D5a59dfea545da98e252eb6c8d95a92d08708a22d;hb=3Dcd75bb9eb3353652= 384ed89777fc15d71d1f9e36> =20 There is only one file** you need to maintain that is (currently) = not in your own project's repo***. Each project has such a file at [1]. =20 Documentation for the contents of that file can be found here: [2]. =20 There is no need to copy-paste much - the existing file should = contain a mapping of project branches to oVirt versions. Typically what = would be needed is just to add a single entry to the map. For example, for engine it would be****: =20 version: - master: branch: master - 4.2: branch: master ... =20 If project maintainers opt for this "Route 2", it is their personal responsibility to change the above "master" to "ovirt-4.2" branch *BEFORE* they create their stable branch ovirt-4.2. If they fail to = do so, CI would get "dirty" with 4.3 packages. Barak hinted to this a bit too mildly. =20 well, I still do not get the hint at all Why exactly?
=20
=20
=20 ** Bigger projects can spread configuration across multiple files, = but this is rarely needed. *** This applies only to Gerrit projects. GitHub projects have everything configured in their own repo. See [3]. **** Specifically for engine, the map appears twice in the file, =
apologies for stupid questions, but TBH I do not get most of these = things=E2=80=A6.I tried to take a look at projects I=E2=80=99m familiar = with and I still don=E2=80=99t quite understand what is getting to what = repo. I guess the syntax is described, that=E2=80=99s fine, but I=E2=80=99m = really not sure about semantics. Why do we need each of those things?=20 I see stuff like f24 everywhere=E2=80=A6is that just outdated? And what=E2=80=99s the relation to https://github.com/oVirt/releng-tools = ? Thanks, michal this
should probably be re-factored. =20 [1]: = https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djobs/confs/pr= ojects;hb=3Drefs/heads/master = <https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djobs/confs/p= rojects;hb=3Drefs/heads/master> [2]: = http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_with_Gerri= t/index.html = <http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_with_Gerr= it/index.html> [3]: = http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_with_GitHu= b/index.html = <http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_with_GitH= ub/index.html> =20 =20 =20 -- Barak Korren RHV DevOps team , RHCE, RHCi Red Hat EMEA redhat.com <http://redhat.com/> | TRIED. TESTED. TRUSTED. | = redhat.com/trusted <http://redhat.com/trusted> _______________________________________________ Devel mailing list Devel@ovirt.org <mailto:Devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/devel =20 =20
Devel mailing list Devel@ovirt.org <mailto:Devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/devel = <http://lists.ovirt.org/mailman/listinfo/devel>
--Apple-Mail=_FE8AFCC6-240E-4305-A287-D83B0F5DAEBA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 24 Jan 2018, at 09:23, Michal Skrivanek <<a = href=3D"mailto:michal.skrivanek@redhat.com" = class=3D"">michal.skrivanek@redhat.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br= class=3D"Apple-interchange-newline"><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D"">On 24 Jan 2018, at 08:52, Dan = Kenigsberg <<a href=3D"mailto:danken@redhat.com" = class=3D"">danken@redhat.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline !important;">On Wed, Jan 24, 2018 at 8:35 AM, Barak = Korren <</span><a href=3D"mailto:bkorren@redhat.com" class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: = 0px;">bkorren@redhat.com</a><span class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: = inline !important;">> wrote:</span><br class=3D"" style=3D"font-family:= Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote = type=3D"cite" class=3D"" style=3D"font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: = normal; letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px;">On 23 January 2018 at 18:44, Martin = Sivak <<a href=3D"mailto:msivak@redhat.com" = class=3D"">msivak@redhat.com</a>> wrote:<br class=3D""><blockquote = type=3D"cite" class=3D"">Hi Barak,<br class=3D""><br class=3D"">can you = please please add links to the proper repositories and/or<br = class=3D"">directories when you send something like this? I really helps = us when<br class=3D"">we do not have to search through all the jenkins = and other infra<br class=3D"">repositories for which is the correct one. = Because I really do not<br class=3D"">remember all the places that need = to change out of my head.<br class=3D""></blockquote><br class=3D"">See = below.<br class=3D""><br class=3D""><blockquote type=3D"cite" = class=3D"">So what you are asking for here is basically that we edit the = files<br class=3D"">here [1] and create a 4.2_build-artifacts job using = copy and paste,<br class=3D"">right? Or is there some other place that = needs to change as well?<br class=3D""></blockquote><br class=3D"">Yep. = technically this should amount to a single change to a single<br = class=3D"">file (See below). The important part is making the right = decision for<br class=3D"">each project, understanding its consequences, = and realizing the<br class=3D"">actions that would be needed for = changing that decision in the future.<br class=3D""><br = class=3D""><blockquote type=3D"cite" class=3D"">[1]<span = class=3D"Apple-converted-space"> </span><a = href=3D"https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djobs/= confs/projects;h=3D5a59dfea545da98e252eb6c8d95a92d08708a22d;hb=3Dcd75bb9eb= 3353652384ed89777fc15d71d1f9e36" = class=3D"">https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djo= bs/confs/projects;h=3D5a59dfea545da98e252eb6c8d95a92d08708a22d;hb=3Dcd75bb= 9eb3353652384ed89777fc15d71d1f9e36</a><br class=3D""></blockquote><br = class=3D"">There is only one file** you need to maintain that is = (currently) not<br class=3D"">in your own project's repo***.<br = class=3D"">Each project has such a file at [1].<br class=3D""><br = class=3D"">Documentation for the contents of that file can be found = here: [2].<br class=3D""><br class=3D"">There is no need to copy-paste = much - the existing file should contain<br class=3D"">a mapping of = project branches to oVirt versions. Typically what would<br class=3D"">be = needed is just to add a single entry to the map. For example, for<br = class=3D"">engine it would be****:<br class=3D""><br = class=3D""> version:<br = class=3D""> - master:<br = class=3D""> &nb= sp;branch: master<br = class=3D""> - 4.2:<br = class=3D""> &nb= sp;branch: master<br = class=3D""> ...= <br class=3D""></blockquote><br class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline !important;">If project maintainers opt for this "Route = 2", it is their personal</span><br class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline !important;">responsibility to change the above "master" = to "ovirt-4.2" branch</span><br class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline !important;">*BEFORE* they create their stable branch = ovirt-4.2. If they fail to do</span><br class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline !important;">so, CI would get "dirty" with 4.3 packages. = Barak hinted to this a</span><br class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline !important;">bit too mildly.</span><br class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: = 0px;"></div></blockquote><div class=3D""><br class=3D""></div>well, I = still do not get the hint at all</div><div style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D"">Why = exactly?</div></div></blockquote><div><br class=3D""></div>apologies for = stupid questions, but TBH I do not get most of these things=E2=80=A6.I = tried to take a look at projects I=E2=80=99m familiar with and I still = don=E2=80=99t quite understand what is getting to what repo.</div><div>I = guess the syntax is described, that=E2=80=99s fine, but I=E2=80=99m = really not sure about semantics. Why do we need each of those = things? </div><div>I see stuff like f24 everywhere=E2=80=A6is that = just outdated?</div><div>And what=E2=80=99s the relation to <a = href=3D"https://github.com/oVirt/releng-tools" = class=3D"">https://github.com/oVirt/releng-tools</a> ?</div><div><br = class=3D""></div><div>Thanks,</div><div>michal</div><div><blockquote = type=3D"cite" class=3D""><div class=3D""><div style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><br = class=3D"" style=3D"font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: normal; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: = 0px;"><blockquote type=3D"cite" class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=3D"">** = Bigger projects can spread configuration across multiple files, but<br = class=3D"">this is rarely needed.<br class=3D"">*** This applies only to = Gerrit projects. GitHub projects have<br class=3D"">everything = configured in their own repo. See [3].<br class=3D"">**** Specifically = for engine, the map appears twice in the file, this<br class=3D"">should = probably be re-factored.<br class=3D""><br class=3D"">[1]:<span = class=3D"Apple-converted-space"> </span><a = href=3D"https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djobs/= confs/projects;hb=3Drefs/heads/master" = class=3D"">https://gerrit.ovirt.org/gitweb?p=3Djenkins.git;a=3Dtree;f=3Djo= bs/confs/projects;hb=3Drefs/heads/master</a><br class=3D"">[2]:<span = class=3D"Apple-converted-space"> </span><a = href=3D"http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_wi= th_Gerrit/index.html" = class=3D"">http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI= _with_Gerrit/index.html</a><br class=3D"">[3]:<span = class=3D"Apple-converted-space"> </span><a = href=3D"http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_wi= th_GitHub/index.html" = class=3D"">http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI= _with_GitHub/index.html</a><br class=3D""><br class=3D""><br = class=3D""><br class=3D"">--<br class=3D"">Barak Korren<br class=3D"">RHV = DevOps team , RHCE, RHCi<br class=3D"">Red Hat EMEA<br class=3D""><a = href=3D"http://redhat.com/" class=3D"">redhat.com</a><span = class=3D"Apple-converted-space"> </span>| TRIED. TESTED. TRUSTED. = |<span class=3D"Apple-converted-space"> </span><a = href=3D"http://redhat.com/trusted" class=3D"">redhat.com/trusted</a><br = class=3D"">_______________________________________________<br = class=3D"">Devel mailing list<br class=3D""><a = href=3D"mailto:Devel@ovirt.org" class=3D"">Devel@ovirt.org</a><br = class=3D""><a href=3D"http://lists.ovirt.org/mailman/listinfo/devel" = class=3D"">http://lists.ovirt.org/mailman/listinfo/devel</a><br = class=3D""><br class=3D""><br class=3D""></blockquote><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; = display: inline = !important;">_______________________________________________</span><br = class=3D"" style=3D"font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: normal; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: = 0px;"><span class=3D"" style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; float: none; display: inline = !important;">Devel mailing list</span><br class=3D"" style=3D"font-family:= Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a = href=3D"mailto:Devel@ovirt.org" class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: = 0px;">Devel@ovirt.org</a><br class=3D"" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a = href=3D"http://lists.ovirt.org/mailman/listinfo/devel" class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: = 0px;">http://lists.ovirt.org/mailman/listinfo/devel</a></div></blockquote>= </div></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_FE8AFCC6-240E-4305-A287-D83B0F5DAEBA--