<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:37:27 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[RELENG-81] Improve autorelease-version-bump job to handle branch-cutting</title>
                <link>https://jira.opendaylight.org/browse/RELENG-81</link>
                <project id="10164" key="RELENG">releng</project>
                    <description>&lt;p&gt;The version-bump job currently is only useful for the release workflow but does not handle branch-cutting type of version bumping. We should improve the job-template &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; to have a switch for either:&lt;/p&gt;

&lt;p&gt;1) Release mode Runs:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lftools version release &quot;$RELEASE_TAG&quot;
lftools version bump &quot;$RELEASE_TAG&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;2) Branch cutting mode Runs:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lftools version bump &quot;$RELEASE_TAG&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Another issue we&apos;d have to deal with is the line where we run `git checkout -b branch stream/branch`. When run against the master branch doing this causes an error because we&apos;re already on the master branch.&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://github.com/opendaylight/releng-builder/blob/master/jjb/autorelease/autorelease-templates.yaml#L212-L271&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/releng-builder/blob/master/jjb/autorelease/autorelease-templates.yaml#L212-L271&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29286">RELENG-81</key>
            <summary>Improve autorelease-version-bump job to handle branch-cutting</summary>
                <type id="10001" iconUrl="https://jira.opendaylight.org/images/icons/issuetypes/story.svg">Story</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="6" iconUrl="https://jira.opendaylight.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="abelur">Anil Belur</assignee>
                                    <reporter username="zxiiro">Thanh Ha (zxiiro)</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Feb 2018 02:20:42 +0000</created>
                <updated>Thu, 23 Aug 2018 11:05:54 +0000</updated>
                            <resolved>Mon, 23 Apr 2018 21:15:44 +0000</resolved>
                                                                    <component>Autorelease</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="61233" author="zxiiro" created="Tue, 27 Feb 2018 02:57:49 +0000"  >&lt;p&gt;A year ago I started working on a patch to have a job the does the branch-cutting activities for us. &lt;a href=&quot;https://git.opendaylight.org/gerrit/55849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/55849&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Might be worth reviving it.&lt;/p&gt;</comment>
                            <comment id="61234" author="zxiiro" created="Tue, 27 Feb 2018 03:55:09 +0000"  >&lt;p&gt;Rebased the patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/55849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/55849&lt;/a&gt; and finished it off. This will now give us a job that will create the new stable/branches for us as well as produce the .gitreview patches automatically. This will heavily simplify our branch cutting process.&lt;/p&gt;</comment>
                            <comment id="61235" author="zxiiro" created="Tue, 27 Feb 2018 04:11:43 +0000"  >&lt;p&gt;We could probably have the branch-cut job automatically launch the version-bump job with the right parameters once we update the version-bump job as described in the description. The branch-cut job on success can automatically launch the version bump job.&lt;/p&gt;</comment>
                            <comment id="61323" author="askb" created="Wed, 28 Feb 2018 05:33:56 +0000"  >&lt;p&gt;Having a couple of issues while testing this job on sandbox, with some minor changes... &lt;br/&gt;
why is the `git review -s` returning an error? Tried adding a `git remote add gerrit ...` after&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;06:02:23 /w/workspace/autorelease-version-bump-nitrogen/vtn /w/workspace/autorelease-version-bump-nitrogen
06:02:23 + &apos;[&apos; master == stable/nitrogen &apos;]&apos;
06:02:23 + &apos;[&apos; true = true &apos;]&apos;
06:02:23 + git checkout master
06:02:23 Switched to branch &apos;master&apos;
06:02:23 + popd
06:02:23 /w/workspace/autorelease-version-bump-nitrogen
06:02:23 + git remote -v
06:02:23 origin	git://devvexx.opendaylight.org/mirror/releng/autorelease (fetch)
06:02:23 origin	git://devvexx.opendaylight.org/mirror/releng/autorelease (push)
06:02:23 + git config --global --add gitreview.username jenkins-releng
06:02:23 + git remote add gerrit ssh://jenkins-releng@devvexx.opendaylight.org:29418/mirror/releng/autorelease
06:02:23 + git remote -v
06:02:23 gerrit	ssh://jenkins-releng@devvexx.opendaylight.org:29418/mirror/releng/autorelease (fetch)
06:02:23 gerrit	ssh://jenkins-releng@devvexx.opendaylight.org:29418/mirror/releng/autorelease (push)
06:02:23 origin	git://devvexx.opendaylight.org/mirror/releng/autorelease (fetch)
06:02:23 origin	git://devvexx.opendaylight.org/mirror/releng/autorelease (push)
06:02:23 + git review -s
06:02:24 Problem running &apos;git remote update gerrit&apos;
06:02:24 Fetching gerrit
06:02:24 ssh: connect to host devvexx.opendaylight.org port 29418: Network is unreachable
06:02:24 fatal: Could not read from remote repository.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;j&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/autorelease-version-bump-nitrogen/6/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/autorelease-version-bump-nitrogen/6/console&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61324" author="askb" created="Wed, 28 Feb 2018 05:42:01 +0000"  >&lt;p&gt;`opendaylight-jenkins-ssh` credentials are available both on releng and sandbox which is not the issue. However, its not able to connect to gerrit (git.opendaylight.org) because gerrit is clone as devvex.opendaylight.org? &lt;/p&gt;</comment>
                            <comment id="61330" author="askb" created="Wed, 28 Feb 2018 09:20:11 +0000"  >&lt;p&gt;I was testing the earlier change with $STREAM == nitrogen, instead should have been testing with $STREAM == &quot;fluorine&quot;.&lt;/p&gt;

&lt;p&gt;WIP: Update autorelease version bump job&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/68854&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/68854&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Branch cutting is going through here:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/autorelease-version-bump-fluorine/9/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/autorelease-version-bump-fluorine/9/console&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61341" author="askb" created="Wed, 28 Feb 2018 12:34:09 +0000"  >&lt;p&gt;Release workflow test is in progress:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/autorelease-version-bump-nitrogen/9/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/autorelease-version-bump-nitrogen/9/console&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="61419" author="askb" created="Mon, 5 Mar 2018 22:02:47 +0000"  >&lt;p&gt;Updated the documentation which includes both workflows (manual and automated jobs).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/68762/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/68762/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61420" author="zxiiro" created="Mon, 5 Mar 2018 23:00:13 +0000"  >&lt;p&gt;As mentioned in the 3rd comment &lt;span class=&quot;error&quot;&gt;&amp;#91;c&amp;#93;&lt;/span&gt;. We can save a step by having the branch cut job trigger the version bump job too. Then the step can be simplified to just running 1 job. Can we get that updated?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;c&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jira.opendaylight.org/browse/RELENG-81?focusedCommentId=61235&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-61235&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/RELENG-81?focusedCommentId=61235&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-61235&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61421" author="askb" created="Tue, 6 Mar 2018 00:01:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=zxiiro&quot; class=&quot;user-hover&quot; rel=&quot;zxiiro&quot;&gt;zxiiro&lt;/a&gt; Yeah will take care of updating that job and docs.&lt;/p&gt;</comment>
                            <comment id="62578" author="zxiiro" created="Mon, 23 Apr 2018 20:14:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=abelur&quot; class=&quot;user-hover&quot; rel=&quot;abelur&quot;&gt;abelur&lt;/a&gt; is this task complete?&lt;/p&gt;</comment>
                            <comment id="62580" author="askb" created="Mon, 23 Apr 2018 21:15:44 +0000"  >&lt;p&gt;Yes, this is &lt;del&gt;resolved&lt;/del&gt;. Everything except the last part&#160;a step by having the branch cut job trigger the version bump job too. Then the step can be simplified to just running 1 job.&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;c&amp;#93;&lt;/span&gt;&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/RELENG-81?focusedCommentId=61235&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-61235&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/RELENG-81?focusedCommentId=61235&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-61235&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="64723" author="zxiiro" created="Thu, 23 Aug 2018 02:47:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=abelur&quot; class=&quot;user-hover&quot; rel=&quot;abelur&quot;&gt;abelur&lt;/a&gt; is this complete? or is there more stuff to do here?&lt;/p&gt;</comment>
                            <comment id="64737" author="askb" created="Thu, 23 Aug 2018 11:05:54 +0000"  >&lt;p&gt;This is completed.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03atr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>