Skip to content

GitLab (beta)

Run your GitLab CI jobs on compiler.dev machines by adding a tag to the job. It works for projects and groups on gitlab.com. Self-managed GitLab: ask us at contact@compiler.dev. This is a closed beta: the GitLab (beta) page appears in the CI part of the app's menu once we switch it on for your organization.

1. Connect. Open GitLab (beta) in the app and press Connect GitLab. You sign in on GitLab and approve. compiler.dev asks for the api scope (GitLab has no narrower scope that can create runners and webhooks) and read_user. The token is stored encrypted and never shown again. To switch something on you need the Owner role on a group or the Maintainer role on a project.

2. Switch on a group or project. The page lists the groups you own and the projects you maintain, each with a switch. Switching one on creates four runners in GitLab, one per size, and adds a Job events webhook (on every project of a group, because group webhooks need a paid GitLab tier). Switching it off deletes them again, and so does Disconnect for everything. Nothing else in your GitLab is touched.

3. Add a tag to the job. In .gitlab-ci.yml:

test:
  tags: [compiler-8cpu]
  script:
    - npm test