Commit Graph

6101 Commits

Author SHA1 Message Date
Marcus Eide 5ea40dce6b Add categories to stories 2020-10-08 09:52:06 +02:00
dependabot[bot] 78e7202b19 chore(deps): bump circleci-api from 4.0.0 to 4.1.3 (#2793)
Bumps [circleci-api](https://github.com/worldturtlemedia/circleci-api) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/worldturtlemedia/circleci-api/releases)
- [Commits](https://github.com/worldturtlemedia/circleci-api/compare/v4.0.0...v4.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 09:48:18 +02:00
Marcus Eide c6f8310a11 Merge pull request #2659 from spotify/eide/user-settings-plugin
Plugin: user-settings
2020-10-08 09:23:48 +02:00
Marvin9 5a920c6e4f version: run changeset 2020-10-08 10:41:13 +05:30
Marvin9 f05e4b9608 re: make consistent environment variables
GITHUB_PRIVATE_TOKEN & GITHUB_ACCESS_TOKEN => GITHUB_TOKEN
GITLAB_PRIVATE_TOKEN, GITLAB_ACCESS_TOKEN & SCAFFOLDER_GITLAB_PRIVATE_TOKEN => GITLAB_TOKEN
AZURE_PRIVATE_TOKEN => AZURE_TOKEN
GHE_PRIVATE_TOKEN => GHE_TOKEN
2020-10-08 10:34:06 +05:30
Brenda Sukh d0241306fa Update cost insights select styles 2020-10-07 14:54:37 -04:00
Brenda Sukh d8f874d39a Add cost overview banner 2020-10-07 14:54:18 -04:00
Brenda Sukh 58db835fbd Remove project select from cost overview footer 2020-10-07 14:53:05 -04:00
Brenda Sukh 0181b365e4 Add project field to product cost api calls 2020-10-07 14:52:26 -04:00
Taras Mankovski cba4e4d970 Add changeset 2020-10-07 14:51:25 -04:00
Taras Mankovski 2220c3f801 Configure builder config to include sourcemaps 2020-10-07 14:49:42 -04:00
Stefan Ålund 8ca1257987 Update noInformation.svg 2020-10-07 19:14:45 +02:00
Stefan Ålund 111add81c1 Merge branch 'master' into alund/transparent 2020-10-07 19:11:11 +02:00
Fredrik Adelöw 55602200a3 Merge pull request #2782 from spotify/freben/table
fix(deps): finally a material-table release - no more vulnerable jsdom
2020-10-07 18:45:09 +02:00
Niklas Ek e958ff0dd2 Merge pull request #2768 from Marvin9/feat/rel-to-anchor
feat: inject appropriate rel tag to <Link> & <a>
2020-10-07 17:31:03 +02:00
Niklas Ek 8680f14ec1 Merge pull request #2709 from RoadieHQ/lighthouse-widget
Add Lighthouse card & tab
2020-10-07 16:53:39 +02:00
Matthew Clarke eaa5275ac2 update kubernetes readmes (#2781) 2020-10-07 15:49:49 +01:00
Marcus Eide 52c4cfc257 Update Readme 2020-10-07 16:34:12 +02:00
James Wen 108ce37949 Allow for Kubernetes cluster authentication via google auth (#2691)
* Allow for Kubernetes cluster authentication via google auth

- For the kubernetes and kubernetes-backend plugins
  - The kubernetes (front-end) plugin uses the googleAuthApi and goes
    through oauth flow to fetch a Google auth token for the current user
    and pass that in a request to the kubernetes-backend plugin, which
    uses this token as the service account token (and hence as the
    authentication token for making K8s API requests).
- Related to https://github.com/spotify/backstage/issues/2552

* Use KubernetesAuthProvider and KubernetesAuthTranslator interfaces for K8s auth

- Implementations of KubernetesAuthProvider decorate the bodies of requests (for
  Kubernetes resources) sent from the kubernetes plugin (frontend) to the
  kubernetes-backend plugin (backend) with whatever information is
  needed for K8s authentication
- Implementations of KubernetesAuthTranslator take the contents of these request
  bodies sent from the kubernetes plugin (frontend) to the kubernetes-backend plugin
  (backend) and use specific values in the bodies to properly set up tokens for K8s auth
- Start with KubernetesAuthProvider + KubernetesAuthTranslator
  implementations for 'serviceAccount' and 'google' as auth providers
- Implementation of what was proposed at https://github.com/spotify/backstage/issues/2552#issuecomment-702545382
- Load in and prepare KubernetesAuthProvider implementations at plugin
  startup time via KubernetesAuthProviders API (that essentially stores
  or wraps these KubernetesAuthProvider instances)
- Related to https://github.com/spotify/backstage/issues/2552
2020-10-07 15:21:40 +01:00
Patrik Oldsberg c1de0de4bd Delete backstage_overview.png (#2783) 2020-10-07 15:54:18 +02:00
Fredrik Adelöw 85f4d83551 fix(deps): finally a material-table release - no more vulnerable jsdom 2020-10-07 14:26:51 +02:00
Ben Lambert fbb0676fdc Merge pull request #2758 from erictnilsson/master
#2534 Refactored WorkflowRunStatus to also account for the build run's conclusion
2020-10-07 13:15:12 +02:00
Tianyi Song 153d4f866a feat(create-app): add catalog-info.yaml in the created app (#2759)
* Add template for catalog-info

* Update docs
2020-10-07 09:05:22 +02:00
Joel Low 7471a46d27 Use resetAllMocks and toHaveBeenCalledTimes 2020-10-07 14:59:09 +08:00
Stefan Ålund 758729cc3d Update EmptyStateImage.tsx 2020-10-07 08:45:00 +02:00
Stefan Ålund 04af2d7af4 rm non-used css 2020-10-07 08:40:57 +02:00
Joel Low 0bc45e0d3a Fix additional review comments 2020-10-07 10:44:08 +08:00
Joel Low 7151da64e0 No longer any need to create databases, but drop them for consistency 2020-10-07 09:32:44 +08:00
Joel Low c990535157 Remove support for alternative plugin databases 2020-10-07 09:32:44 +08:00
Joel Low f88cc8846b Add missing @param declarations in API docs 2020-10-07 09:32:44 +08:00
Joel Low 906e593a54 Implement tests 2020-10-07 09:32:44 +08:00
Joel Low b083c97f84 Replace PluginDatabaseClientFactory with PluginDatabaseManager 2020-10-07 09:32:44 +08:00
Joel Low 8c78b4e9dd Fix review comments
- Combine the various exported types; the only API surface is now the
  `PluginDatabaseClientFactory` which is a free function.
- Rename to the SingleConnectionManager class.
- Refactor the PluginEnvironment type to use databaseClientFactory for
  clarity.
- Fix mergeDatabaseConfig to not override the input dictionary.
2020-10-07 09:32:43 +08:00
Joel Low e277c5dfa5 Expose types to handle Database management
This implements several types to own and manage databases on a database
server. The current SimpleDatabase* classes preserve the present
behaviour; future implementations can segregate databases to be owned by
different roles.
2020-10-07 09:32:42 +08:00
Fredrik Adelöw c2e2d92000 feat(catalog-backend): remove redundant columns in entities 2020-10-06 20:53:44 +02:00
Fredrik Adelöw a9e7685a48 feat(catalog-backend): store entity json in data column, not separate metadata+spec
part of #2749
2020-10-06 20:27:15 +02:00
Fredrik Adelöw 5aeb0024b9 feat(catalog-backend): temporary named test db support to aid in debugging
Fully aware that this isn't pretty. But since I am in the process of debugging migrations and catalog stuff and want to easily run manually against several databases while waiting for proper testcontainers and e2e tests, this at least lets me gain some confidence short term.
2020-10-06 19:40:40 +02:00
Fredrik Adelöw af85ba3198 Merge pull request #2755 from spotify/freben/entity-full-name
feat(catalog-backend): keep track of entity full name and make it uniq
2020-10-06 19:25:36 +02:00
Patrik Oldsberg 2fba643d66 Merge pull request #2774 from jadonwolffs/master
renamed all instances of GuageProgress component to Guage
2020-10-06 19:10:09 +02:00
jadon 0765d4e162 renamed all instances of GuageProgress component to Guage including tests 2020-10-06 18:17:22 +02:00
Marvin9 7db0ffb6e5 feat: add rel to <a> & few <Link> tags 2020-10-06 21:19:31 +05:30
Stefan Ålund a385c27eeb rm background 2020-10-06 15:35:29 +02:00
Stefan Ålund dd77646750 emptystates: add transparent versions 2020-10-06 15:34:34 +02:00
Marcus Eide 7857e564e4 Revert "Move variant style handling for Infocard to seperate file and use some of it for TabbedCard"
This reverts commit 94fa82b741.
2020-10-06 15:24:29 +02:00
Marcus Eide b47299806e Fix test 2020-10-06 15:19:56 +02:00
Marcus Eide 28f2d1e030 Move story into this plugin 2020-10-06 15:02:23 +02:00
Marcus Eide d03a7646f5 Handle empties 2020-10-06 15:00:41 +02:00
David Tuite 434ef5fce0 Upgrade GitHub PRs plugin in sample app (#2767)
Adds tab routing and uptakes the new dependency injection API. See [the
README](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests) for more info.
2020-10-06 13:50:05 +02:00
Marcus Eide ae0de36689 bump version 2020-10-06 13:24:39 +02:00
Marcus Eide 346857e9c6 Fix sidebar add app template 2020-10-06 13:24:00 +02:00