Start a new topic
Answered

Automatic Deployment

Are there any options for automatic deployments of model from Dev to higher environments? 

Any best practices or sample documentations would help. 


Thanks

Vinoth


Best Answer

Hi!

In our Semarchy xDM projects we have utilized the following model deployment pipeline on a high level:


1. Export the model from source environment eg. Dev

2. Commit and push the Dev model xml file into Version Control repository eg. GIT to a target environment folder with change documentation

3. After that an Azure DevOps pipeline will be initiated automatically and start the approval process

4. After approval Azure DevOps will deploy the model XML file from version control into the target environment eg. QA automatically by using the Semarchy built-in import-replace and deployment APIs 


Of course a prequisite for exactly same kind of process is that you are using Azure DevOps but I'm sure similar processes are possible with other CI/CD tools as well. The main point is that by utilizing the built-in Semarchy APIs you are able to automate the deployment process quite nicely. And if you are having custom database objects you could have a similar pipeline for them as well.


Best regards,

Juhani Saarinen



Obviously yes !!

you can use REST API endpoints to handle that.

Check here :  Model and Application Management with REST

 

Answer

Hi!

In our Semarchy xDM projects we have utilized the following model deployment pipeline on a high level:


1. Export the model from source environment eg. Dev

2. Commit and push the Dev model xml file into Version Control repository eg. GIT to a target environment folder with change documentation

3. After that an Azure DevOps pipeline will be initiated automatically and start the approval process

4. After approval Azure DevOps will deploy the model XML file from version control into the target environment eg. QA automatically by using the Semarchy built-in import-replace and deployment APIs 


Of course a prequisite for exactly same kind of process is that you are using Azure DevOps but I'm sure similar processes are possible with other CI/CD tools as well. The main point is that by utilizing the built-in Semarchy APIs you are able to automate the deployment process quite nicely. And if you are having custom database objects you could have a similar pipeline for them as well.


Best regards,

Juhani Saarinen



1 person likes this

That's great! 
Thank you Aymen and Juhani.

Login to post a comment