Commit Graph

112 Commits

Author SHA1 Message Date
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
Marcus Eide bc48f67508 Merge pull request #2420 from spotify/eide/hack-user-settings-dialog
sidebar: User settings dialog
2020-09-18 10:17:27 +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 f1ca8daee8 Merge pull request #2490 from spotify/freben/ghe
feat(catalog-backend): support GHE and other GitHub providers
2020-09-17 10:51:48 +02:00
Patrik Oldsberg 4a23442c57 Merge pull request #2404 from timja/patch-1
Add ssl config to example app for postgres
2020-09-17 10:15:02 +02:00
Fredrik Adelöw 4077b424fa feat(catalog-backend): support GHE and other GitHub providers 2020-09-17 09:04:35 +02:00
Marcus Eide e9c59b773e Update default-app template 2020-09-17 08:55:31 +02:00
Patrik Oldsberg 85a1574e9f Merge pull request #2429 from taras/tm/scaffold-repo-visibility
Add the ability to configure repository visibility via config
2020-09-16 16:52:22 +02:00
Raghunandan b8acf90f31 Update favicon to latest. Add Backstage logo to sidebar in create-app template 2020-09-16 12:25:25 +02:00
Tim Jacomb 77a4102a1a Comment out by default 2020-09-16 08:00:14 +01:00
Tim Jacomb 1928c46246 Try disable instead 2020-09-16 07:35:07 +01:00
Tim Jacomb 17a304703b Review feedback 2020-09-16 07:13:06 +01:00
Tim Jacomb bd6ae84803 Update packages/create-app/templates/default-app/app-config.yaml.hbs 2020-09-15 21:35:45 +01:00
Taras Mankovski a7d5ade5a1 Merge GitHub scaffolding instructions 2020-09-15 16:31:35 -04:00
Taras Mankovski 6ea4ac7b17 Add config for scaffolder to create-app's app-config.yaml 2020-09-15 16:29:46 -04:00
Tim Jacomb 4fc24933b1 Update packages/create-app/templates/default-app/app-config.yaml.hbs 2020-09-15 09:04:48 +01:00
Tim Jacomb 563d3b004d Update app-config.yaml.hbs 2020-09-15 08:44:59 +01:00
Tim Jacomb cccdf8d32a Revert "Restore app-config.yaml.hbs"
This reverts commit ec39c956a4.
2020-09-15 08:43:59 +01:00
Tim Jacomb ec39c956a4 Restore app-config.yaml.hbs 2020-09-15 08:42:54 +01:00
Tim Jacomb 06b2c9ea6e Add docs link 2020-09-15 08:42:41 +01:00
Patrik Oldsberg 3cf20cbad7 remove mock-data scripts 2020-09-12 15:27:27 +02:00
Patrik Oldsberg 75c7a055c1 app-config: use catalog.locations + aggregating location entities 2020-09-12 15:27:26 +02:00
Patrik Oldsberg 30f42d7655 create-app: sync backend Dockerfile 2020-09-10 18:08:21 +02:00
Tim Jacomb 4ec10a0643 Add ssl config to example app for postgres 2020-09-10 14:41:58 +01: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 2a666f0b4e Merge pull request #2345 from spotify/shmidt-i/fix-register-component-plugin-catalog-link
Fix link to catalog after component was registered
2020-09-09 14:58:00 +02:00
Fredrik Adelöw 0a24df743f chore: bump mui to the create-app resolved version, to lose Accordion warnings 2020-09-09 11:18:18 +02:00
Ivan Shmidt e43df1de20 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/circle-ci-plugin-new-route-api 2020-09-09 01:07:07 +02:00
Ivan Shmidt 3181398b20 fix(register-component): pass through the catalog router ref 2020-09-09 01:00:32 +02:00
Patrik Oldsberg ef701773c3 Merge pull request #2285 from spotify/rugvip/di
Switch to automatic dependency injection of Utility APIs
2020-09-08 18:51:23 +02:00
Stefan Ålund 1b9673799f Remove Explore from sidebar (#2327)
* Remove Explore from sidebar

* Also in app
2020-09-08 14:39:49 +02:00
Patrik Oldsberg b3770859eb create-app: update apis.ts for auto DI 2020-09-08 11:31:49 +02:00
Ivan Shmidt 26cd64847d Merge branch 'master' of github.com:spotify/backstage into shmidt-i/plugin-explore-migration-to-new-routing-api 2020-09-08 10:03:03 +02:00
Ivan Shmidt 2371529edd feat: remove explore plugin from app 2020-09-08 09:53:34 +02:00
Ivan Shmidt 83a2be4bd2 Merge pull request #2318 from spotify/rugvip/radar
plugins/tech-radar: migrate to new plugin pattern and avoid using api for config
2020-09-07 23:28:25 +02:00
Ivan Shmidt 298851b312 feat(plugin-explore): migrate to new routing api 2020-09-07 23:03:33 +02:00
Ivan Shmidt 37e72cf457 fix: lint & typos 2020-09-07 22:18:10 +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 66a2a870bc plugins/tech-radar: migrate to new plugin pattern and avoid using api for config 2020-09-07 20:10:08 +02:00
Patrik Oldsberg 3ec99fbc55 cli: make skipLibCheck default in tsconfig, but provide tsc:full 2020-09-07 17:30:57 +02:00
Emma Indal 969cf48858 [TechDocs] migrate techdocs to use new routing/catalog api (#2312)
* migrate techdocs to use new routing

* use new techdocs routing in default app

* new EntityPageDocs and Router components

* remove unused code

* remove unused import
2020-09-07 16:56:03 +02:00
Patrik Oldsberg 1db061501e Merge pull request #2299 from spotify/rugvip/db
cli: forward docker args to backend:build-image, add --build flag, and use by default
2020-09-07 13:48:37 +02:00
Fredrik Adelöw 9c76103ebd Merge pull request #2279 from SDA-SE/feat/refactor-api-docs
Refactor API docs plugin to work it in the new catalog routing
2020-09-07 08:43:56 +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 6fa721eb97 cli: add --build option to backend:image-build 2020-09-06 20:01:20 +02:00
Patrik Oldsberg 20158f0c36 cli: forward all extra backend:build-image args to docker build 2020-09-06 12:04:26 +02:00
Fabian Chong 4f17235926 create-app tsconfig 2020-09-05 15:58:34 +08:00
Ivan Shmidt 07b9316190 feat(create-app): add circleci and cicdswitcher to template 2020-09-04 16:01:20 +02:00