we have facing issue in git commit

Darpan Patel asked on October 27, 2017 08:29

when we will be committed changes using GIT. those data is in CMS\App_Data\CIRepository folder that is not reflected on stagging so we have to implement webpart and pagetype again on stagging. only pages or physical files like (.aspx files) is uploaded. can you please suggest what is the mistake from our side?

we have also followed below url https://docs.kentico.com/k10/developing-websites/preparing-your-environment-for-team-development/setting-up-continuous-integration

Correct Answer

Zoltán Jalsovszky answered on October 27, 2017 10:18

There can be two reasons for this:

  • You did not restore the CI files back to the database
  • You are trying to synchronizes Page changes. When restoring content from the continuous integration repository on an instance with Staging enabled, the system does not log staging synchronization tasks for changes made to pages.
0 votesVote for this answer Unmark Correct answer

Recent Answers

Roman Hutnyk answered on October 27, 2017 09:56

CIRepository folder keeps all database objects serialized into XML. CI shouldn't be used for pushing changes from one environment to another - it is designed for syncing all the developers.

As you've mentioned you are able to push all the physical files to staging.

Web parts, templates, etc. are objects sitting in database, that's why they are not pushed along with physical files. I'd recommend configuring content staging to push content and/or any data that sits in DB between environments.

Export/Import is another option.

0 votesVote for this answer Mark as a Correct answer

Darpan Patel answered on October 27, 2017 14:26

when we have run below command for restore the CI files to the database.

ContinuousIntegration.exe -r

newly created page template and webpart, is deleted.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.