Deploy date: Bi-weekly on Tuesday night at 9pm EST.
All work/requests should follow the deployment process below. Deployments will happen on Tuesdays only unless a Hotfix for priority issue(s) arise. Please follow the steps listed below for local development and deployment:
Create branch from the jira ticket
Click on “Create branch” in the right panel of the Jira ticket
Click deploy beside development environment. This will trigger the code from the origin master branch to deploy to the development environment.
After successfully deploying with no errors, please thoroughly check the environment to ensure the code deployment was successful and nothing looks incorrect.
Once verified in development, you may now deploy to staging. Click deploy beside the staging environment. This will trigger the code from the origin master branch to deploy to the staging environment.
Repeat step 9
Once verified in staging, you may now deploy to production. Click deploy beside the production environment. This will trigger the code from the origin master branch to deploy to the production environment.
Once deployed, please thoroughly check the production environment for errors.
Within Jira, navigate to your deployment ticket.
Mark all deployed tickets listed within it as done.
Add a comment to the deployment ticket, notifying Kristin and San that the tickets have been deployed.
Create Jira Deployment ticket for next sprint
Click on “Create issue” within Jira
Project: UX and Dev (UD)
Issue Type: Development
Summary: site release/branch-name | Sprint deployment (xx/xx - xx/xx)
Type of issue: Site enhancement (may change to Site Enhancement in the future)
Description: “Release ticket for {site} {date} deployment” then list links to all tasks included in deployment
Stakeholder: list anyone that needs to know about tickets being deployed
Assignee: yourself
click create
Find the ticket in the backlog and move it into the current sprint
Create release branch directly from ticket (click “Create branch” on the right side panel). You’ll then be taken to bitbucket
Repository: Ensure you’re using the right site
Type: Release
From branch: master (must have green check mark)
Click create
Copy the command to check out your branch. It should start with “git fetch && git checkout <branch name>”
Within terminal, paste command. This creates the new branch locally.
Post Deployment Cleanup
After all deployments, please cleanup branches that have been merged and deployed to production. There is also a training video available of a post deployment cleanup.
To view all of your branches, types in “git branch”. The branch highlighted in green is the branch you’re currently on. Find all of the branches that were merged and up for deletion.
Delete unwanted branches from terminal on local environment