-
Notifications
You must be signed in to change notification settings - Fork 0
Continuous Deployement
The main technologies used to achieve continuous deployment are:
Using these four together I can automatically test the app at different stages, on multiple browsers, and get it deployed.
The diagram show that tests are run at each stage. The fast tests are run sooner, leaving the slower tests until later in the process.
Although locally we run the tests using only a single browser or PhantomJS, remotely we use BrowserStack to ensure that all browsers are covered.
We are also utilising Heroku to test the deployed code on pre-prod
.
This step is massively important and once on pre-prod, the code and app looks exactly the same as it would do on prod.
When we run our ent-to-end tests against pre-prod using all important browsers we know the site will work.
Once everything is green we get CircleCI to automatically to push to Prod where we run a smaller set of end-to-end tests called Smoke tests.
This is a final check to ensure that Prod is up and running.
It is not meant to test any more functionality as we should have ran all our tests by now.