The GitLab Integration settings control the behavior of the GitLab integration. See also Integrations - GitLab.
Setting | changelog:integrations:gitlab:accessToken |
Environment Variable | CHANGELOG__INTEGRATIONS__GITLAB__ACCESSTOKEN |
Commandline Parameter |
gitlabAccessToken
|
Default value | - |
Version Support | 0.1+ |
The GitLab Access Token setting configures the access token to use for accessing the GitLab API when the GitLab integration is enabled.
❌ While it is possible to set the access token in the configuration file you should use the command line parameter or environment variable options instead.
Setting | changelog:integrations:gitlab:remoteName |
Environment Variable | CHANGELOG__INTEGRATIONS__GITLAB__REMOTENAME |
Commandline Parameter | - |
Default value |
origin
|
Version Support | 0.3+ |
The GitLab integration requires information about the repository on GitLab in order to function. This information includes the host name of the GitLab server, the namespace of the project (GitLab user or group/subgroup) as well as the name of the project.
When these settings are not explicitly set in the configuration file, ChangeLog will parse the remote URL of the git repository to determine the project information.
By default, the URL of the origin
remote is used, but the name of the remote can be adjusted using the GitLab Remote Name setting.
Note that this setting is not used, when host, namespace and project name are set explicitly. When the repository information is specified in the configuration partially, ChangeLog will attempt to add the missing information from the remote URL.
For details on how the remote URL is parsed, see Integrations - GitLab.
Setting | changelog:integrations:gitlab:host |
Environment Variable | CHANGELOG__INTEGRATIONS__GITLAB__HOST |
Commandline Parameter | - |
Default value | - |
Version Support | 0.3+ |
The GitLab Host setting specifies the host-name of the GitLab server to communicate with.
When no host name is specified (default behavior), ChangeLog will attempt to determine the host name from the git repository's remote URL (see also GitLab Remote Name setting).
Setting | changelog:integrations:gitlab:namespace |
Environment Variable | CHANGELOG__INTEGRATIONS__GITLAB__NAMESPACE |
Commandline Parameter | - |
Default value | - |
Version Support | 0.3+ |
The GitLab Namespace setting specifies the namespace of the GitLab project to use. This can be a GitLab user name or the name of a group/subgroup.
When no namespace is specified (default behavior), ChangeLog will attempt to determine the namespace from the git repository's remote URL (see also GitLab Remote Name setting).
Setting | changelog:integrations:gitlab:project |
Environment Variable | CHANGELOG__INTEGRATIONS__GITLAB__PROJECT |
Commandline Parameter | - |
Default value | - |
Version Support | 0.3+ |
The GitLab Project Name setting specifies the name of the GitLab project to use.
When no project name is specified (default behavior), ChangeLog will attempt to determine the name from the git repository's remote URL (see also GitLab Remote Name setting).