This page covers the process for a PTL to create a new repo in their existing project.
If you are trying to create an entirely new ONAP project, that process is here: New Project Proposals
- Clone LF's info-master repo: https://gerrit.linuxfoundation.org/infra/admin/repos/releng/info-master
- cd into the right location in the repo for ONAP's gerrit configuration: cd info-master/gerrit.onap.org/example-parent/
- Create a new folder for the repo to be created: mkdir example-child/ && cd example-child
- At this point, we are in the right folder that patches the repo path. The INFO.yaml will need to be created using any of these ways:
- Manually, easy when the INFO.yaml matches an existing child repo of the same parent
- Using lftools:
- lftools infofile create-info-file gerrit.example.org example-parent/example-child --empty --tsc_approval "https://link.to.meeting.minutes" > INFO.yaml
- Fill up or correct any missing or wrong fields.
- Run tox to verify your INFO file looks right
- Commit your change and push it to gerrit.linuxfoundation.org
After your change is pushed...
- Automation will tag the main LF Releng engineers representative for ONAP
- The change will be reviewed by the LF Releng engineer and any needed follow up with the owner will be posted in the comments.
- Once the change is merged, automation will process the INFO.yaml file, create the repo, update Nexus access and Jenkins settings files.