Author Topic: Using Devops to move models between PCS environments  (Read 6998 times)

gbolton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Using Devops to move models between PCS environments
« on: December 31, 2020, 05:58:56 am »
We have 2 Procloud environments.  Our current process is we export an XMI for the model from our test environment and import it into a production environment.  We also capture it in Github.  The model is so big (about 5000 elements) that I have to do multiple  exports and imports to synch the two up.  Has anyone implemented devops capabilities to handle the migration between Procloud repositories?  Any suggestions or lessons learned? 

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13241
  • Karma: +554/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Using Devops to move models between PCS environments
« Reply #1 on: December 31, 2020, 04:56:46 pm »
If you want to move the whole model to your production environment then a simple backup/restore on the database level should do.
That is usually a process that takes less than 10 minutes.

If it's only a part of the model, you better look into integrating with version control.
Make sure to control the smallest units possible (e.g. every single package becomes a separate xmi file)

We have such a setup using an Azure Devops TFS repository. (you can't use Github as it doesn't support exclusive locks)

Another alternative is Reusable Assets.

Geert

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1351
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Using Devops to move models between PCS environments
« Reply #2 on: January 05, 2021, 03:06:42 am »
Another option is to use the Native XML Project Transfer export/import.
I don't think this is yet available via EA API so it involves user actions via EA.
It generates XML files for each EA table that can be copied to your production server and lets you run the import.

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com