Table of Contents |
---|
Overview
As a database script developer, once you have reached a stable state with your .sql scripts, you will check them in your company Source Code Management system (SCM) like TFS, SVN, Git Stash, BitBucket, ...
Once those scripts are checked in the SCM, a job to package them and deploy them in the REF Database will be started automatically (CI) or manually manually.
As part of this job the following actions will happen:
- Checkout the SQL code from the appropriate branch
- Checkout the DaticalDB project from the main branch
- Run the deployer through the Command Line Interface (CLI) "hammer groovy deployPackager.groovy", this will includes:
- Create an artifact ( comprised of the DaticalDB project directory)
- After the artifact has been created, the process will be the same in each environment:
- download the artifact
- run the CLI to do a forecast
- run the CLI to execute the deployment itself