Deploy operation for develop environment to homologation and production servers
Deployment to production environments of code and databases are complicated tasks to carry on using standard oerpenv operations. There is a growing need to facilitate the deployment of openerp databases and module code to different environments: debug, homologation and production.
Deploy is a targeted operation: development environment to homologation environment, and homologation environment to production environment.
Each deploy operation must have a set of validations to commit the deployment operations. For example:
from develop to homologation -> Unit test and functional test related to changed modules.
from homologation to production -> Unit test and functional test of all modules.
The undeploy operation is the inverse operation of deploy and all operations have the same target environment: development.
Undeploy operation does not need validation, but could need to be updated from original repository of sources.
Requirements:
1) All develop sources must be in control version systems.
2) Two types of tests. Empty database and production database with bugs present. It is really different to develop for a not implemented system than developing for a production system. Tests are different. The latter must use complex data to test production bugs. Some times this complex data are in the source database, and is really complex to develop a simple test to check it.
3) Use different repositories for different implementation.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Essential
- Drafter:
- Cristian Sebastian Rocha
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Drafting
- Series goal:
- Accepted for trunk
- Implementation:
- Unknown
- Milestone target:
- deploy.2013
- Started by
- Completed by