Commit Graph

189 Commits

Author SHA1 Message Date
Markus Heinemann 5c46f0d337 Rename config property for custom github scaffolder host 2020-10-15 20:35:43 +00:00
Markus Heinemann 6943ead4c6 feat: add base url config property to github scaffholders 2020-10-15 13:04:12 +00:00
Eric Peterson c64a0a47ea Use new expected proxy configs to hit New Relic API. 2020-10-14 17:54:15 +02:00
Matthew Clarke 0ede39fd08 split service locator and cluster locators (#2900)
* split service locator and cluster locators

* fix test
2020-10-14 15:46:11 +01:00
Ryan Vazquez 54504deb13 tweak custom metric verbiage 2020-10-13 16:43:45 -04:00
Ryan Vazquez 1268eadd19 add metric comparison to top panel 2020-10-13 16:01:50 -04:00
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
Fredrik Adelöw b9c8062c08 feat(catalog): add an ldap processor 2020-10-05 14:59:11 +02:00
Patrik Oldsberg 6775deef9b update docs and examples to use shorter config secret syntax 2020-10-04 16:51:00 +02:00
Patrik Oldsberg 238715aac2 config,docs: switch to using url location type 2020-10-03 11:55:23 +02:00
Patrik Oldsberg 41d55e8d76 backend-common: refactor UrlReaders and factories to be centered around predicates 2020-10-03 11:55:20 +02:00
Patrik Oldsberg 2b7c1b70f9 app-config: move catalog processor configs to new readers key 2020-10-03 11:55:19 +02:00
Emma Indal 497675538c TechDocs: browse metadata (#2682)
* feat(techdocs): TechDocsPageWrapper to take in labels prop and use TechDocsHeader component

* feat(techdocs): new TechDocsHeader component as wrapper around Header from core

* feat(techdocs): TechDocsPage metadata

* feat(techdocs): TechDocsMetadata class responsible for reading metadata from generated techdocs metadata json file

* fix(techdocs): delete TechDocsPageWrapper component

* fix(app-config): delete /docs from request url

* feat(techdocs): TechDocsHeader with labels to browse metadata

* fix(techdocs): move metadata to backend plugin

* feat(techdocs-backend): introduce two new metadata routes

* feat(techdocs): new techdocs api to be responsible to request metadata from backend

* feat(techdocs): register new api for plugin

* fix(techdocs): reader to take in onReady prop

* fix(techdocs): TechDocsHome component to use its own header

* fix(techdocs): TechDocsPage responsible to get metadata and pass it down to the TechDocsHeader

* fix(techdocs): component tests for both TechDocsHeader and TechDocsPage

* fix(techdocs): adjust api to use /docs in url since it was taken away in requestURL

* fix(tests): move assertion into act

* fix(techdocs): rename TechDocsHeader to TechDocsPageHeader

* fix(techdocs): rename TechDocsHeader to TechDocsPageHeader

* fix(techdocs-backend): add some logs

* Update plugins/techdocs/src/reader/components/TechDocsPage.test.tsx

* delete unused import
2020-10-01 10:12:24 +02:00
Althaf Hameez a06a13c30d Read from App Config to configure HomepageTimer (#2673)
* Read from Config for timezone timers

* Remove recusrive dependency on backstage/core and fix tsc errors

* Modify to use ConfigArray instead of fixed Config

* Fix lint and tsc errors

* Cean up app-config.yaml

* add back newline

* Fix prettier error on app-config.yaml

* Address review comments
2020-09-30 20:47:06 +02:00
Fredrik Adelöw dc6b1e7c79 Merge pull request #2669 from spotify/freben/github-org
feat(catalog-backend): implement github org entity ingestion
2020-09-30 15:08:24 +02:00
Fredrik Adelöw c6ba9cba49 feat(catalog-backend): implement github org entity ingestion 2020-09-30 07:33:49 +02:00
Ben Lambert 2d37f700a2 Merge pull request #2543 from mfrinnstrom/azure-scaffolder-prepare
Add Azure DevOps support to the scaffolder
2020-09-28 23:44:19 +02:00
Ryan Vazquez 0c2ed5979d Merge pull request #2637 from spotify/plugin-cost-insights
Cost Insights Plugin
2020-09-28 15:46:02 -04:00
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