Difference between revisions of "Maintenance Release Cycle procedure"

From Gcube Wiki
Jump to: navigation, search
Line 23: Line 23:
  
 
=== Preparing the Maintenance Cycle ([[Role Release Manager|RMan]]) ===
 
=== Preparing the Maintenance Cycle ([[Role Release Manager|RMan]]) ===
RMan follows same steps as in [[Procedure Release Cycle|Release Cycle]] (see section [[Procedure Release Cycle#Preparing the Release Cycle (RMan)|Preparing the Release Cycle]])
+
RMan follows same steps as in [Major/Minor Release Cycle procedure|Release Cycle]] (see section [[Major/Minor Release Cycle procedure#Preparing the Release Cycle (RMan)|Preparing the Release Cycle]])
  
 
Additionally, RMan must forward ticket that triggered the Maintenance Cycle to [[Role Developer|Dev]]
 
Additionally, RMan must forward ticket that triggered the Maintenance Cycle to [[Role Developer|Dev]]
Line 30: Line 30:
 
=== Fixing defects ([[Role Developer|Dev]]) ===
 
=== Fixing defects ([[Role Developer|Dev]]) ===
 
The ticket is received by [[Role Developer|Dev]], who:
 
The ticket is received by [[Role Developer|Dev]], who:
* switches to the suitable 'Maintenance Branch' in SVN (e.g. branches/org.gcube.1-1). This branch is already updated with the latest version running in production.
+
* switches to the correct 'Maintenance Branch' in SVN (e.g. branches/org.gcube.1-1). This branch already contains the latest version running in production.
 
* fixes the defects on the Maintenance Branch and port them the ''Trunk/HEAD'' if applicable
 
* fixes the defects on the Maintenance Branch and port them the ''Trunk/HEAD'' if applicable
  
  
 
=== Delivering Components ([[Role Developer|Dev]]) ===
 
=== Delivering Components ([[Role Developer|Dev]]) ===
In this step [[Role Developer|Dev]] deliveries the "patched" component. This step is the same described in [[Procedure Release Cycle#Delivering Components (Dev)|Delivering Components]] section of [[Procedure Release Cycle|Release Cycle]] procedure
+
In this step [[Role Developer|Dev]] deliveries the "patched" component. This step is the same described in [[Procedure Release Cycle#Delivering Components (Dev)|Delivering Components]] section of [[Major/Minor Release Cycle procedure|Release Cycle]] procedure
  
  
 
=== Release of a new ESC ([[Role Subsystem Manager|SMan]]) ===
 
=== Release of a new ESC ([[Role Subsystem Manager|SMan]]) ===
Also the fixed component's parent needs to be update. Procedure followed by [[Role Subsystem Manager|SMan]] is the same described in [[Procedure Release Cycle#Delivering Subsystems (SMan)|Delivering Subsystems]] with an addition: the ''release tickets'' should include also a reference to the ''production_support ticket'' that triggered the Maintenance Cycle
+
Also the fixed component's parent needs to be update. Procedure followed by [[Role Subsystem Manager|SMan]] is the same described in [[Major/Minor Release Cycle procedure#Delivering Subsystems (SMan)|Delivering Subsystems]] with an addition: the ''release tickets'' should include also a reference to the ''production_support ticket'' that triggered the Maintenance Cycle
  
  
 
=== Integration and Testing ([[Role Release Manager|RMan]], [[Role Tester|TTeam]]) ===
 
=== Integration and Testing ([[Role Release Manager|RMan]], [[Role Tester|TTeam]]) ===
The phase of integration and testing of EPC is conducted in the same way described in following steps of [[Procedure Release Cycle|Release Cycle]] procedure:
+
The phase of integration and testing of EPC is conducted in the same way described in following steps of [[Major/Minor Release Cycle procedure|Release Cycle]] procedure:
* [[Procedure Release Cycle#Update EPC (RMan)|Update EPC]]
+
* [[Major/Minor Release Cycle procedure#Update EPC (RMan)|Update EPC]]
* [[Procedure Release Cycle#Building (RMan)|Building]]
+
* [[Major/Minor Release Cycle procedure#Building (RMan)|Building]]
* [[Procedure Release Cycle#Deployment Testing (TTeam)|Deployment Testing]]
+
* [[Major/Minor Release Cycle procedure#Deployment Testing (TTeam)|Deployment Testing]]
* [[Procedure Release Cycle#Functional Testing (TTem)|Functional Testing]]
+
* [[Major/Minor Release Cycle procedure#Functional Testing (TTem)|Functional Testing]]
  
 
Above steps are collapsed here in one section just for convenience' sake; actually they are executed in the same sequence and with the same transitions as in Release Cycle
 
Above steps are collapsed here in one section just for convenience' sake; actually they are executed in the same sequence and with the same transitions as in Release Cycle
Line 53: Line 53:
  
 
=== Maintenance Cycle closure ===
 
=== Maintenance Cycle closure ===
Maintenance Cycle closure procedure is exactly the same as in [[Procedure Release Cycle#Release and Distribution|Release Cycle]] procedure.
+
Maintenance Cycle closure procedure is exactly the same as in [[Major/Minor Release Cycle procedure#Release and Distribution|Release Cycle]] procedure.

Revision as of 15:50, 12 January 2012

Introduction

Maintenance Cycle aims to correct one or more defects discovered in a gCube software running in production infrastructure. A Maintenance Cycle is very similar to Release Cycle, but, in fact, it is - typically - simpler and faster since just one (or few) modules needs to be released and integrated in an already well tested and previously gCube version. Another good reason for which it should be as short as possible (few days) is that, since it is a reaction to a defect in production infrastructure, "patched" version has to be released very quickly.


Acronyms List

Please refer to Acronyms List in Release Cycle section.

Start of Maintenance Cycle

Maintenance Cycle starts when an incident ticket is opened for a defect found in production and the ticket is classified as high priority. Once developers resolves the defect, a new patch version of gCube must be released following the Maintenance Release Cycle.


Note 1: priority is assigned by Support Team during Incident Management procedure. Therefore, it is the Support Team that decide whether a Maintenance Cycle will be triggered or not.

Note 2: other 'production_support' defects involving Developers and the Release Team (i.e. category:Software Incident and priority:low) have to be fixed in the trunk/HEAD and will be delivered in production along with the next gcube release.


Maintenance Cycle Steps

Figure below shows the Maintenance Cycle workflow. All steps are described one by one in next sections. Mostly, steps in this procedure are the same of correspondent steps in Release Cycle. In this case a reference to the correspondent step section is provided. In case steps differs, a most detailed description is provided.

Maintenance cycle.png


Preparing the Maintenance Cycle (RMan)

RMan follows same steps as in [Major/Minor Release Cycle procedure|Release Cycle]] (see section Preparing the Release Cycle)

Additionally, RMan must forward ticket that triggered the Maintenance Cycle to Dev


Fixing defects (Dev)

The ticket is received by Dev, who:

  • switches to the correct 'Maintenance Branch' in SVN (e.g. branches/org.gcube.1-1). This branch already contains the latest version running in production.
  • fixes the defects on the Maintenance Branch and port them the Trunk/HEAD if applicable


Delivering Components (Dev)

In this step Dev deliveries the "patched" component. This step is the same described in Delivering Components section of Release Cycle procedure


Release of a new ESC (SMan)

Also the fixed component's parent needs to be update. Procedure followed by SMan is the same described in Delivering Subsystems with an addition: the release tickets should include also a reference to the production_support ticket that triggered the Maintenance Cycle


Integration and Testing (RMan, TTeam)

The phase of integration and testing of EPC is conducted in the same way described in following steps of Release Cycle procedure:

Above steps are collapsed here in one section just for convenience' sake; actually they are executed in the same sequence and with the same transitions as in Release Cycle


Maintenance Cycle closure

Maintenance Cycle closure procedure is exactly the same as in Release Cycle procedure.