Class GitPullProcessor

All Implemented Interfaces:
DeploymentProcessor, InitializableByConfigBean, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class GitPullProcessor extends AbstractRemoteGitRepoAwareProcessor
Processor that clones/pulls a remote Git repository into a local path in the filesystem. A processor instance can be configured with the following YAML properties:
  • fastForwardMode: The fast forward mode to use when pulling changes from the remote repo. Supported values are: FF, NO_FF, FF_ONLY. Default is FF.
  • mergeStrategy: The merge strategy to use. Supported values are: ours, theirs, simple_two_way_in_core, resolve, recursive. Default is theirs
  • contentMergeOption: The content merge strategy to handle conflicts. Supported values are CONFLICT, OURS, THEIRS, UNION. Default is CONFLICT
  • remoteRepo.url: The URL of the remote Git repo to pull.
  • remoteRepo.name: The name to use for the remote repo when pulling from it (origin by default).
  • remoteRepo.branch: The branch of the remote Git repo to pull.
  • remoteRepo.username: The username for authentication with the remote Git repo. Not needed when SSH with RSA key pair authentication is used.
  • remoteRepo.password: The password for authentication with the remote Git repo. Not needed when SSH with RSA key pair authentication is used.
  • remoteRepo.ssh.privateKey.path: The SSH private key path, used only with SSH with RSA key pair authentication.
  • remoteRepo.ssh.privateKey.passphrase: The SSH private key passphrase, used only with SSH withRSA key pair authentication.
Author:
avasquez