Commit Graph

221 Commits

Author SHA1 Message Date
Ryan Vazquez a4281932fb add cost insights plugin 2020-09-28 15:20:31 -04: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
Marek Calus 0ed398633a Integrate with travis-ci plugin 2020-09-28 14:39:58 +02:00
Mattias Frinnström 0f732731ef Restructure config for Azure DevOps scaffolder 2020-09-28 14:19:20 +02:00
Mattias Frinnström 56a9f8389b Add Azure DevOps publisher to scaffolder 2020-09-28 14:19:20 +02:00
Mattias Frinnström c109cbe4df Add Azure prepare stage to scaffolder 2020-09-28 14:19:19 +02:00
Andrew Thauer 572abfe121 fix(circleci): add api route prefix to proxy rewrite path 2020-09-26 06:06:51 -04:00
Fredrik Adelöw ad90193d2a fix(backend): make csp configurable to unbreak app-backend served apps not being able to fetch 2020-09-25 12:20:21 +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
Patrik Oldsberg 521728348d backend: change the default backend plugin mount point to /api 2020-09-23 09:39:47 +02:00
Fredrik Adelöw f7a57e89d0 Merge pull request #2501 from spotify/freben/more-github
fix(catalog-backend): unify github and github/api, and use git-url-parse
2020-09-18 15:06:18 +02:00
Sebastian Qvarfordt f097c32b59 TechDocs: Use a flag to determine if we should use a local mkdocs or techdocs-container (#2503)
* Use a flag to determine wether to use techdocs-container or local install of mkdocs

* Updated techdocs generator to look at app-config string instead of argument to decide how to run the generator

* Removed console log...

* Reverted scaffolder file that was accidentally committed.

* Fixed lint issues

* Added config to create-app template
2020-09-18 14:02:35 +02:00
Fredrik Adelöw a4e563ed2d fix(catalog-backend): unify github and github/api, and use git-url-parse 2020-09-17 15:32:40 +02:00
Björn Marschollek 55542797a9 Add GitLab integration for scaffolder
This adds a GitLab integration for the scaffolder backend.

We're introduceing a preparer and a publisher for GitLab so that we can
read templates from GitLab and publish them to a configured GitLab
instance. The two instances don't need to be the same. For instance,
templates could be public on gitlab.com, but the created repos will live
in a hosted GitLab somewhere else.

The publisher gets its own config object in `app-config.yaml` where the
target instance and token can be specified.

The service catalogue defines both `gitlab` and `gitlab/api` as
processors. They are both handled by the same preparer.

Closes #2372
2020-09-17 12:39:05 +02:00
Fredrik Adelöw 4077b424fa feat(catalog-backend): support GHE and other GitHub providers 2020-09-17 09:04:35 +02:00
Tim Jacomb 702546b8e3 Add scaffolder config to monorepo (#2492) 2020-09-17 08:45:11 +02:00
Alex Landovskis 155f6d3e39 app-config.yaml: Add missing config for GithubReaderProcessor. 2020-09-12 18:34:32 -04:00
Patrik Oldsberg 75c7a055c1 app-config: use catalog.locations + aggregating location entities 2020-09-12 15:27:26 +02:00
Sebastian Qvarfordt d865f88344 [TechDocs] Rebuild docs if the github source is newer than last docs build (#2353)
* Added age check for documentation in github to make sure it's up to date

* Updated failing tests

* Updated docs to explain requestUrl and storageUrl

* Updated failing tests

* Update packages/create-app/templates/default-app/app-config.yaml.hbs

* Update docs/features/techdocs/getting-started.md

Co-authored-by: Emma Indal <emmai@spotify.com>
2020-09-09 16:05:28 +02:00
Ivan Shmidt f3acee2537 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/circle-ci-plugin-new-route-api 2020-09-07 22:15:12 +02:00
Patrik Oldsberg b104ebce53 app-config: split cors and urls out to separate development config 2020-09-06 20:01:21 +02:00
Patrik Oldsberg b045b166b6 run prettier 2020-09-05 16:37:30 +02:00
Ivan Shmidt b9c523f3f5 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/circle-ci-plugin-new-route-api 2020-09-04 16:51:32 +02:00
Ivan Shmidt ecafe1b54d feat(circleci): use token from the proxy 2020-09-04 15:53:40 +02:00
Patrik Oldsberg 46bdf1f0ca Merge pull request #2268 from spotify/rugvip/authref
auth-backend: refactor to split lib, move types closer to home, update docs, renaming things
2020-09-04 09:59:58 +02:00
Stefan Ålund 6cc3fb47e1 Add API examples 2020-09-03 14:32:03 +02:00
Patrik Oldsberg fb2d4cf241 auth-backend: refactor EnvironmentHandler to be OAuth-specific and move env config to be a provider concern 2020-09-03 13:10:45 +02:00
Dominik Henneke 1b658f4bc3 fix: use correct rules syntax 2020-09-01 13:32:22 +02:00
Patrik Oldsberg 81cb294dac config,docs: add templates as allowed kind and document process 2020-09-01 10:40:19 +02:00
Fredrik Adelöw 761fd82d2e Merge pull request #2171 from andrewthauer/lighthouse-config
Make lighthouse url configurable in example app
2020-08-31 14:02:41 +02:00
Omer Farooq 298a9881dd update casing 2020-08-30 19:43:43 +12:00
Andrew Thauer d8877d4b7c feat: make lighthouse url configurable 2020-08-29 17:25:38 -04:00
Omer Farooq 36376778ec move processor config to catalog from backend 2020-08-29 22:22:19 +12:00
Omer Farooq a711b6fab4 rename ingestionProcessors to processors 2020-08-29 22:12:27 +12:00
Omer Farooq dd3963093d Update ingestion processors to use config system 2020-08-29 15:34:09 +12:00
Fredrik Adelöw 6d774764cd feat(proxy-backend): more proxy config tweaks and docs 2020-08-28 14:36:13 +02:00
Fredrik Adelöw a164990658 fix(create-app): updated the backend template to match new functionality 2020-08-28 11:59:29 +02:00
Tim Jacomb 827eea8a5e Remove unused config values 2020-08-28 07:47:25 +01:00
Fredrik Adelöw ddad61d824 reload the filtered entities context instead of direct fetch 2020-08-26 11:47:31 +02:00
Twisha Saraiya ddc7030731 move add mock data button to CatalogTable 2020-08-26 09:57:19 +02:00
Chris Simmons d4a6bc5504 udpated env vars to match provider name 2020-08-21 16:32:04 +12:00
Chris Simmons b253c56526 add microsoft azure auth provider + add to example app 2020-08-21 15:46:17 +12:00
Patrik Oldsberg b3fa6ffadd plugins/auth-backend: refactor providers for exporting with consistent casing 2020-08-20 11:15:34 +02:00
Patrik Oldsberg 1d9007184c app-config: remove unnecessary auth config 2020-08-19 11:37:04 +02:00
Raghunandan Balachandran 981e66d553 Merge branch 'master' of github.com:spotify/backstage into adds_auth0 2020-08-17 13:29:15 +02:00
Raghunandan Balachandran 033233d81f Fix auth0 backend provider 2020-08-17 10:10:12 +02:00
Paul Pacheco 4cf6cf3b6c The backend listens to all interfaces by default (#1962)
* The backend listens to all interfaces by default

Previously,  if you did not specify a host,  it would only
listen to localhost,  so it would not accept connections from the network.

If you use the default generated app,  it is configured to listen to 0.0.0.0
which only listens to IPv4 interfaces.

This changes the default behavior, just listen to all interfaces.

* Add some comment
2020-08-16 09:08:36 +02:00
Patrik Oldsberg fe48229005 Merge pull request #1915 from andrewthauer/common-db-utils
Add shared database connection helpers
2020-08-15 13:57:44 +02:00
Andrew Thauer 815983ae84 add shared database connection helpers 2020-08-13 22:56:47 -04:00
Paul Pacheco e9d4ec7494 Separate port and host in configuration
Many cloud providers have an environment variable PORT.
an application is supposed to listen in that port.

Currently,  the yaml for listen address looks like this:
```yaml
backend:
  listen: 0.0.0.0:7000
```

the problem is that I can't use the port environment variable there.

This PR changes it to this:
```yaml
backend:
  listen:
    host: 0.0.0.0
    port: 7000
```

if I want to use the PORT environment variable, now I can do it like this:

```yaml
backend:
  listen:
    host: 0.0.0.0
    port:
      $secret:
         env: PORT
```
2020-08-13 12:28:03 -05:00