You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/groovy/com/cloudogu/gitops/config/ConfigConstants.groovy
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ interface ConfigConstants {
40
40
StringCONTENT_REPO_TEMPLATING_DESCRIPTION="When true, template all files ending in .ftl within the repo"
41
41
StringCONTENT_REPO_TYPE_DESCRIPTION="Content Repos can either be:\ncopied (only the files, starting on ref, starting at path within the repo. Requires target)\n, mirrored (FORCE pushes ref or the whole git repo if no ref set). Requires target, does not allow path and template.)\nfolderBased (folder structure is interpreted as repos. That is, root folder becomes namespace in SCM, sub folders become repository names in SCM, files are copied. Requires target.)"
42
42
StringCONTENT_REPO_TARGET_DESCRIPTION="Target repo for the repository in the for of namespace/name. Must contain one slash to separate namespace from name."
43
-
StringCONTENT_REPO_TARGET_OVERRIDE_MODE="This defines, how customer repos will be updated.\nINIT - push only if repo does not exist.\nRESET - delete all files after cloning source - files not in content are deleted\nUPGRADE - clone and copy - existing files will be overwritten, files not in content are kept"
43
+
StringCONTENT_REPO_TARGET_OVERWRITE_MODE="This defines, how customer repos will be updated.\nINIT - push only if repo does not exist.\nRESET - delete all files after cloning source - files not in content are deleted\nUPGRADE - clone and copy - existing files will be overwritten, files not in content are kept"
44
44
StringCONTENT_REPO_IGNORE_JENKINS="If true, no Jenkinsjob will be created."
45
45
StringCONTENT_VARIABLES_DESCRIPTION="Additional variables to use in custom templates."
@@ -161,7 +161,7 @@ class Content extends Feature {
161
161
/**
162
162
* Merges the files of src into the mergeRepoFolder/namespace/name and adds a new object to repoCoordinates.
163
163
*
164
-
* Note that existing repoCoordinate objects with different overrideMode are overwritten. The last repo to be mentioned within config.content.repos wins!
164
+
* Note that existing repoCoordinate objects with different overwriteMode are overwritten. The last repo to be mentioned within config.content.repos wins!
newContentRepositorySchema(url: repoToMirror, type: ContentRepoType.MIRROR, ref: 'someBranch', target: 'common/repo') /* Deliberately not use overrideMode here !*/,
newContentRepositorySchema(url: repoToMirror, type: ContentRepoType.MIRROR, ref: 'someBranch', target: 'common/repo') /* Deliberately not use overwriteMode here !*/,
0 commit comments