<-Previous || RM Table of Content || Next->
Release to Production Environment Sub-Processes
Release to Production environment is proceeded by release managers (primary and back-up RMs, Cuong/Ruben). In the case release managers are unavailable, the developer in charge sends a request to the Server group (Mitch), with the attached war. A Jira ticket number must be ready for updating the associated changes. The following lists sub-processes and details:
Create a remote Tag
- Login stash.uconn.edu using NetID and password.
- Open the page of AiMIntegrationBrokerWS repository in the AiMIntegrationBrokerWS project
- Click the Tags link on the left of the page
- Note down the next Production tag number (see the Administrative Notes)
- Click the Commits link on the left. Switch to master branch if it isn’t. Find the commit that is going to be released. Click its link.
- Click the Tag this commit link on the right
- Provide the tag name, and the Jira ticket number in the description as shown below. Click create tag button.
Pull the Tag to local
- In SourceTree, check out master branch
- Click Pull button, select master branch
- Click OK button to pull changes from master and tags to local
- Double click the selected tag to check it out. Click the OK button on the confirm dialog
- Find the war file in the local project directory, usually in the dist directory, note the location for deployment later
Deploy the tag war file to Tomcat server
- Copy the war file to /var/lib/tomcat8/webapps on thebroker.uconn.edu server via SSH
- Change ownership from user NETID to tomcat using sudo chown tomcat /var/lib/tomcat8/webapps/xxx.war, enter NETID password as necessary
- Restart Tomcat using sudo /usr/sbin/service tomcat8 restart, enter NETID password as necessary
- Make sure the active Tomcat status after restart using sudo /usr/sbin/service tomcat8 status, enter NETID password as necessary
- Make sure the war file is expanded to the same-named directory
Update JIRA Ticket
- Go to Jira, and type the url to the ticket, in the form
https://jira.uits.uconn.edu/browse/THEBROKER-xxx
For example, if the ticket is THEBROKER-1, the link is
https://jira.uits.uconn.edu/browse/THEBROKER-1 - Click the Edit button on the top left corner to edit the ticket, change the Assignee dropdown value to the developer, and provide a comment in the Comment text area (e.g. “In Prod now”)