This HowTo should apply to all environments, with the proviso that added steps are needed for production.
- Begin at the tcog (Bamboo dashboard)[http://bamboo.news.com.au/browse/NEWSTECH-TCOG].
- In the top left of the screen, select the branch you wish to build from the dropdown.
- You will now see the build history. Bamboo automatically builds each branch but let's create a new build.
- In the top right hand corner, choose Run, then 'branch'. You will notice that your branch's build is assigned a build number.
- On the right hand side of the build screen you will see a 'Create release' button. Click it.
- The 'Create new release' screen will let you create a release from a build. Click 'Create release'.
- After creating a release, a list of environments will be presented. The far right hand side has a deploy option under Actions. Click it (the upward arrow icon).
- The next screen will ask you to confirm your selection.
When deploying to production you will have the added step of
- deploying then 'kicking the tires' of the new build.
- switching over the DNS on Route 53.
- Using the ip address of a newly deployed ec2 instance, ensure that the homepage will load.
- Ensure