PHP Release Management Process – Release to Production Environment Sub-Processes

<-Previous || RM Table of Content || Next->

Release to Production Environment Sub-Processes

Release to Production environment can be done by collaboration between release managers (and scheduling group when needed). The following lists sub-processes and details that will be applied differently in different roles:

Create a Tag

  1. Login stash.uconn.edu using NetID and password.
  2. Open the page of aim repository. The Source window shows up
  3. Click the Tag link on the left side
  4. Find the most recent tag for Test release associated with the specific Jira ticket number from the email notification to get the Production tag number (see the Administrative Notes)
  5. Note down the commit ID associated with the Jira ticket number.
  6. In SourceTree, check out master branch, right click the commit (in Mac OS X, do Ctrl-Click) in test branch, and select Cherry Pick. Hit OK button in the Confirm Cherry Pick dialog that follows.
    • Note: If there are multiple commits for the same Jira ticket since the last commit to master branch, cherry pick all of them in the same order to master branch.
  7. Hit Push button on the toolbar to push the changes to remote master branch
  8. Go to stash.uconn.edu, click the Commits link on the left. Make sure you are on master (if not change to it). Find the commit ID that has just picked there and click its link.
    • Note that if there are multiple commits (multiple commits of the same Jira ticket or multiple Jira tickets), you can include them in 1 tag by tagging the latest commit, and provide information of them in the description when creating a tag (e.g. AIM-147, 157, 199)
  9. Click Tag this commit. In the Create tag dialog, provide the tag name, and the description as shown below. Click create tag button.

Create a Change Order (in FootPrints ticketing system)

  1. Go to FootPrints at serviceit.uconn.edu. Log in using NetId and password.
  2. Click the dropdown at the top left corner and switch to the Change Management workspace
  3. Hover the mouse on New RFC menu, select PHP Application Code
    fpnewco
  4. Fill in the ticket with as shown in the example below in (note that the NetId, First/Last Names, Email Address are censored out). Assign the ticket to Functional Approver (Lara), and change the status to Submitted. Click Save button to save the ticket (which is then sent to get the approval)
  5. A typical description would be:
    Group Name: IWMS
    
    Application Name: AiM
    
    Release Management (Release Managers or Scheduling Dept):
    
    Server Name: http://aim.uconn.edu:8090
    
    Tag Name: aim__v27.01

Production Release

  1. Go to aim.uconn.edu:8090. Login using NetId and password
    rmadminprod
  2. Click the Release-Manager role link, enter the tag name, and click Review Change button.
  3. Click the Apply Change button to release code to the Test environment
  4. Check if the message shows that the release has been successfully checked out

Jira Ticket Update

  1. Go to Jira, and type the url to the ticket, in the form
    https://jira.uits.uconn.edu/browse/AIM-xxx
    For example, if the ticket is AIM-151, the link is
    https://jira.uits.uconn.edu/browse/AIM-151
  2. Click the Edit button on the top left corner to edit the ticket, change the Assignee drop-down value to the developer, and provide a comment in the Comment text area (e.g. “In Prod now”). Click the Update button to save the change. The developer receives the notification that the changes are released to Production.