-
Notifications
You must be signed in to change notification settings - Fork 66
Deployment Pipeline Notes
https://www.petsworkforce.com --> master branch
(production data) (production settings) (production mode)
https://staging.petsworkforce.com ---> staging branch
(production-like data) (production-like settings) (production mode)
https://develop.petsworkforce.com ---> development branch
(random data on it) (random settings) (production mode)
localhost:3000 ---> development branch or feature/bugfix branch
(random data on it) (random settings) (development mode)
Continuous Integration --> automated running of the tests Automated Deployment --> tests pass then deployment Continuous Delivery/Deployment --> pass things about the pipeline automatically
API - Application Programming Interface (programmatic rather than UI)
codebase architecture (e.g. Rails MVC)
DIFFERENT OPERATIONS
- check out latest version of develop 1a) copy to a fork
- write tests
- make changes
- get it all working
- submit pull request to development branch
- review from PM and peers
- gets merged in
- test will rerun
- deployed to the development server
- manual checks
- rebase develop into staging
- kick of a test run on the staging branch
- if passes goes to staging
- manual test
- production deploy
- error on production
- rollback production to previous release
- analysis
- tweak the staging settings and data to replicate the error on staging
- analysing locally - ultimately deploy fixes to staging
- once fixed, do the production deploy again
the right certificates in the right place
- certificates are free
- challenge has to be responded to (string has to be delivered to an endpoint, verification returned) --> https will then working --> has to be responded to from the machine in question