Commit Graph

31 Commits

Author SHA1 Message Date
Eric Peterson 38f076c0df Tweak search code ownership.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-04-23 14:34:33 +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
Eric Peterson 9d214a88ce Update codeowners to remove non-existent files
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:42:49 +01:00
Eric Peterson c303011247 Own (more of) it!
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:42:02 +01:00
Eric Peterson c22f1c33db Update code owners for the various search backend plugins.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:38:45 +01:00
Eric Peterson 7471e0b9af Initial backend search-indexer plugin (backstage-cli generated, minus route/service stuff).
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-03-19 09:38:44 +01:00
Eric Peterson 11e5ebbb60 Own it. 2021-02-10 16:42:38 +01:00
Emma Indal f732737032 Add "techdocs-core" as codeowners for search documentation
we should by the way maybe change our github team name soon..
2021-01-20 17:16:26 +01:00
Patrik Oldsberg 1caa021e94 codeowners: add changeset prefix for techdocs 2021-01-13 14:32:28 +01:00
Himanshu Mishra f7e70f4cc1 Add codeowners for techdocs-common package 2020-12-14 17:07:52 +01:00
Emma Indal 7d680c075e [Search] Search frontend plugin (#3086)
* feat(search) search plugin

* feat(search): search page components

* feat(search): api

* feat(search): filters wip

* feat(search): wip filters

* fix(search): delete unused useParams hook

* fix(search): update docs

* fix(search): use latest versions of dependencies

* fix(search): change version of catalog plugin

* fix(search api): pass instance of catalog api to search api

* fix(filters): rename component from FilterButton to FiltersButton

* fixup

* fix(filters): use list of checkboxes to match style of catalog page filters

* fix(styles): use theme spacing for margins and paddings, delete unused styles

* fix(search): change terminology of search input to be more consistent and clear

* fix(search): restructure component exports according to ADR

* fix(search): replace sm with xs on Grid components to support smaller screens

* fix(search): add types

* fixup

* fix(search): bump backstage core

* change versions of backstage theme and dev-utils
2020-11-18 11:20:37 +01:00
Himanshu Mishra db9c13ff39 Clean up codeowners 2020-11-05 15:28:43 +01:00
Himanshu Mishra 47a611f115 TechDocs: Remove techdocs-container package from mono-repo (#3230)
* Move techdocs-container package to backstage/techdocs-container

* Clean up codeowners

* Remove unnecessary GitHub CI workflow

* Modify path in docs for techdocs-container

* Fix techdocs-cli URL

* Remove techdocs packages from docs/support/packages
2020-11-05 14:58:48 +01:00
Himanshu Mishra 0672a3ecb1 TechDocs: Remove unnecessary CODEOWNERS config 2020-11-03 12:36:48 +01:00
Patrik Oldsberg 7c12fc656f Update CODEOWNERS to fit new org 2020-11-03 10:34:10 +01:00
Tim Hansen bb48b9833e Add lastCompleteBillingDate validation
Move style to utils/styles
Add CODEOWNERS rule for changesets
2020-10-23 10:42:17 -06:00
Esteban Barrios 8701a3c3c7 Merge branch 'master' into cloudbuild-plugin 2020-09-29 13:34:37 +02:00
Ryan Vazquez a4281932fb add cost insights plugin 2020-09-28 15:20:31 -04:00
Ryan Vazquez dbeb43fac3 reset from upstream 2020-09-25 15:52:28 -04:00
Ryan Vazquez e9de56f299 Update CODEOWNERS 2020-09-25 15:38:23 -04:00
ebarrios d139cf6a28 Created a plugin for cloud build as CI/CD 2020-09-17 17:59:05 +02:00
Tim Hansen 6437a7d9ad Update CODEOWNERS for internal clone 2020-08-18 20:00:49 -06:00
Emma Indal dcafba5555 fix(codeowners): add techdocs core as codeowners to techdocs workflows 2020-07-21 13:47:56 +02:00
Bilawal Hameed f2dd70fee5 techdocs: Add skeleton end-to-end documentation (#1600)
* docs(techdocs): add basic structure

* chore: add techdocs-core to docs/features/techdocs

* fix: separated out links

* fix: convert into markdown table
2020-07-13 17:08:01 +02:00
ellinors 329305087c fix: add new techdocs folders to codeowners 2020-07-13 15:11:08 +02:00
Emma Indal e2c52bafc8 fix(codeowners): change techdocs-cli to packages 2020-06-22 14:51:13 +02:00
Emma Indal bc69315b5a feat(techdocs): cli skeleton 2020-06-22 14:21:15 +02:00
Bilawal Hameed b3c56655fd fix: rename pulp-fiction to techdocs-core 2020-06-22 13:50:51 +02:00
Bilawal Hameed 179444ef83 feat(techdocs): yarn create-plugin 2020-06-22 13:42:42 +02:00
Stefan Ålund 7472e9a5c2 [Plugin] Explore features in Backstage (#696)
* Explore plugin

* Fixed styles and props

* Real conent

* Add Lighthouse and fix tests

* Add menu item

* Cleanup

* Change wording

* Update package.json

* Remove dead code

* Update yarn.lock

* Revert change to CODEOWNERS

* Reset yarn.lock to master

* Fix comments
2020-05-03 14:30:51 +02:00
Stefan Ålund b1279fde95 Create CODEOWNERS 2020-02-01 16:06:42 +01:00