-
Type: Sub-task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.12
-
Component/s: Documentation
-
Labels:None
-
Story Points:0
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)
- Wait for build to complete
- Merge the patches here https://gerrit.opencord.org/q/owner:do-not-reply%2540opennetworking.org
- 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)
- Wait until artifacts are published https://search.maven.org/search?q=g:org.opencord
- Go in other apps, update the dependency of released from x.y.z-SNAPSHOT to x.y.z
- 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)