DRAFT FOR USE BY ONAP INFRASTRUCTURE WORKING GROUP
Alexis, Brian Christopfe, Morgan
Background
- Long term proposal from the LFN TAC is to replace Gerrit and Jenkins with a more modern tool chain and use an “As A Service” approach rather than dedicted instances.
- General plan is to move to a large cloud hosted solution like GitLab/GitLab-CI
- We believe reliability will be better
- We calculate that costs will be lower
- We believe that more modern SCM will reduce the learning curve for new developers
Approach
- Prototype with one or two projects to work out the kinks in Frankfurt
- Plan to move at the start of G release if approved by TSC in time.
- No project moves unless we are ready
FAQ
- Common Login
Common Login will be based on github accounts not linux foudation accounts
- Based on CLA requirements and general biterg.io tracking , contributers should use a coporate email based github account
Contributer License Agreements
- LF to provide input
- Most likely will use CLA tied to github registred email
- Contributers should use corporate email based github accounts not personal email based github accounts
- Biterg.io
- Will need to add gitlab repositories to onap.biterg.io
- May need to simply have a separate biterg.io setup so we dont double count after initial upload from gerrit to gitlab
- biterg probably has a recommended procedure for this type of migration
SCM Reviews
pull request and branches vs gerrit branches
- high level change in flow with git pull vs gerrit
As a Contributer I will use a feature branch instead of working on master and submitting a gerrit review.
- A developer makes a change in their feature branch and tests it. When they’re happy they push, and make a merge request.
- The developer assigns the merge request to a reviewer, who looks at it and makes line and design level comments as appropriate. When the reviewer is finished, they assign it back to the author.
- The author addresses the comments. This stage can go around for a while, but once both are happy, one assigns to a final reviewer who can merge.
- The final reviewer follows the same process again. The author again addresses any comments, either by changing the code or by responding with their own comments.
- Once the final reviewer is happy and the build is green, they will merge.
As a PTL I will see pull requests .....
GUI Differences
Cherry Pick
Abandon
Create Branch
Create Tag
Magic Words
CI Jobs
Instead of jjb on jenkins.onap.org my jobs will be .....
Magic Words
Seeing the job queue
Restarting a job
Seeing build errors
Seeing build status
Support.linuxfoundation.org and AsAService LF supported applciations
How to get help through LF for SCM/CI in As A Service
Escalations