Commit Graph

1889 Commits

Author SHA1 Message Date
Fredrik Adelöw 5a2b4b1966 feat(catalog-backend): simplify the read function in processors 2020-09-28 18:26:28 +02:00
Ben Lambert 53a37bfee5 Merge pull request #2630 from spotify/rugvip/node14
package: allow node v14 and add to master build matrix
2020-09-28 16:46:52 +02:00
Fredrik Adelöw cdce5290a2 Merge pull request #2628 from spotify/freben/entity-placeholder
feat(catalog-backend): placeholder substitution in entity yaml
2020-09-28 16:19:18 +02:00
blam a0893378f5 Merge branch 'master' of github.com:spotify/backstage into rugvip/node14
* 'master' of github.com:spotify/backstage:
  Add initial kubernetes services and configmap UI support (#2635)
  Clean up the repository
  Integrate with travis-ci plugin
  docs: fix typos in the documentation (#2633)
  fix(circleci): add api route prefix to proxy rewrite path
2020-09-28 15:54:29 +02:00
Ben Lambert 2c33a29c7c Merge pull request #2621 from andrewthauer/fix/circleci-proxy-config
fix(circleci): add api route prefix to proxy rewrite path
2020-09-28 15:28:10 +02:00
Matthew Clarke 2fbca83156 Add initial kubernetes services and configmap UI support (#2635)
* add initial kubernetes services and configmap support

* revert accidental change

* missed revert

* prettier
2020-09-28 14:16:41 +01:00
Fredrik Adelöw a021413075 feat(catalog-backend): placeholder substitution in entity yaml
This feature works the same as $secret does in config - it allows programmatic substitution of values into a document.

This is particularly useful e.g. for API type entities where you do not want to repeat your entire API spec document inside the catalog-info.yaml file. For those cases, you can instead do something like

```yaml
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
  name: my-federated-service
spec:
  type: graphql
  definition:
    $file: ./schema.graphql
```

The textual content of that file will be injected as the value of `definition`, during each refresh loop. Both relative and absolute paths are supported, as well as any HTTP/HTTPS URL pointing to a service that returns the relevant data.
2020-09-28 14:29:37 +02:00
Patrik Oldsberg 940ea11719 backend: bump sqlite3 to v5 2020-09-28 12:34:57 +02:00
Mayurs 17c30eaf3e fix(docs): Fix typos in several .md files (#2627) 2020-09-27 18:57:20 +02:00
Himanshu Mishra 18f68cd75d Merge pull request #2598 from themousepotato/techdocs-progress-bar-fix 2020-09-26 19:30:51 +02:00
Navaneeth Suresh e85030902f Add a message if techdocs takes long time to load 2020-09-26 21:49:49 +05:30
Ben Lambert e664e96783 Merge pull request #2624 from themousepotato/add-component-ux-fix
Make title meaningful after component creation
2020-09-26 18:13:45 +02:00
Navaneeth Suresh 21a38faf9f Make title meaningful after component creation 2020-09-26 16:33:04 +05:30
Andrew Thauer 572abfe121 fix(circleci): add api route prefix to proxy rewrite path 2020-09-26 06:06:51 -04:00
Patrik Oldsberg 9a5ea983b0 plugins: remove identity-backend 2020-09-26 11:48:19 +02:00
Matthew Clarke eb4c704674 kubernetes: deployment pod table (#2618)
* deployment pod table

* prettier manifest file

* pr feedback
2020-09-25 16:25:25 +01:00
Patrik Oldsberg e8f0c6b7b8 Merge pull request #2610 from spotify/rugvip/discovery
plugins/circleci: refactor to use DiscoveryApi
2020-09-25 16:19:02 +02:00
Patrik Oldsberg a20bc00b41 plugins/circleci: refactor to use DiscoverApi 2020-09-25 15:57:31 +02:00
Patrik Oldsberg 715257ff07 plugins/jenkins: maybe refactor to use DiscoveryApi 2020-09-25 15:07:07 +02:00
Patrik Oldsberg 29c1ed2d99 auth-backend: move auth provider router creation to router 2020-09-25 13:45:13 +02:00
Patrik Oldsberg 6e7b881f64 Merge pull request #2600 from spotify/rugvip/disco
backend: add service discovery interface and implement for single host deployments
2020-09-25 13:32:36 +02:00
Ben Lambert 57703db6f9 Merge pull request #2284 from jibone/add-saml-login
Add saml login to backstage
2020-09-25 11:37:17 +02:00
Oliver Sand d7c2adae86 Merge pull request #2597 from SDA-SE/feat/api-ingestion
feat: add ApiDefinitionAtLocationProcessor that allows to load a API definition from another location
2020-09-25 11:19:26 +02:00
Ivan Shmidt 4984498b7c Merge pull request #2563 from RoadieHQ/recent-workflows-widget
Add widget to show recent git workflow runs
2020-09-25 10:54:47 +02:00
Patrik Oldsberg 2a443ce68d techdocs-backend: use endpoint discovery to look up catalog url 2020-09-25 10:50:33 +02:00
Patrik Oldsberg 0e76ab7873 backend: add and use for external URL discovery 2020-09-25 10:50:32 +02:00
Oliver Sand 9433565fe7 feat: add ApiDefinitionAtLocationProcessor that allows to load a API definition from another location
Resolves #2572
2020-09-25 10:35:06 +02:00
Fredrik Adelöw 495ce298ee Merge pull request #2586 from spotify/freben/case-insensitive
feat(catalog): entirely case insensitive read path of entities
2020-09-25 10:22:07 +02:00
Matthew Clarke b16e164815 K8s add cluster lookup (#2571)
* Kubernetes plugins boilerplate

* pr feedback; check for k8s annotation

* temp

* fix config

* add example local setup

* dice rolelr

* rever yarn lock update

* forgotten prettier

* prettier again

* master lock

* update lock with k8s deps

* prettier

* router tests

* internal error

* fix package.json

* PR feedback

* more pr feedback

* rename component file

* kubernetes fetcher tests

* fix test

* option constructor
2020-09-24 16:30:48 +01:00
Emma Indal b41ffc8c0f add /api to catalog endpoint (#2595) 2020-09-24 17:26:34 +02:00
Julien Lind 7cae755909 Update README.md (#2591)
API Path missing on non-local deployment
2020-09-24 16:26:30 +02:00
Patrik Oldsberg 9c5a0e836b Merge pull request #2562 from spotify/rugvip/api
backend: change the default backend plugin mount point to /api
2020-09-24 15:58:12 +02:00
Fredrik Adelöw ab4de80231 feat(catalog): entirely case insensitive read path of entities 2020-09-24 14:48:42 +02:00
Ben Lambert cab19ba21e Merge pull request #1724 from spotify/feat/backend-plugin
Create backend plugin through CLI
2020-09-24 14:18:06 +02:00
blam f77e21ea8d chore(diff): updating plugin diff for new k8s plugin 2020-09-24 11:46:52 +02:00
Iain Billett f910491c58 Add widget to show recent git workflow runs
* Fix Entity Page layout
* Fix mock api injection
2020-09-24 10:46:17 +01:00
Iain Billett 63d3a4d3da Add widget to show recent git workflow runs
Adds a widget to show recent git workflow runs to the
github actions plugin. The default setting is the last
5 runs across all branches but both branch and the
number of runs are configurable.
2020-09-24 10:46:17 +01:00
Ben Lambert da2a12d61a Merge pull request #2588 from spotify/bug/make-gcp-public
chore(gcp): updating gcp projects npm visibility
2020-09-24 11:30:43 +02:00
blam f326c2ee1e Merge branch 'master' of github.com:spotify/backstage into feat/backend-plugin
* 'master' of github.com:spotify/backstage: (30 commits)
  fix(techdocs-core): use the content of the readme as long description for the pypi package (#2578)
  chore: add contrib to CONTRIBUTING.md (#2585)
  Fix typo (#2584)
  backend-common: default config env to development
  v0.1.1-alpha.23
  TechDocs: Inject CSS transformer and initial backstage style integration for reader (#2560)
  bug(gql): use import to import the graphql module
  Rename file
  [blog] Announce CNCF Sandbox (#2568)
  document cleaning - tutorial quickstarts (#2520)
  Simplify codecov flag names
  chore(scaffolder-backend): typo in visibility
  Kubernetes plugins boilerplate (#2559)
  CHANGELOG: add entry for SessionApi refactor
  Upload package specific code coverage to codecov
  Add codecov flags for core and core-api packages
  TechDocs: Enable allowVulnerableTags in sanitize-html (#2554)
  chore: trust the Boolean :)
  docs: regenerate api reference docs
  core: refactor SessionStateApi to SessionApi with sign-in/out
  ...
2020-09-24 10:54:04 +02:00
blam 37a4a3afd0 chore(deps): updating dependencies for plugin 2020-09-24 10:52:26 +02:00
blam 5be5d6bca5 chore(gcp): updating gcp projects npm visibility 2020-09-24 10:48:44 +02:00
J Shamsul Bahri (jibone)) e3b504798a revert identifyEnv implementation 2020-09-24 11:28:43 +08:00
Patrik Oldsberg b5e6051959 Merge pull request #2577 from spotify/blam/new-release
Release v0.1.1-alpha.23
2020-09-23 18:22:40 +02:00
blam 6c55d38348 v0.1.1-alpha.23 2020-09-23 16:40:49 +02:00
Sebastian Qvarfordt 19e34b5319 TechDocs: Inject CSS transformer and initial backstage style integration for reader (#2560)
* Inject CSS transformer and initial backstage style integration for reader

* Update plugins/techdocs/src/reader/transformers/injectCss.test.ts

Co-authored-by: Emma Indal <emmai@spotify.com>

* Fix test name and run injectCss in preTransformer

* Fix for invisible links in reader

* Added missing semi-colon

* Better styling on codeblocks

Co-authored-by: Emma Indal <emmai@spotify.com>
2020-09-23 16:40:18 +02:00
blam c2d34c9b33 bug(gql): use import to import the graphql module 2020-09-23 16:08:34 +02:00
J Shamsul Bahri (jibone)) f8f47125f0 Merge branch 'master' into add-saml-login 2020-09-23 17:36:36 +08:00
Patrik Oldsberg 521728348d backend: change the default backend plugin mount point to /api 2020-09-23 09:39:47 +02:00
Fredrik Adelöw e9b1c931b8 chore(scaffolder-backend): typo in visibility 2020-09-23 07:58:10 +02:00
Matthew Clarke e3c99d72f1 Kubernetes plugins boilerplate (#2559)
* Kubernetes plugins boilerplate

* pr feedback; check for k8s annotation
2020-09-22 15:47:27 +01:00