Honeycomb/BranchCutting

From fd.io
Jump to: navigation, search

Jenkins

In ci-management/jjb/vpp/vpp.yaml https://git.fd.io/cgit/ci-management/tree/jjb/honeycomb/honeycomb.yaml#n15- add a new ‘stream’ for your new YYMM (example: for stable/1609:

- '1609':
            branch: 'stable/1609’'
            repo-stream-part: 'stable.1609'

(example from vpp: https://git.fd.io/cgit/ci-management/tree/jjb/vpp/vpp.yaml#n26 )

Cut Branch

Create a new branch stable/YYMM (example: stable/1609) in the gerrit web UI against the point on master you wish to be cutting the branch (usually HEAD at the time your cutting). https://gerrit.fd.io/r/#/admin/projects/honeycomb,branches

Update stable/YYMM Branch

On stable/YYMM (example: stable/1609) prepare a commit which updates the .gitreview to reflect the correct branch and updates the maven versions (in a single patch) and the versions used for building rpms/debs Example: https://gerrit.fd.io/r/#/c/1157/1/.gitreview Example: https://git.fd.io/cgit/honeycomb/tree/packaging/rpm/version

Merge the patch

== Verify correct package versions Go look for package with the correct versions at: https://nexus.fd.io/content/repositories/fd.io.stable.YYMM.centos7/ ( example: ( https://nexus.fd.io/content/repositories/fd.io.stable.1609.centos7/ ) https://nexus.fd.io/content/repositories/fd.io.stable.YYMM.ubuntu.trusty.main/ example: ( https://nexus.fd.io/content/repositories/fd.io.stable.1609.ubuntu.trusty.main/ ) https://nexus.fd.io/content/repositories/fd.io.stable.YYMM.ubuntu.xenial.main/ example: (https://nexus.fd.io/content/repositories/fd.io.stable.1609.ubuntu.xenial.main/ ) Verify that package like artifacts are present in all the above git repos by looking for them in ‘Package’ in the apt repos (trusty and xenial)