Skip to main content

GitLab

  1. Go to your CodSpeed settings

    Required Permissions

    If you are importing a repository from an organization, you need to be either a Provider Admin or a Admin of this organization. Check out the CodSpeed Roles & Permissions page for more information.

  2. Generate a Personal Access Token on GitLab with the api scope.

    Expiration Date

    Make sure to change the expiration date of the token since it's set to one month by default. We recommended to set it to one year. Please note that if the token is expired, your CodSpeed integration will stop working.

    Bot Account

    CodSpeed uses a single user to access GitLab resources on behalf of it. You can generate one either for an existing user, or for a new dedicated bot account (recommended). This user/account will be the one to publish comments on merge requests.

  3. Fill the Personal Access Token in CodSpeed settings

  4. Your repositories should appear in the list of repositories, just click on the "Enable" button to enable the repository:

  5. Don't forget to note the CODSPEED_TOKEN that you'll need in order to upload performance reports and you're done 🎉

You can now continue and setup the continuous reporting