Commit Graph

18 Commits

Author SHA1 Message Date
github-actions[bot] 97420439e1 Version Packages 2021-10-07 12:17:39 +00:00
github-actions[bot] 6e5b1bda9d Version Packages 2021-09-23 10:01:17 +00:00
Patrik Oldsberg 71f6356390 plugins: add package descriptions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:33:40 +02:00
github-actions[bot] e7130884a0 Version Packages 2021-08-26 11:25:27 +00:00
github-actions[bot] c734d6995a Version Packages 2021-08-12 08:21:56 +00:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
dependabot[bot] d3b6c6c12a chore(deps): bump msw from 0.21.2 to 0.29.0
Bumps [msw](https://github.com/mswjs/msw) from 0.21.2 to 0.29.0.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v0.21.2...v0.29.0)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 04:45:44 +00:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
github-actions[bot] 44abfaada6 Version Packages 2021-04-29 13:35:03 +02:00
Erik Larsson d47c2628b7 fix: include migrations in code-coverage-backend plugin
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-24 06:51:24 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Fredrik Adelöw 87a82498b9 final fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 13:30:21 +02:00
Fredrik Adelöw eb35e81128 update express-promise-router to the repo standard
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:19 +02:00
alde e7d2fb93f0 Create code-coverage plugin
In order to use this plugin, you must set the
`backstage.io/code-coverage` annotation on your entity.

```yaml
backstage.io/code-coverage: enabled
```

There's a feature to only include files that are in SCM in the coverage
report, this is helpful to not count generated files for example. To
enable this set the `backstage.io/code-coverage` annotation to
`scm-only`.

```yaml
backstage.io/code-coverage: scm-only
```

The backend plugin provides API endpoints for submitting code-coverage
reports. Currently jacoco and cobertura are supported. These reports
are normalized to a json format that is stored in the database.

```json
// curl -X POST -H "Content-Type:text/xml" -d @cobertura.xml "localhost:7000/api/code-coverage/Component/default/entity-name?coverageType=cobertura"
{
    "links": [
        {
            "href": "http://localhost:7000/api/code-coverage/Component/default/entity-name",
            "rel": "coverage"
        }
    ]
}
```

It also provides some additional API endpoints:
* Viewing the latest report
* Viewing a more condensed history of code coverage values
* Retrieving file contents from source-control, used by the UI

Provides a graph of code coverage change over time, as well as a file
view where you can see the highlighted lines.

Co-authored-by: nissayeva <natashaaay@gmail.com>
Signed-off-by: alde <r.dybeck@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:18 +02:00