Skip to content

trigger async analysis from your Gitlab CI and expose badges

License

Notifications You must be signed in to change notification settings

factorysh/microdensity

Repository files navigation

µdensity

Gitlab CI triggers asynchone REST analysis and display badges and files.

Paths

POST /service/{service}/{projet}/{branch}
    return run id

GET /service/{service}/{projet}/{branch}/{commit}

GET /service/{service}/{projet}/{branch}/latest
GET /service/{service}/{projet}/

Big Picture

                                                                 +---------+   +--------+
  Gitlab CI                                                  +-->| Compose +-->| Docker |
 +-----------------------------------------------+           |   +-------+-+   +--------+
 |                                               |      +----+-----+     |
 | curl --header 'PRIVATE-TOKEN: ${CI_JOB_JWT}' -+----->| µdensity |     +--> Volumes
 |                                               |      +----------+             |
 +-----------------------------------------------+             HTTP          +---v----+
                                                   <-------------------------| Badges |
                                                                             +--------+

Bring your own services

Services documentation

Manage your service

Admin endpoint

For the Admin http server, use admin_listen setting.

  • / Home page
  • /metrics Prometheus endpoint
  • /status Microdensity ping Docker and Gitlab

Sentry

Sentry is used with zap logging.

Use SENTRY_DSN env for setting Sentry errors report.

About

trigger async analysis from your Gitlab CI and expose badges

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages