I will start by describing our pipeline :
- Each of the developers works on their own database and synchronization between the developers is done through the CI module (we synchronize everything this way).
-
From there, we are automatically deploying a subset of objects with the CI module in an integration environment called "dev". This is NOT the production. Here is the list of what we are synchronizing this way :
<IncludedObjectTypes>
<!-- System object types -->
<ObjectType>cms.acl</ObjectType>
<ObjectType>cms.resource</ObjectType>
<ObjectType>cms.role</ObjectType>
<ObjectType>cms.settingscategory</ObjectType>
<ObjectType>cms.systemtable</ObjectType>
<ObjectType>cms.workflow</ObjectType>
<ObjectType>cms.workflowaction</ObjectType>
<!-- Page types -->
<ObjectType>cms.documenttype</ObjectType>
<!-- Localizations -->
<ObjectType>cms.resourcestring</ObjectType>
<ObjectType>cms.resourcetranslation</ObjectType>
</IncludedObjectTypes>
-
Other changes are either manually done on the integration environment or deployed through the staging module.
- From this integration environment, we deploy in QA, UAT and Production through the staging module. We are not running the CI in those environments.
From what I understand, we are doing what is recommended in the documentation.
There are no mentions about the objects in the CI repository and the staging tasks are created anyway?
No, these are specified in the repository.config file (see higher). The issue is that staging tasks are created even if the objects didn't change. I feel like it's more an issue with the CI module than the staging module since it take a good 30 minutes for the CI to run and it logs a ton of updates (about 17 000) here is a short sample :
2020-09-17T07:02:17.5438439Z Continuous Integration Console
2020-09-17T07:02:17.5439224Z Kentico Software
2020-09-17T07:02:23.6723541Z Restoring objects...
2020-09-17T07:02:24.2773575Z Object type Module: updating Image Optimizer
2020-09-17T07:02:25.5649070Z Object type Module: Image Optimizer updated
2020-09-17T07:02:25.5844680Z Object type Module: updating A/B testing
2020-09-17T07:02:25.6098629Z Object type Module: A/B testing updated
2020-09-17T07:02:25.6513514Z Object type Module: updating Abuse report
2020-09-17T07:02:25.6758173Z Object type Module: Abuse report updated
2020-09-17T07:02:25.6949142Z Object type Module: updating Activities
2020-09-17T07:02:25.7352857Z Object type Module: Activities updated
2020-09-17T07:02:25.7540123Z Object type Module: updating Badges
2020-09-17T07:02:25.8549762Z Object type Module: Badges updated
2020-09-17T07:02:25.9200949Z Object type Module: updating Bad words
2020-09-17T07:02:26.0113746Z Object type Module: Bad words updated
2020-09-17T07:02:26.0425876Z Object type Module: updating Banned IPs
2020-09-17T07:02:26.1156327Z Object type Module: Banned IPs updated
2020-09-17T07:02:26.1554191Z Object type Module: updating Banner management
2020-09-17T07:02:26.1973881Z Object type Module: Banner management updated
2020-09-17T07:02:26.2186611Z Object type Module: updating Blogs
2020-09-17T07:02:26.2587215Z Object type Module: Blogs updated
2020-09-17T07:02:26.2784610Z Object type Module: updating Categories
2020-09-17T07:02:26.3021205Z Object type Module: Categories updated
2020-09-17T07:02:26.3211368Z Object type Module: updating Chat
2020-09-17T07:02:26.3451074Z Object type Module: Chat updated
2020-09-17T07:02:26.3650034Z Object type Module: updating Community
2020-09-17T07:02:26.3892838Z Object type Module: Community updated
2020-09-17T07:02:26.4093478Z Object type Module: updating Contact management
2020-09-17T07:02:26.5145206Z Object type Module: Contact management updated
2020-09-17T07:02:26.5335841Z Object type Module: updating Content
2020-09-17T07:02:26.5656365Z Object type Module: Content updated
[SNIP]
None of those objects should have changed in months (and there are no traces of changes in the CI files in the source control).