The Frontend Assets Handler is able to interact with the asset sources on VCS through specific providers. Each VCS provider requires configuration. Consult the appropriate provider classes to find out what configuration is expected.
Interacting with assets on GitHub requires an access token with repo
scope.
It supports the following additional configuration:
An access token to identify requests to the GitLab API. This token is supplied as a
Authorization
header with each request.
- Required: yes
- Default: –
Name of the project in the form <owner>/<name>
providing the Frontend assets. It
is used to lookup revisions and current deployments.
- Require: yes
- Default: –
Using this VCS Provider, GitLab can be interacted with as the VCS for the requested Frontend assets. This is necessary, for example, to query an active deployment of the requested assets.
Interacting with assets on GitLab requires either a project access token of the
appropriate project or an access token with at least read_api
scope.
It supports the following additional configuration:
Base URL of the used GitLab instance, will be appended by the API url and the requested endpoint.
- Required: yes
- Default:
https://gitlab.com
An access token to identify requests to the GitLab API. This token is supplied as a
PRIVATE-TOKEN
header with each request.
- Required: yes
- Default: –
ID of the project providing the Frontend assets. It is used to lookup revisions and current deployments.
- Require: yes
- Default: –