Difference between revisions of "Honeycomb/BranchCutting"

From fd.io
Jump to: navigation, search
(Created page with " == 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 (exampl...")
 
m (Jenkins)
Line 2: Line 2:
 
== Jenkins ==
 
== Jenkins ==
  
In ci-management/jjb/vpp/vpp.yaml  
+
In ci-management/jjb/honeycomb/honeycomb.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:
+
https://git.fd.io/ci-management/tree/jjb/honeycomb/honeycomb.yaml#n24 - add a new ‘stream’ for your new YYMM (example: for stable/1707:
 
<pre>
 
<pre>
- '1609':
+
- '1707':
             branch: 'stable/1609’'
+
             branch: 'stable/1707’'
             repo-stream-part: 'stable.1609'
+
             repo-stream-part: 'stable.1707'
 
</pre>
 
</pre>
(example from vpp: https://git.fd.io/cgit/ci-management/tree/jjb/vpp/vpp.yaml#n26 )
+
(example https://gerrit.fd.io/r/#/c/7447/1/jjb/honeycomb/honeycomb.yaml)
  
 
== Cut Branch ==
 
== Cut Branch ==

Revision as of 08:16, 7 July 2017

Jenkins

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

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

(example https://gerrit.fd.io/r/#/c/7447/1/jjb/honeycomb/honeycomb.yaml)

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)