On Backstage, I am trying to fetch catalog-info.yaml files automatically for every project which belongs to a group of mine on Gitlab. I am using the GitLabDiscovery feature, but the logs are showing that there are 0 components found in 0 projects.
Here is my configuration:
app-config.yaml:
integrations:
gitlab:
- host: ${GIT_LAB_BASE_URL}
token: ${GITLAB_TOKEN}
catalog:
providers:
gitlab:
gitlab:
host: ${GIT_LAB_BASE_URL}
group: ${MY_GITLAB_GROUP}
schedule:
frequency: { minutes: 1 }
timeout: { minutes: 3 }
GIT_LAB_BASE_URL = gitlab.com
MY_GITLAB_GROUP -> a group of mine with several projects that include catalog-info.yaml files.
index.ts
...
backend.add(import('@backstage/plugin-catalog-backend-module-gitlab/alpha'));
backend.start();