Merge pull request #11463 from goququ/master

feat/catalog-backend-module-gitlab: create url location only if file…
This commit is contained in:
Patrik Oldsberg
2022-05-20 11:31:11 +02:00
committed by GitHub
6 changed files with 196 additions and 24 deletions
+2
View File
@@ -50,3 +50,5 @@ of your backend.
+ GitLabDiscoveryProcessor.fromConfig(env.config, { logger: env.logger })
+ );
```
If you don't want create location object if file with component definition do not exists in project, you can set the `skipReposWithoutExactFileMatch` option. That can reduce count of request to gitlab with 404 status code.