Commit Graph

4373 Commits

Author SHA1 Message Date
Fredrik Adelöw 3ba7a657f7 Merge pull request #4906 from GregoireW/feat/bitrise_pagination
Bitrise getter should be paginated
2021-03-16 09:30:18 +01:00
Fredrik Adelöw ac08d81835 Merge pull request #4898 from niallmccullagh/master
Fix issue with radar description dialog display
2021-03-16 08:50:59 +01:00
Erik Larsson 8b4f7e42ae fix: forward auth on scaffolder backend reqeuests
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-03-16 01:31:48 +01:00
Fredrik Adelöw 7b4a77ec7d Merge pull request #4929 from OscarDHdz/scaffolderRepoUrlPicker/FixAllowedHosts
Scaffolder: Fix allowed host field from RepoUrlPicker
2021-03-15 23:02:39 +01:00
OscarDHdz bcb82b9a79 Fix host field from RepoUrlPicker
Signed-off-by: OscarDHdz <oscardavid.hernandez.mx@gmail.com>
2021-03-15 15:55:39 -06:00
Fredrik Adelöw 5f46e1e6d0 Merge pull request #4664 from athal7/patch-1
Update Pagerduty setup instructions
2021-03-15 18:32:00 +01:00
Andrew Thauer ec646230bb Merge pull request #4948 from andrewthauer/codeowner-refactor
feat(catalog-backend): use scm integration for codeowners
2021-03-15 12:18:39 -04:00
Andrew Thal 3c58f9a868 Fix lint
Signed-off-by: Andrew Thal <andrewthal88@gmail.com>
2021-03-15 10:53:40 -04:00
Patrik Oldsberg 6819c2aec8 Merge pull request #4896 from GoWind/expose-verify-nonce
Expose `verifyNonce` and `readState` publicly
2021-03-15 15:20:05 +01:00
Fredrik Adelöw 3529831c45 Merge pull request #4928 from SDA-SE/feat/AnnotateScmSlugEntityProcessor
Add `AnnotateScmSlugEntityProcessor`
2021-03-15 15:07:06 +01:00
Oliver Sand a21ca837a9 Remove comment
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-15 14:27:42 +01:00
Himanshu Mishra 78e1866688 Merge pull request #4894 from tudi2d/4825-techdocs-breadcrumbs 2021-03-15 12:30:41 +01:00
Andrew Thauer 4bc98a5b99 feat(catalog-backend): use scm integration for codeowners
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-03-15 07:30:20 -04:00
Andrew Thauer 1cc27f7e10 Merge pull request #4946 from andrewthauer/feat/catalog-import-commit-message
feat(catalog-import): use title for commit message
2021-03-15 06:41:08 -04:00
Oliver Sand 7c15a489aa Use scm integration
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-15 10:20:30 +01:00
Fredrik Adelöw e728b279f7 Merge pull request #4944 from nora99/filter-out-clusters-with-no-resources
Don't list the cluster if there are no resources deployed there
2021-03-15 09:27:11 +01:00
Andrew Thauer a0dacc1842 feat(catalog-import): use title for commit message
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-03-13 17:27:37 -05:00
Fredrik Adelöw aa4cac15a7 Merge pull request #4885 from geototti21/add-prop-for-selected-filter-catalog
catalog: make initially selected filter configurable
2021-03-13 14:50:54 +01:00
nliesenfeld bb848ac5e8 Don't list the cluster if there are no resources deployed there
Signed-off-by: nliesenfeld <nliesenfeld@spotify.com>
2021-03-12 10:32:06 -05:00
tudi2d 50be5c09aa Add rootRouteRef to test app options to fix component tests
Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 15:30:39 +01:00
tudi2d 634577d887 Change hardcoded docs link to use route reference
- Specify Changelog

Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 14:54:45 +01:00
tudi2d 5bf51c3db2 Change link to static /docs
Signed-off-by: tudi2d <phugenroth@googlemail.com>
2021-03-12 14:54:41 +01:00
Himanshu Mishra 8fdb4d8e00 techdocs: backend responds with an error if publisher type is not supported
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 11:40:12 +01:00
Himanshu Mishra 75941ca364 techdocs: techdocs_metadata.json could be missing, ignore the error
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 11:30:00 +01:00
Himanshu Mishra 11242ac41e Apply suggestions from code review
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 08:55:17 +01:00
Himanshu Mishra 784d39894a techdocs: Replace res.send with res.json
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 01:32:59 +01:00
Himanshu Mishra cf1b10f651 techdocs: When builder is set to local
1. Do not check for updates if a check has been done in last 60 seconds
2. Use stored etag from techdocs_metadata.json instead of in-memory storage
3. Enable re-building docs when in a mix of basic and recommended setup i.e. local builder with external storage

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 01:11:08 +01:00
Fredrik Adelöw e07b41751e Merge pull request #4922 from mclarke47/k8s-add-custom-hook-tests
add kubernetes custom hook tests
2021-03-11 22:01:18 +01:00
Emma Indal c8b54c3702 TechDocs Homepage (#4401)
* add tabs to homepage

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add new overview content component

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add new owned content component

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add test for owned content component

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add test for overview content

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* document name to link and change copy to clipboard link

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* rename changeset file

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix types

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move home components out from reader dir to its own dir

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/techdocs/src/reader/components/OverviewContent.tsx

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* enable search in table

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add docs icon to core icons

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add example TechDocs support button config

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use isOwnerOff and useOwnUser to see documents that are owned via group membership

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* cleanup imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* leave techdocs support config out of this PR

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* prettieeeeeer

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* copy paste useOwnUser hook over to techdocs plugin

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete unused package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-11 19:23:32 +01:00
Oliver Sand 010aed7848 Add AnnotateScmSlugEntityProcessor
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-11 18:18:41 +01:00
mclarke 62bd701335 fix accidental dependency update
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 16:51:40 +00:00
mclarke a8c1c9b434 merge master
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 16:13:24 +00:00
Fredrik Adelöw 3ece07ee8d Merge pull request #4903 from backstage/freben/errors
Introduce the @backstage/errors package
2021-03-11 17:06:23 +01:00
Patrik Oldsberg 4c597d78a0 Merge pull request #4924 from backstage/mob/graphiql-sidebar
graphiql,app: export icon and avoid routeRef usage in SidebarItem
2021-03-11 16:40:13 +01:00
Patrik Oldsberg 09eb54e014 graphiql,app: export icon and avoid routeRef usage in SidebarItem
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 16:14:34 +01:00
Patrik Oldsberg 147b4c5b1f user-settings: avoid depending on descriptions from ApiRefs
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 15:58:37 +01:00
mclarke b16a480275 add kubernetes custom hook tests
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 14:44:10 +00:00
Fredrik Adelöw fda249ff6f fix review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 14:31:21 +01:00
Fredrik Adelöw 8686eb38cf Introduce the @backstage/errors package.
Encode thrown errors in the backend as a JSON payload using a facility in that package, and render helpful frontend displays of those errors.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 14:31:21 +01:00
github-actions[bot] 0e120c5c66 Version Packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 13:45:44 +01:00
Matthew Clarke e2c1b3fb6a Kubernetes: initial CRD framework (#4892)
* Kubernetes: initial CRD framework

Signed-off-by: mclarke <mclarke@spotify.com>

* use luxon instead of date-fns

Signed-off-by: mclarke <mclarke@spotify.com>

* fix test

Signed-off-by: mclarke <mclarke@spotify.com>

* update ui schema

Signed-off-by: mclarke <mclarke@spotify.com>

* update app config

Signed-off-by: mclarke <mclarke@spotify.com>

* rollout tests

Signed-off-by: mclarke <mclarke@spotify.com>

* add default custom resource component

Signed-off-by: mclarke <mclarke@spotify.com>

* make custom resources optional

Signed-off-by: mclarke <mclarke@spotify.com>

* add docs

Signed-off-by: mclarke <mclarke@spotify.com>

* prettier

Signed-off-by: mclarke <mclarke@spotify.com>

* replace core-api usage with core

Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 10:32:41 +00:00
GregoireW 303a0aef8e Merge remote-tracking branch 'origin/master' into feat/bitrise_pagination 2021-03-10 17:07:42 +01:00
Fredrik Adelöw cbb85fd86e Merge pull request #4904 from backstage/freben/no-dots
Remove all dot-folder imports everywhere
2021-03-10 16:47:13 +01:00
Andrew Thauer 9404c568cf Merge pull request #4890 from andrewthauer/feat/codeowner-kinds
feat(catalog-backend): support more codeownerprocessor kinds
2021-03-10 10:04:30 -05:00
GregoireW 82938ef090 Bitrise getter should be paginated
Signed-off-by: GregoireW <24318548+GregoireW@users.noreply.github.com>
2021-03-10 15:58:22 +01:00
Johan Haals b8f86caa7a Merge pull request #4869 from backstage/mob/actions-list
Scaffolder: Add page displaying available actions
2021-03-10 14:47:46 +01:00
Johan Haals ff1fc49c06 Merge pull request #4889 from backstage/jhaals/better-error
scaffolder: Improve GitHub publishers permission update error message
2021-03-10 14:44:49 +01:00
Johan Haals be140d3b1d Use the same json-schema version as other plugins
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-10 14:30:05 +01:00
Johan Haals 843078a5d6 Update description to be consistent
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-10 14:29:17 +01:00
Johan Haals 3848bc1cfa Throw error with status included
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-10 14:17:27 +01:00