-
Pull the Docker image:
docker pull registry.jetbrains.team/p/matterhorn/public/junie-gitlab:latest -
Run the container with the required environment variable:
docker run -d \ -e INGRAZZIO_TOKEN=your_token_here \ -e GITLAB_HOST=gitlab_host \ -p 8080:8080 \ registry.jetbrains.team/p/matterhorn/public/junie-gitlab:latest
INGRAZZIO_TOKEN: (Required) Your authentication token for the JetBrains Auth serviceGITLAB_HOST: (Required) Your organization's GitLab host (e.g.,https://gitlab.com)GITLAB_IGNORE_CERTIFICATE_ERRORS: (Optional) Set totrueto ignore SSL certificate errors when connecting to GitLab. Default isfalse.GITLAB_PIPELINE_CONFIGURATION_PATH: (Optional) Path to the GitLab pipeline configuration file. Default is.gitlab-ci.yml.
- Copy the file
.gitlab-ci.ymlto your project in GitLab
- Issue access token (
Project > Settings > Access tokenorUser settings > Access tokens). Role:Owner.- Call the token
junieto have autocompletion in the UI. - Scope:
api, read_api, read_repository, write_repository
- Call the token
- Configure a webhook on the GitLab side:
- Go to Project > Settings > CI/CD >
Add new webhook - Set URL pointing on your local (using reverse proxy, e.g. ngrok) or remote junie-gitlab instance:
https://HOST/api/public/gitlab/webhooks - Enter your token to the
Secret tokenfield - Enable at least
Comment events
- Go to Project > Settings > CI/CD >