You can translate the question and the replies:

How to run a vcs pull of a database through code

We have set up our denodo solution such that it is connecting to a gitlab repo. We have defined a ci/cd process that takes the files from the development gitlab repo and pushes them into uat gitlab repo. We would like to run a VCS pull command on all databases at the end of the ci/cd process. How would i do this? Is there any rest api i can use to execute a vcs pull?
user
29-03-2023 05:43:05 -0400
code

2 Answers

Greetings, Hope you are doing well. The supported GIT operations such as push, pull and revert are executed at the database level. Apart from that, are Global elements (e.g. jar extensions and i18n maps) which can be enabled in version control systems, and are only managed at server level. For more information, you could check the following documentations about supported [element types](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/version_control_systems_integration/vcs_integration_features/supported_element_types) and [GIT operations](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/version_control_systems_integration/vcs_integration_features/vcs_operations_for_git). For more details, kindly refer to the following answer, relating to [CICD process with Version Control (GIT)](https://community.denodo.com/answers/question/details?questionId=9064u000000wk90AAA&titleBuild%20and%20release%20process%20for%20denodo%20/%20CICD%20process%20for%20denodo). Moreover, regarding specific VQL command statements that can be used to work with GIT/GIT based systems, you could use the [following](https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/version_control_systems_integration_commands/statements_to_work_with_git/statements_to_work_with_git). Although we encourage using the Administration Tool and the Design Studio to perform VCS operations instead of using them manually or through CI/CD processes. Hope this helps!
Denodo Team
05-04-2023 05:56:56 -0400
code
Thanks for the help. Will come back when we have incorporated the DVCSPULL command.
user
05-04-2023 07:06:49 -0400
You must sign in to add an answer. If you do not have an account, you can register here