Group Access Token
When deploying projects on GitLab CI or hosted environments and incorporating private Composer or NPM packages developed by Acro, it's essential to generate a GitLab token to gain access to these packages.
warning
Don't use personal access tokens for CI/CD or hosted environments
Generating the token
- Click here create a group access token in the Acro Commerce group settings page in GitLab.
- Click on the
Add new tokenbutton and be sure that the token details correspond to the provided specifications for simplified token rotation and future expiration management.
Token Configuration
- Token name:
PROJECT_NAME__ACRO_TOKEN. - Role:
Reporter. - Scopes:
read_registry&read_api.
- Make sure you keep a copy of the token in a safe place, as we'll need to incorporate it into the project's CI/CD configuration or Lagoon's environment variables.