-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathPipelinesConfig.cs
More file actions
290 lines (287 loc) · 17.6 KB
/
PipelinesConfig.cs
File metadata and controls
290 lines (287 loc) · 17.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
namespace SIM.Pipelines
{
public static class PipelinesConfig
{
public const string Contents = @"<pipelines>
<installSolr title=""Installing the solr"">
<step>
<hive type=""SIM.Pipelines.Install.RunPSTasksProcessor, SIM.Pipelines"" />
</step>
</installSolr>
<reinstall9 title=""Reinstalling the instance"">
<step>
<hive type=""SIM.Pipelines.Install.RunPSTasksProcessor, SIM.Pipelines"" param=""uninstall"" />
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.Reinstall9SwitchMode, SIM.Pipelines"" title=""Switch mode to install"" />
</step>
<step>
<hive type=""SIM.Pipelines.Install.RunPSTasksProcessor, SIM.Pipelines"" param=""install"" />
</step>
</reinstall9>
<installContainer title=""Deploying new container environment"">
<step>
<processor type=""SIM.Pipelines.Install.Containers.InstallDockerToolsProcessor, SIM.Pipelines"" title=""Install 'SitecoreDockerTools' ps module""/>
<processor type=""SIM.Pipelines.Install.Containers.CopyFilesToDestination, SIM.Pipelines"" title=""Copy files to destination folder""/>
</step>
<step>
<processor type=""SIM.Pipelines.Install.Containers.ConvertLicenseProcessor, SIM.Pipelines"" title=""Convert sitecore license""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateIdEnvValuesProcessor, SIM.Pipelines"" title=""Generate 'SITECORE_ID*' .env values""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateSqlAdminPasswordProcessor, SIM.Pipelines"" title=""Generate 'SQL_SA_PASSWORD' .env value""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateTelerikKeyProcessor, SIM.Pipelines"" title=""Generate 'TELERIK_ENCRYPTION_KEY' .env value""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateReportingApiKeyProcessor, SIM.Pipelines"" title=""Generate 'REPORTING_API_KEY' .env value""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateCertificatesProcessor, SIM.Pipelines"" title=""Generate certificates""/>
<processor type=""SIM.Pipelines.Install.Containers.AddHostsProcessor, SIM.Pipelines"" title=""Update hosts file""/>
</step>
<step>
<processor type=""SIM.Pipelines.Install.Containers.WriteEnvFileProcessor, SIM.Pipelines"" title=""Write .env file""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateModulesData, SIM.Pipelines"" title=""Add module(s) data""/>
<processor type=""SIM.Pipelines.Install.Containers.GenerateEnvironmentData, SIM.Pipelines"" title=""Add Sitecore environment data""/>
</step>
<step>
<processor type=""SIM.Pipelines.Install.Containers.RunDockerBuildProcessor, SIM.Pipelines"" title=""Run the docker compose build command""/>
</step>
<step>
<processor type=""SIM.Pipelines.Install.Containers.RunDockerUpProcessor, SIM.Pipelines"" title=""Run the docker compose up command""/>
</step>
</installContainer>
<deleteContainer title=""Uninstalling container environment"">
<step>
<processor type=""SIM.Pipelines.Delete.Containers.RemoveFromDocker, SIM.Pipelines"" title=""Remove environment from Docker""/>
</step>
<step>
<processor type=""SIM.Pipelines.Delete.Containers.RemoveHostsProcessor, SIM.Pipelines"" title=""Update hosts file""/>
</step>
<step>
<processor type=""SIM.Pipelines.Delete.Containers.RemoveEnvironmentFolder, SIM.Pipelines"" title=""Remove environment folder""/>
</step>
<step>
<processor type=""SIM.Pipelines.Delete.Containers.CleanupEnvironmentData, SIM.Pipelines"" title=""Cleanup environment data""/>
</step>
</deleteContainer>
<reinstallContainer title=""Reinstalling container environment"">
<step>
<processor type=""SIM.Pipelines.Reinstall.Containers.RemoveFromDockerProcessor, SIM.Pipelines"" title=""Remove environment from docker""/>
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.Containers.CleanupSolrDataProcessor, SIM.Pipelines"" title=""Remove Solr data""/>
<processor type=""SIM.Pipelines.Reinstall.Containers.CleanupSqlDataProcessor, SIM.Pipelines"" title=""Remove SQL data""/>
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.Containers.RunDockerUpProcessor, SIM.Pipelines"" title=""Run the docker compose up command""/>
</step>
</reinstallContainer>
<install9 title=""Installing the instance"">
<step>
<processor type=""SIM.Pipelines.Install.GenerateUnInstallParameters, SIM.Pipelines"" title=""Generate Uninstall data"" />
<processor type=""SIM.Pipelines.Install.GenerateSitecoreEnvironmentData, SIM.Pipelines"" title=""Generate Sitecore environment data"" />
<hive type=""SIM.Pipelines.Install.RunPSTasksProcessor, SIM.Pipelines"" />
</step>
</install9>
<delete9 title=""UnInstalling the instance"">
<step>
<hive type=""SIM.Pipelines.Install.RunPSTasksProcessor, SIM.Pipelines"" param=""uninstall"" />
</step>
<step>
<processor type=""SIM.Pipelines.Delete.CleanUp, SIM.Pipelines"" title=""Clean Up"" />
</step>
<step>
<processor type=""SIM.Pipelines.Delete.DeleteSitecoreEnvironmentData, SIM.Pipelines"" title=""Delete Sitecore environment data"" />
</step>
</delete9>
<multipleDeletion9 title=""Multiple deletion Sitecore 9 and later"">
<step>
<processor type=""SIM.Pipelines.MultipleDeletion.MultipleDeletion9, SIM.Pipelines""
title=""Deleting the selected Sitecore environments"" />
</step>
</multipleDeletion9>
<install title=""Installing the {InstanceName} instance"">
<step>
<processor type=""SIM.Pipelines.Install.CheckPackageIntegrity, SIM.Pipelines"" title=""Validating install package"" />
</step>
<step>
<processor type=""SIM.Pipelines.Install.GrantPermissions, SIM.Pipelines"" title=""Granting permissions"" />
<processor type=""SIM.Pipelines.Install.Extract, SIM.Pipelines"" title=""Extracting files"">
<processor type=""SIM.Pipelines.Install.CopyLicense, SIM.Pipelines"" title=""Copying license"" />
<processor type=""SIM.Pipelines.Install.SetupWebsite, SIM.Pipelines"" title=""Configuring IIS website"" />
<processor type=""SIM.Pipelines.Install.UpdateWebConfig, SIM.Pipelines"" title=""Setting data folder"" />
<processor type=""SIM.Pipelines.Install.AddServerTxt, SIM.Pipelines"" title=""Adding server.txt file"" />
</processor>
<processor type=""SIM.Pipelines.Install.UpdateHosts, SIM.Pipelines"" title=""Updating hosts file"" />
<processor type=""SIM.Pipelines.Install.InstallRoles, SIM.Pipelines"" title=""Installing configuration roles"" />
</step>
<step>
<processor type=""SIM.Pipelines.Install.AttachDatabases, SIM.Pipelines"" title=""Attaching databases"" />
</step>
<step>
<processor type=""SIM.Pipelines.Install.Modules.InstallActions, SIM.Pipelines"" param=""archive""
title=""Modules: installing archive-based modules"" />
<processor type=""SIM.Pipelines.Install.Modules.CopyAgentFiles, SIM.Pipelines""
title=""Modules: copying agent files"">
<processor type=""SIM.Pipelines.Install.Modules.CopyPackages, SIM.Pipelines"" title=""Modules: copying packages"">
<processor type=""SIM.Pipelines.Install.Modules.InstallActions, SIM.Pipelines"" param=""package|before""
title=""Modules: performing pre-install actions"">
<processor type=""SIM.Pipelines.Install.Modules.StartInstance, SIM.Pipelines""
title=""Modules: starting instance"">
<processor type=""SIM.Pipelines.Install.Modules.InstallPackages, SIM.Pipelines""
title=""Modules: installing packages"">
<processor type=""SIM.Pipelines.Install.Modules.StartInstance, SIM.Pipelines""
title=""Modules: starting instance (again)"">
<processor type=""SIM.Pipelines.Install.Modules.PerformPostStepActions, SIM.Pipelines""
title=""Modules: performing post-step actions"">
<processor type=""SIM.Pipelines.Install.Modules.InstallActions, SIM.Pipelines""
param=""package|after"" title=""Modules: performing post-install actions"">
<processor type=""SIM.Pipelines.Install.Modules.DeleteAgentPages, SIM.Pipelines""
title=""Modules: agent files"" />
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</step>
<step>
<processor type=""SIM.Pipelines.Install.Modules.StartInstance, SIM.Pipelines""
title=""Starting instance"" param=""nowait"" />
</step>
</install>
<multipleDeletion title=""Multiple deletion Sitecore 8 and earlier"">
<step>
<processor type=""SIM.Pipelines.MultipleDeletion.MultipleDeletion, SIM.Pipelines""
title=""Deleting the selected instances"" />
</step>
</multipleDeletion>
<delete title=""Deleting the {InstanceName} instance"">
<step>
<processor type=""SIM.Pipelines.Delete.InitializeArgs, SIM.Pipelines"" title=""Initializing arguments"" />
</step>
<step>
<processor type=""SIM.Pipelines.Delete.DeleteRegistryKey, SIM.Pipelines"" title=""Deleting registry key"" />
<processor type=""SIM.Pipelines.Delete.StopInstance, SIM.Pipelines"" title=""Stopping application"" />
<processor type=""SIM.Pipelines.Delete.DeleteDataFolder, SIM.Pipelines"" title=""Deleting data folder"" />
<processor type=""SIM.Pipelines.Delete.DeleteDatabases, SIM.Pipelines"" title=""Deleting databases"" />
<processor type=""SIM.Pipelines.Delete.DeleteMongoDatabases, SIM.Pipelines"" title=""Deleting databases"" />
<processor type=""SIM.Pipelines.Delete.DeleteWebsiteFolder, SIM.Pipelines"" title=""Deleting website folder"" />
</step>
<step>
<processor type=""SIM.Pipelines.Delete.DeleteRootFolder, SIM.Pipelines"" title=""Deleting root folder"" />
</step>
<step>
<processor type=""SIM.Pipelines.Delete.DeleteWebsite, SIM.Pipelines"" title=""Deleting website"" />
<processor type=""SIM.Pipelines.Delete.UpdateHosts, SIM.Pipelines"" title=""Updating the hosts file"" />
</step>
</delete>
<reinstall title=""Reinstalling the {InstanceName} instance"">
<step>
<processor type=""SIM.Pipelines.Reinstall.CheckPackageIntegrity, SIM.Pipelines"" title=""Validating package"" />
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.StopInstance, SIM.Pipelines"" title=""Stopping application"" />
<processor type=""SIM.Pipelines.Reinstall.DeleteDataFolder, SIM.Pipelines"" title=""Deleting data folder"" />
<processor type=""SIM.Pipelines.Reinstall.DeleteDatabases, SIM.Pipelines"" title=""Deleting databases"" />
<processor type=""SIM.Pipelines.Reinstall.DeleteWebsite, SIM.Pipelines"" title=""Deleting IIS website"" />
<processor type=""SIM.Pipelines.Reinstall.DeleteWebsiteFolder, SIM.Pipelines"" title=""Deleting website folder"" />
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.DeleteRootFolder, SIM.Pipelines"" title=""Recreating root folder"" />
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.Extract, SIM.Pipelines"" title=""Extracting files"">
<processor type=""SIM.Pipelines.Reinstall.CopyLicense, SIM.Pipelines"" title=""Copying license"" />
<processor type=""SIM.Pipelines.Reinstall.SetupWebsite, SIM.Pipelines"" title=""Configuring IIS website"" />
<processor type=""SIM.Pipelines.Reinstall.UpdateWebConfig, SIM.Pipelines"" title=""Setting the data folder"" />
<processor type=""SIM.Pipelines.Reinstall.AddServerTxt, SIM.Pipelines"" title=""Adding server.txt file"" />
<processor type=""SIM.Pipelines.Reinstall.DeleteTempFolder, SIM.Pipelines"" title=""Collecting garbage"" />
</processor>
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.AttachDatabases, SIM.Pipelines"" title=""Attaching databases"" />
</step>
<step>
<processor type=""SIM.Pipelines.Reinstall.StartInstance, SIM.Pipelines"" title=""Starting instance"" param=""nowait"" />
</step>
</reinstall>
<installmodules title=""Installing modules to the {InstanceName} instance"">
<processor type=""SIM.Pipelines.InstallModules.InstallActions, SIM.Pipelines"" param=""archive""
title=""Installing archive-based modules"" />
<processor type=""SIM.Pipelines.InstallModules.CopyAgentFiles, SIM.Pipelines"" title=""Copying agent files"">
<processor type=""SIM.Pipelines.InstallModules.CopyPackages, SIM.Pipelines""
title=""Copying packages into Website folder"">
<processor type=""SIM.Pipelines.InstallModules.InstallActions, SIM.Pipelines"" param=""package|before""
title=""Performing pre-install actions"">
<processor type=""SIM.Pipelines.InstallModules.StartInstance, SIM.Pipelines"" title=""Starting the instance"">
<processor type=""SIM.Pipelines.InstallModules.InstallPackages, SIM.Pipelines""
title=""Installing the packages"">
<processor type=""SIM.Pipelines.InstallModules.StartInstance, SIM.Pipelines""
title=""Starting the instance (again)"">
<processor type=""SIM.Pipelines.InstallModules.PerformPostStepActions, SIM.Pipelines""
title=""Performing post-step actions"">
<processor type=""SIM.Pipelines.InstallModules.InstallActions, SIM.Pipelines"" param=""package|after""
title=""Performing post-install actions"">
<processor type=""SIM.Pipelines.InstallModules.DeleteAgentPages, SIM.Pipelines""
title=""Deleting agent files"">
<processor type=""SIM.Pipelines.InstallModules.StartInstance, SIM.Pipelines""
title=""Starting instance"" param=""nowait"" />
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</processor>
</installmodules>
<installSearchIndexes title=""Installing search indexes on the {InstanceName} instance"" >
<processor type=""SIM.Pipelines.InstallSearchIndexes.CreateIndexDirectoryAction, SIM.Pipelines"" title=""Creating index directories"" />
<processor type=""SIM.Pipelines.InstallSearchIndexes.UpdateManagedSchemaAction, SIM.Pipelines"" title=""Updating managed schema files"" />
<processor type=""SIM.Pipelines.InstallSearchIndexes.CreateSolrCoreAction, SIM.Pipelines"" title=""Creating Solr cores"" />
<processor type=""SIM.Pipelines.InstallSearchIndexes.PopulateNewIndexAction, SIM.Pipelines"" title=""Populating created indexes"" />
</installSearchIndexes>
<backup title=""Backing up the {InstanceName} instance"">
<processor type=""SIM.Pipelines.Backup.BackupDatabases, SIM.Pipelines"" title=""Backing up databases"" />
<processor type=""SIM.Pipelines.Backup.BackupMongoDatabases, SIM.Pipelines"" title=""Backing up MongoDB databases"" />
<processor type=""SIM.Pipelines.Backup.BackupFiles, SIM.Pipelines"" title=""Backing up files"" />
</backup>
<restore title=""Restoring the {InstanceName} instance"">
<processor type=""SIM.Pipelines.Restore.RestoreDatabases, SIM.Pipelines"" title=""Restoring databases"" />
<processor type=""SIM.Pipelines.Restore.RestoreMongoDatabases, SIM.Pipelines"" title=""Restoring MongoDB databases"" />
<processor type=""SIM.Pipelines.Restore.DeleteFiles, SIM.Pipelines"" title=""Deleting files"">
<processor type=""SIM.Pipelines.Restore.RestoreFiles, SIM.Pipelines"" title=""Restoring files"" />
</processor>
</restore>
<export title=""Exporting the {InstanceName} instance"">
<step>
<processor type=""SIM.Pipelines.Export.ExportDatabases, SIM.Pipelines"" title=""Exporting databases"" />
<processor type=""SIM.Pipelines.Export.ExportMongoDatabases, SIM.Pipelines"" title=""Exporting MongoDB databases"" />
</step>
<step>
<processor type=""SIM.Pipelines.Export.ExportFiles, SIM.Pipelines"" title=""Exporting files"" />
</step>
<step>
<processor type=""SIM.Pipelines.Export.ExportSettings, SIM.Pipelines"" title=""Exporting settings"" />
</step>
<step>
<processor type=""SIM.Pipelines.Export.ExportPostActions, SIM.Pipelines"" title=""Assembling zip package"" />
</step>
</export>
<import title=""Importing instance"">
<processor type=""SIM.Pipelines.Import.ImportInitialization, SIM.Pipelines"" title=""Initialization"">
<processor type=""SIM.Pipelines.Import.ImportRestoreDatabases, SIM.Pipelines"" title=""Restore databases"" />
<processor type=""SIM.Pipelines.Import.ImportRestoreMongoDatabases, SIM.Pipelines""
title=""Restore MongoDB databases"" />
<processor type=""SIM.Pipelines.Import.ImportUnpackSolution, SIM.Pipelines"" title=""Unpack solution"">
<processor type=""SIM.Pipelines.Import.UpdateConnectionStrings, SIM.Pipelines""
title=""Update connection strings"" />
<processor type=""SIM.Pipelines.Import.UpdateDataFolder, SIM.Pipelines"" title=""Update data folder"" />
<processor type=""SIM.Pipelines.Import.UpdateLicense, SIM.Pipelines"" title=""Update license"" />
</processor>
<processor type=""SIM.Pipelines.Import.ImportRegisterWebsite, SIM.Pipelines"" title=""Update IIS metabase"" />
<processor type=""SIM.Pipelines.Import.ImportHostNames, SIM.Pipelines"" title=""Update hosts file"" />
</processor>
</import>
</pipelines>";
}
}