<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:03:47 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>[INTPAK-161] Create scratch pkg repos</title>
                <link>https://jira.opendaylight.org/browse/INTPAK-161</link>
                <project id="10190" key="INTPAK">integration-packaging</project>
                    <description>&lt;p&gt;We currently don&apos;t have a good way to create really &quot;scratch&quot; packages, as our devel repos get consumed in CD pipelines. We can build throw-away packages in the sandbox, but we have to add any tests to the same build job as we can&apos;t archive them from the sandbox (and wouldn&apos;t want to put them in CD stream anyway).&lt;/p&gt;

&lt;p&gt;Should create repos like:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-fluorine-epel-7-x86_64-scratch&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-fluorine-epel-7-x86_64-scratch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;TODO: Better name than &quot;scratch&quot;?&lt;/p&gt;</description>
                <environment></environment>
        <key id="29802">INTPAK-161</key>
            <summary>Create scratch pkg repos</summary>
                <type id="10101" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="dfarrell07">Daniel Farrell</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Apr 2018 02:57:52 +0000</created>
                <updated>Fri, 29 Jun 2018 19:10:23 +0000</updated>
                            <resolved>Wed, 27 Jun 2018 13:49:12 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="63400" author="askb" created="Tue, 12 Jun 2018 03:50:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=dfarrell07&quot; class=&quot;user-hover&quot; rel=&quot;dfarrell07&quot;&gt;dfarrell07&lt;/a&gt; I would be happy to assist with creating the repositories. I need to understand more about the need for scratch pkgs and repo requirements. Do we need a scratch repo per project and per-release? Maybe we should discuss this on a call?&lt;/p&gt;

&lt;p&gt;Please note, presently the rpms/debs are being pushed to devel repos &lt;span class=&quot;error&quot;&gt;&amp;#91;1.&amp;#93;&lt;/span&gt; get purged at 30 days (since they are acting as staging repos). Ideally, someone should raise a build promotion requests for the released rpm builds to copy them to official release repos on Nexus and we should have jobs which promote them automatically.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-&lt;/a&gt;{*}-epel-7-x86_64-devel&lt;/p&gt;</comment>
                            <comment id="63531" author="dfarrell07" created="Wed, 20 Jun 2018 03:28:16 +0000"  >&lt;p&gt;Thanks for the help &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=askb&quot; class=&quot;user-hover&quot; rel=&quot;askb&quot;&gt;askb&lt;/a&gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;There are two kinda-distinct usecases for the scratch repos:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Most importantly, want to be able to build propose code into packages and push them there. So a dev would put a keyword in a Gerrit comment, something like the multipatch job will build that into a distro and then something like the build-rpm job will build that into a package. The result should get pushed to these scratch repos for the dev to test.&lt;/li&gt;
	&lt;li&gt;Also, it would be cool if we could push to these from the sandbox. So if there is a snapshot distro that was built by something like a merge job, or a multipatch job, then a dev could push the build-rpm job to the sandbox, point it at the snapshot distro in question, trigger a build and have the resulting package pushed to these scratch repos.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Regarding promoting releases - we need to document some process for how that should be done (requested?). I have a WIP patch to document the full int/pack release process here: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/71650/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/71650/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Promoting packages on Nexus isn&apos;t super critical I think because hosting them on the CBS works fine. &lt;a href=&quot;http://cbs.centos.org/repos/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://cbs.centos.org/repos/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="63579" author="askb" created="Thu, 21 Jun 2018 01:29:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=dfarrell07&quot; class=&quot;user-hover&quot; rel=&quot;dfarrell07&quot;&gt;dfarrell07&lt;/a&gt; thanks for the detailed explanation. I will work on setting update the repos next week and update here once its ready.&lt;/p&gt;

&lt;p&gt;&amp;gt; Promoting packages on Nexus isn&apos;t super critical I think because hosting them on the CBS works fine. &lt;a href=&quot;http://cbs.centos.org/repos/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://cbs.centos.org/repos/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We are ok with hosting them on CBS, the only caveat here is the *-devel repos have schedule tasks which remove packages older than 30 days from the time of the build (and not actual release), which requires a job in place which push the rpms into CBS or *-release repos soon after the release. &lt;/p&gt;</comment>
                            <comment id="63630" author="dfarrell07" created="Fri, 22 Jun 2018 13:57:28 +0000"  >&lt;p&gt;I&apos;m just pushing to the CBS manually for now. I think it would be cool to make a job to do that, but it might be tricky to get credentials that can be used safely in jobs.&#160;&lt;/p&gt;</comment>
                            <comment id="63652" author="askb" created="Mon, 25 Jun 2018 01:06:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=dfarrell07&quot; class=&quot;user-hover&quot; rel=&quot;dfarrell07&quot;&gt;dfarrell07&lt;/a&gt; I belive these are going to be used as test repos for testing individual patches, I would recommend we use these as generic devel repos, instead of having a separate repo per-release (oxygen, fluorine .. etc)?&lt;/p&gt;

&lt;p&gt;We have two repos available on Nexus2, let me know if these can be used:  &lt;/p&gt;

&lt;p&gt;ex:&lt;br/&gt;
&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-ubuntu-1604-x86_64-devel&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-ubuntu-1604-x86_64-devel&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="63673" author="dfarrell07" created="Mon, 25 Jun 2018 19:06:19 +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; Yeah, those would work perfectly. Better than maintaining per-stream repos. All we need is somewhere to dump packages.&lt;/p&gt;

&lt;p&gt;I&apos;m messing around with some JJB to play with them now.&lt;/p&gt;</comment>
                            <comment id="63674" author="dfarrell07" created="Mon, 25 Jun 2018 19:35:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/73418&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/73418&lt;/a&gt;&#160;adds some logic that lets me pass&#160;opendaylight-epel-7-x86_64-devel as REPO_ID, thereby allowing deploys to that repo.&lt;/p&gt;

&lt;p&gt;When running in the sandbox, it seems to work but then we run into an (expected) permission denied error:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts: Could not transfer artifact org.opendaylight.integration-packaging:opendaylight:rpm:8.2.0-1.el7.noarch from/to opendaylight-epel-7-x86_64-devel (&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel):&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel):&lt;/a&gt; Failed to transfer file: &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel/org/opendaylight/integration-packaging/opendaylight/8.2.0-1.el7.noarch/opendaylight-8.2.0-1.el7.noarch.rpm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel/org/opendaylight/integration-packaging/opendaylight/8.2.0-1.el7.noarch/opendaylight-8.2.0-1.el7.noarch.rpm&lt;/a&gt;. Return code is: 401, ReasonPhrase: Unauthorized.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/packaging-build-rpm-fluorine/3/console.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/packaging-build-rpm-fluorine/3/console.log.gz&lt;/a&gt;&lt;/p&gt;

&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; Can we setup the sandbox to allow deploys to these scratch repos?&lt;/p&gt;</comment>
                            <comment id="63683" author="askb" created="Tue, 26 Jun 2018 01:38:37 +0000"  >&lt;p&gt;&amp;gt; When running in the sandbox, it seems to work but then we run into an (expected) permission denied error:&lt;/p&gt;

&lt;p&gt;That&apos;s because we don&apos;t allow deploying artifacts to Nexus from sandbox. However, we can provide a temp hook for testing purposes, and remove it once we have tested the jobs &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="63684" author="askb" created="Tue, 26 Jun 2018 01:47:14 +0000"  >&lt;p&gt;I had a brief discussion with &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=agrimberg&quot; class=&quot;user-hover&quot; rel=&quot;agrimberg&quot;&gt;agrimberg&lt;/a&gt; regarding setting up CBD credentials on Jenkins. We are not sure what CLI are being used for uploading packages on the CBS system. However, can we create/manage these credentials files or add the creds ~/.netrc (confined only on Jenkins Prod env jobs) and have packaging jobs on releng manage upload the released packages to CBS repos in a timely manner. Also will have to have to figure out a way to setup a separate CBS account for this task.  &lt;/p&gt;</comment>
                            <comment id="63710" author="dfarrell07" created="Tue, 26 Jun 2018 15:32:39 +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; These are the CBS docs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.centos.org/HowTos/CommunityBuildSystem&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.centos.org/HowTos/CommunityBuildSystem&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.centos.org/HowTos/CentosPackager&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.centos.org/HowTos/CentosPackager&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would be cool to have this more automated and, most importantly, have someone other than myself with permissions to push to CBS. We&apos;re currently at a very low hit-by-bus number there. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="63714" author="dfarrell07" created="Tue, 26 Jun 2018 16:25:01 +0000"  >&lt;p&gt;&amp;gt; That&apos;s because we don&apos;t allow deploying artifacts to Nexus from sandbox. However, we can provide a temp hook for testing purposes, and remove it once we have tested the jobs&lt;/p&gt;

&lt;p&gt;Can we enable pushing to some destinations in Nexus? That may be too much to ask, but if it&apos;s easier than I anticipate than it would be nice for developers to be able to build in the sandbox and have the resulting package hosted in these scratch repos. See &lt;a href=&quot;https://jira.opendaylight.org/browse/INTPAK-151&quot; title=&quot;Support custom RPM builds by unprivileged users&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INTPAK-151&quot;&gt;&lt;del&gt;INTPAK-151&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="63723" author="askb" created="Tue, 26 Jun 2018 23:30:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=dfarrell07&quot; class=&quot;user-hover&quot; rel=&quot;dfarrell07&quot;&gt;dfarrell07&lt;/a&gt; Please try again, you should be able to push to that scratch repository.&lt;/p&gt;</comment>
                            <comment id="63724" author="askb" created="Wed, 27 Jun 2018 00:33:06 +0000"  >&lt;p&gt;The deploy to scratch repos is working now&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel/org/opendaylight/integration-packaging/opendaylight/8.2.0-1.el7.src/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight-epel-7-x86_64-devel/org/opendaylight/integration-packaging/opendaylight/8.2.0-1.el7.src/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="63735" author="dfarrell07" created="Wed, 27 Jun 2018 13:49:04 +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; - Awesome, confirmed this is working as desired. Thanks!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="30247">INTPAK-189</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="29448">INTPAK-151</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|i03djj:</customfieldvalue>

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