Commit Graph

6004 Commits

Author SHA1 Message Date
Oliver Sand c6d1f4846f Merge pull request #2803 from SDA-SE/feat/remove-api-annotation
feat: remove the backstage.io/definition-at-location annotation
2020-10-08 16:25:31 +02:00
Oliver Sand 3880e616dc Merge pull request #2798 from SDA-SE/feat/deprecate-api-annotation
feat: use new UrlReader in PlaceholderProcessor
2020-10-08 16:24:58 +02:00
Patrik Oldsberg a38f97f88b Merge pull request #2787 from taras/tm/add-sourcemaps
Add sourcemaps to all distribution of every package
2020-10-08 15:58:27 +02:00
Oliver Sand ce1f553981 feat: use new UrlReader in PlaceholderProcessor 2020-10-08 15:58:15 +02:00
Oliver Sand e6b00e3af9 feat: remove the backstage.io/definition-at-location annotation
The annotation was superseded by the placeholder processor.
2020-10-08 15:50:16 +02:00
Fredrik Adelöw c87655914c Merge pull request #2804 from SDA-SE/feat/proxy-headers
feat(proxy-backend): limit the forwarded http headers to a safe set
2020-10-08 15:41:47 +02:00
Marcus Eide ba0e6fa4ea Merge pull request #2795 from spotify/eide/storybook-categories
storybook: Group components in the sidebar
2020-10-08 15:30:11 +02:00
Marcus Eide 88bd2452ac Merge pull request #2799 from taras/scaffolder-add-github-auth-to-preparer
fix: Add authentication to GitHub preparer
2020-10-08 15:29:34 +02:00
Marcus Eide f0f9b9a3d9 Merge pull request #2802 from taras/patch-1
Include "Added a changeset" in PR checklist
2020-10-08 15:24:11 +02:00
Marcus Eide 6bbfe533e1 Merge pull request #2729 from Marvin9/fix/token-name-inconsistency
feat: environment variables token name inconsistency
2020-10-08 15:21:54 +02:00
Taras Mankovski 2896a6f02d Update loud-lamps-visit.md 2020-10-08 09:20:30 -04:00
Patrik Oldsberg 0b22eb872d Merge pull request #2796 from mclarke47/k8s-show-status-code-in-ui
show response status code from k8s API in UI
2020-10-08 14:49:34 +02:00
Dominik Henneke 9226c2aaa0 feat(proxy-backend): limit the forwarded http headers to a safe set 2020-10-08 14:30:56 +02:00
Taras Mankovski 901cb6ec2d Include "Added a changeset" in PR checklist 2020-10-08 08:05:10 -04:00
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
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
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
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
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