* See the [Have your own doc + kicker](#have-your-own-doc-kicker) chapter.
## Variable presets
@@ -163,8 +164,8 @@ developers from your company to have an easy access to a reference documentation
In your local copy of the [doc](https://gitlab.com/to-be-continuous/doc) project:
1. Declare the CI/CD project variable `GITLAB_TOKEN`: a [group access token](https://docs.gitlab.com/user/group/settings/group_access_tokens/) with scopes `api,read_registry,write_registry,read_repository,write_repository` and with `Owner` role.
2.Declare the CI/CD project variable `KICKER_RESOURCE_GROUPS`: JSON configuration of GitLab groups to crawl.
1. Declare the CI/CD project variable `KICKER_RESOURCE_GROUPS`: JSON configuration of GitLab groups to crawl.
2.If you want to crawl any `internal` or `private` projects, declare the CI/CD project variable `GITLAB_TOKEN` (masked, hidden and protected): an [access token](https://docs.gitlab.com/security/tokens/) with at least scopes `read_api,read_repository` and `Reporter` role on all of those groups.
3. create a scheduled pipeline (for instance every day at 3:00 am).
Here is an example of `KICKER_RESOURCE_GROUPS` content:
@@ -66,7 +66,7 @@ original _to be continuous_ project.
For this, you only have to create a [scheduled pipeline](https://docs.gitlab.com/ci/pipelines/schedules/) in your local copy of the [tools/gitlab-sync](https://gitlab.com/to-be-continuous/tools/gitlab-sync) project:
1. declare the CI/CD project variable `GITLAB_TOKEN` with the previously created token (mark it as [masked](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable)),
1. declare the CI/CD project variable `GITLAB_TOKEN` with the previously created token (mark it as [masked and hidden](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable) as well as [protected](https://docs.gitlab.com/ci/variables/#protect-a-cicd-variable)),
2. create a scheduled pipeline (for instance every day at 2:00 am).
All other required variables will be automatically retrieved from [GitLab CI predefined variables](https://docs.gitlab.com/ci/variables/predefined_variables/).