You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

Temporary certificate fix expires July 19, 2019 

TaskMove maven-stage plugin in a new profile in all pom.xml filesReview all pom file changesMerge global-jjb changes & trigger jobsAnalyze binaries delivered to NexusCherry pick needed changed into release branchesRemove old staging jobsRemove unused profiles in pom.xml filesComment on progress
ResponsibleRelEngPTLRelEngPTLPTLRelEngPTL
Estimated Duration10 min
per file
5 min 
per file
20 Min30 Min5 min10 Min10 min per file
AAF







AAI







APPC







CCSDK







CLAMP







CLI







DCAE







Demo







DMaaP







ExtAPI







Holmes







Integration







Logging






Prudence to help me remove the extra snapshot artifacts being packaged in the autorelease file which is breaking the job
Modeling







MSB







MultiCloud







Music







OOF






All jobs work, only cmso is skipping artifact signing since they need to run in Ubuntu and SIGUL is just supported in Centos. Signing images for their releases will need to continue to be done manually, but at least we are migrated and not using the plugin in question.
OOM







O-parent







Policy







Portal






Component having dependency issues.  Information sent to the PTL for helping me analyzing them. 
SDC







SDNC







SO







UUI







VFC







VID






Migration almost completed. We hit an issue with a NPM version not supported but the team decided to backtrack all changes (sad)
VNFSDK







Nexus2 releases migration notes


Ready to migrate? Things to consider and challenges faced with the currently migrated teams

  • The job we are migrating to can be found in global-jjb: 
  • These jobs are being designed to eventually automate the release process without LF intervention.
  • gerrit-maven-stage jobs incude a step to automatically sign the artifacts using SIGUL:
    • Currently, SIGUL only works in CentOS for which the teams will need to use these nodes for running their builds
    • If the team has a special dependency on Ubuntu, please inform LFRELENG before the migration so that we disable SIGUL signing for that project in particular. 
  • gerrit-maven-stage enforces depenendcies exclusively on released versions. Please do not use dependnecies on snapshot artifacts
  • Development MUST happen on a snapshot version of the artifact. Team daily development must be done on top of snapshots. 
    • Failing to do so will cause the jobs to fail since gerrit-maven-stage is designed to produce a new release candidate out of a snapshot version.
  • gerrit-maven-stage and gerrit-maven-docker-stage support versions plugin. The team can decide to use it or skip it to bump their versions.
  •  gerrit-maven-stage and gerrit-maven-docker-stage produce a patchset that is ready for the tech teams to use to commit their release candidate details. Please use it.

Changes needed to be done and stakeholders

TECHTEAM: Verify that the previous section's concerns listed above are not a concern to the tech team.

TECHTEAM: If the project's pom.xml has a dependency on Oparent, they need to migrate to version 2.0.0. For example: https://gerrit.onap.org/r/#/c/modeling/toscaparsers/+/88216/

LFRELENG: Add the team's needed jobs from global-jjb. For example: https://gerrit.onap.org/r/#/c/ci-management/+/77825/

TECHTEAM + LFRELENG: Verify the new jobs are running fine and deploying the correct artifacts.

LFRELENG: Cleanup old un needed jobs. For example: https://gerrit.onap.org/r/#/c/ci-management/+/87495/

Testing the migration

  • The migration cannot be tested in the Sandbox unfortunatelly.
    • The Sandbox is specifically designed to block Nexus2 pushes and we will not be able to confirm if the artifacts were pushed correctly.
    • The migration changes depend on pom.xml file changes in the source code which cannot be tested unless these changes are merged.
  • Please notice that we can't keep both version-java-daily (and similar local templates) and gerrit-maven-stage (from global-jjb) running successfully at the same time.
    • The plugin in question  "nexus-staging-maven-plugin" only works for the old templates and, once we remove it's usage to be able to migrate, it will cause the old jobs to fail.



  • No labels