Set group as optional parameter. Scan everything if not present

Signed-off-by: ivgo <ivgo@spreadgroup.com>
This commit is contained in:
ivgo
2022-06-20 11:48:58 +02:00
parent 49ff472c0b
commit 1189f00d23
5 changed files with 42 additions and 83 deletions
+1 -13
View File
@@ -22,22 +22,10 @@ catalog:
yourProviderId:
host: gitlab-host # Identifies one of the hosts set up in the integrations
branch: main # Optional. Uses `master` as default
group: example-group # Group and subgroup (if needed) to look for repositories
group: example-group # Optional. Group and subgroup (if needed) to look for repositories. If not present the whole project will be scanned
entityFilename: catalog-info.yaml # Optional. Defaults to `catalog-info.yaml`
```
If you desire so, it's also possible to execute the gitlab discovery in your entire
project. In order to do that, use this catalog configuration instead:
```yaml
catalog:
providers:
gitlab:
host: gitlab-host # Identifies one of the hosts set up in the integrations
branch: main # Optional. Uses `master` as default
entityFilename: catalog-info.yaml # Optional. Defaults to `catalog-info.yaml`
```
As this provider is not one of the default providers, you will first need to install
the gitlab catalog plugin: