74233 Commits

Author SHA1 Message Date
Taras Mankovski 6840a68df9 Added changesets 2020-10-08 08:02:39 -04:00
Taras Mankovski d69da85a27 Add a test for when token is passed in 2020-10-08 08:02:21 -04:00
Taras Mankovski 4837a166c2 Make token optional 2020-10-08 07:45:29 -04:00
Fredrik Adelöw 4922f1dff9 Merge pull request #2778 from spotify/freben/no-redundant-columns
feat(catalog-backend): remove redundant columns in entities
2020-10-08 13:37:28 +02:00
Fredrik Adelöw faf9029765 Merge pull request #2777 from spotify/freben/data-column
feat(catalog-backend): store entity json in data column, not separate metadata+spec
2020-10-08 13:36:50 +02:00
Taras Mankovski 4df660e37f Add authentication to GitHub preparer 2020-10-08 07:31:42 -04:00
Marcus Eide 4a655b0403 Merge pull request #2476 from ayshiff/feature/filter-component
Feature: Filter component
2020-10-08 13:25:04 +02:00
Fredrik Adelöw 10827989b6 Merge pull request #2776 from spotify/freben/test-db
feat(catalog-backend): temporary named test db support to aid in debugging
2020-10-08 13:19:58 +02:00
Oliver Sand 00b5b877b4 fix(techdocs-cli): make techdocs-cli work on Windows (#2779)
$(pwd) won't work outside a Unix shell, so I replaced it with process.cwd(). Then it's not important anymore in which directory the docker command is executed.
2020-10-08 11:53:16 +02:00
Sebastian Qvarfordt 29ec8c2f09 TechDocs: Fix reload when clicking internal docs pages (#2784)
* Check to see if links start with window.location.origin to see if we should handle it as a internal docs link

* Fixed failing test

* Fix lint issues
2020-10-08 11:26:46 +02:00
mclarke47 99b26cff87 show response status code from k8s API in UI 2020-10-08 10:26:09 +01:00
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
blam ec1ee64b73 chore(catalog-graphql): moving to the new msw test util helper 2020-10-07 17:20:51 +02:00
blam fdf090b57f feat(msw); refactor away the setup commands into ttestutils 2020-10-07 17:20:26 +02:00
Ivan Shmidt 9c3a03d20d fix: eslint 2020-10-07 17:13:32 +02:00
Ivan Shmidt 9e7a80715c Merge branch 'mob/scaffolder-cra-fixes' of github.com:spotify/backstage into shmidt-i/universal-file-github-actions 2020-10-07 17:03:21 +02:00
Ivan Shmidt 7b9abc0a10 fix: import 2020-10-07 17:01:44 +02:00
Ivan Shmidt abfa267f6f Merge branch 'master' of github.com:spotify/backstage into mob/scaffolder-cra-fixes 2020-10-07 16:59:26 +02:00
Ivan Shmidt 96219cb954 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/universal-file-github-actions 2020-10-07 16:55:19 +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
Ivan Shmidt e3bb82deab refactor: universal folder, package.json 2020-10-07 16:29:32 +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