
--Apple-Mail=_0BC00364-3869-4932-9C43-2C39D9DB1B26 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii
On 24 Jan 2018, at 08:52, Dan Kenigsberg <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> 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 =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.
well, I still do not get the hint at all Why exactly?
=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, 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 [2]: = http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_with_Gerri= t/index.html [3]: = http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_STDCI_with_GitHu= b/index.html =20 =20 =20 -- Barak Korren RHV DevOps team , RHCE, RHCi Red Hat EMEA redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted _______________________________________________ Devel mailing list 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=_0BC00364-3869-4932-9C43-2C39D9DB1B26 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></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 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 = 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;" class=3D"">On Wed, Jan 24, 2018 at 8:35 AM, = Barak Korren <</span><a href=3D"mailto:bkorren@redhat.com" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" = class=3D"">bkorren@redhat.com</a><span 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;" class=3D"">> wrote:</span><br 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""><blockquote= type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px;" class=3D"">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] <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 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""><span = 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;" class=3D"">If project maintainers opt for = this "Route 2", it is their personal</span><br 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""><span = 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;" class=3D"">responsibility to change the = above "master" to "ovirt-4.2" branch</span><br 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""><span = 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;" class=3D"">*BEFORE* they create their = stable branch ovirt-4.2. If they fail to do</span><br = 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""><span 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;" class=3D"">so, CI would get "dirty" with 4.3 packages. = Barak hinted to this a</span><br 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""><span = 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;" class=3D"">bit too mildly.</span><br = 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""></div></blockquote><div><br class=3D""></div>well, I still do = not get the hint at all</div><div>Why exactly?</div><div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><br = 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""><blockquote type=3D"cite" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px;" class=3D""><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]: <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]: <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]: <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> | TRIED. TESTED. = TRUSTED. | <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"">http://lists.ovirt.org/mailman/listinfo/devel<br class=3D""><br= class=3D""><br class=3D""></blockquote><span 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;" = class=3D"">_______________________________________________</span><br = 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""><span 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;" class=3D"">Devel mailing list</span><br 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""><a = href=3D"mailto:Devel@ovirt.org" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px;" class=3D"">Devel@ovirt.org</a><br = 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""><a = href=3D"http://lists.ovirt.org/mailman/listinfo/devel" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" = class=3D"">http://lists.ovirt.org/mailman/listinfo/devel</a></div></blockq= uote></div><br class=3D""></body></html>= --Apple-Mail=_0BC00364-3869-4932-9C43-2C39D9DB1B26--