When your organization uses an on-premises source control repository, the GitRepoConnectApp service manages the communication between Informatica Intelligent Cloud Services and the source control repository.
The Secure Agent uses the GitRepoConnectApp service when it creates the local copy of the remote source control repository on the Secure Agent machine. It also uses the service to get information about source control operations from the remote repository.
Local repository base directory
If your source control repository is on-premises, the Secure Agent creates a local copy of the repository branch that stores Informatica Intelligent Cloud Services assets. You can configure the local repository location on the Secure Agent machine.
By default, the Secure Agent creates the local repository in the following directory:
In this file path, the base directory is controlled by the git_local_repository_path property of the GitRepoConnectApp service.
By default, git_local_repository_path is set to ../git_repository/. Therefore, the Secure Agent creates the local Git repository in the following directory:
You can change the base directory by editing the git_local_repository_path property. For example, if you set this property to ../MYREPO/PROD, the Secure Agent creates the local Git repository in the following directory:
To specify a base directory that contains a backslash character (\), escape it with another backslash character.
Warning: If you omit the parent directory (..) when you set the git_local_repository_path property, the Secure Agent creates a subdirectory for the version of the GitRepoConnectApp service. The local copy of the repository is then stored in the following directory:
In this case, the Secure Agent creates a new local repository directory each time the GitRepoConnectApp service is updated, which can consume large amounts of disk space on the Secure Agent machine.
GitRepoConnectApp properties
To change or optimize behavior of the GitRepoConnectApp service, configure the service properties. Configure the service properties in the System Configuration Details area when you edit a Secure Agent.
The following image shows the GitRepoConnectApp properties:
You can configure the following service property:
Type
Name
Description
GIT_REPO_CONNECT_APP_CONF
git_local_repository_path
Base directory for the local Git repository on the Secure Agent machine.
The base directory is created in the following directory: