Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4805 Tracking task for items needed for a VOLTHA release with dependencies on ONOS.
  3. VOL-4810

Document / verify steps required for releasing a voltha dependency on ONOS app.

    XMLWordPrintable

    Details

    • Story Points:
      0

      Description

        2:40 PM

      I managed to release 5.2.2 version of the app with the help of Andrea.
      2:43
      This is the steps I received from Andrea and I followed that.There is a Jenkins job to release ONOS app: jenkins.opencord.org/job/onos-app-release but it requires some manual steps: # Build with parameters: use the name of the repo (not of the app itself) (see parameters here https://jenkins.opencord.org/job/onos-app-release/ . Look at the last success job)

      1. Wait for build to complete
      2. Merge the patches here https://gerrit.opencord.org/q/owner:do-not-reply%2540opennetworking.org
      3. It will trigger (https://jenkins.opencord.org/job/maven-publish_sadis/ for sadis app, similar link for olt and other apps) that publish the artifact in the staging repo on oss.sonatype.org, you need to release it:
      • Login on sonatype (login credentials with ONF)
      • search for org.opencord
      • Select the app you want to release and click "all versions"
      • Click on "Staging repositories" (in the left side navigation)
      • In the top right search for last part of the app name (eg: olt)
      • Click release (top left bar, small button)
      1. Wait until artifacts are published https://search.maven.org/search?q=g:org.opencord
      2. Go in other apps, update the dependency of released from x.y.z-SNAPSHOT to x.y.z
      3. Start over with new app
         
        !https://slack-imgs.com/?c=1&o1=wi32.he32.si&url=https%3A%2F%2Fgerrit.opencord.org%2Ffavicon.ico|width=16,height=16!gerrit.opencord.org
        Gerrit Code Review
         
        !https://slack-imgs.com/?c=1&o1=wi32.he32.si&url=https%3A%2F%2Fsearch.maven.org%2Ffavicon.ico%3Fv%3D3|width=16,height=16!search.maven.org
        Maven Central Repository Search
        Official search by the maintainers of Maven Central Repository
         
        2:46
        @Gustavo Silva @Joey Armstrong What we did wrong was to bump the patch version and snapshot versions manually overselves. But we are not supposed to do that. That should be done as part of the jenkins.opencord.org/job/onos-app-release job. Certainly someone with login credentials to jenkins to build the job and login credentials to sonatype will have to do it.

       
      @Gustavo Silva Now that olt-5.2.2 is released, you may go ahead and release voltha-onos with that version of the app (edited) 

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            joey Joey Armstrong
            Reporter:
            joey Joey Armstrong
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes