• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / minder / 9288131626 / 1
53%
main: 53%

Build:
DEFAULT BRANCH: main
Ran 29 May 2024 02:44PM UTC
Files 193
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 May 2024 02:37PM UTC coverage: 52.109% (+0.09%) from 52.021%
9288131626.1

push

github

web-flow
Extend the GitHub App configuration with an autoRegistration object (#3449)

* Add the protobuf struct for generic provider options

In order to actually set the auto-registration of entities, we need to
be able to configure those options.

This patch adds two structures: AutoRegistration which contains a list
of entities to auto-register and ProviderConfig which contains the
AutoRegistration.

The idea behind this is that any provider would be able to use the
ProviderConfig attributes regardless of the provider type. So as an
example, both would be valid:

```
{ "auto_registration": { "enabled": ["repository"] }, "github": { "endpoint": "https://api.github.com" }}
```
and:
```
{ "auto_registration": { "enabled": ["repository"] }, "github-app": { "endpoint": "https://api.github.com" }}
```

and all would require just embedding the ProviderConfig structure into
the provider-specific parser.

Fixes: #3266

* Parse out ProviderConfig as well when reading GH App configuration

Amends the ParseV1AppConfig to also include parsing the
minderv1.GitHubAppProviderConfig structure.

The parsed-out object is not used yet, but it's parsed and validated and the
new code is tested.

Related: #3266

9945 of 19085 relevant lines covered (52.11%)

53.72 hits per line

Source Files on job 9288131626.1
  • Tree
  • List 0
  • Changed 14
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9288131626
  • 5065d65f on github
  • Prev Job for on main (#9286699676.1)
  • Next Job for on main (#9298397393.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc