74233 Commits

Author SHA1 Message Date
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
blam 96ddf2bfb9 ignore graphql plugins from codecov 2020-09-18 14:00:17 +02:00
Fredrik Adelöw 082d8b0bfd feat(catalog-backend): delete log entries older than a cutoff 2020-09-18 13:57:43 +02:00
Oliver Sand 6a60d609e8 feat: move add example components to a more visible space and change behavior
Previously the button was displayed every time the table was empty. This event happend during filtering, causing the layout to switch around. Now we check if the catalog is completly empty instead. In addition the button is now at the top of the page and not part of the table. If no example locations are configured, it is completly hidden.
2020-09-18 12:56:51 +02:00
blam 3c9e6199e3 chore(catalog/gql): making the backend start 2020-09-18 12:53:54 +02:00
blam 1903f6d987 Merge branch 'master' of github.com:spotify/backstage into mob/union-types
* 'master' of github.com:spotify/backstage: (22 commits)
  [microsite] Add CNCF logo (#2511)
  feat: use title for API type in table
  new tutorials (#2435)
  e2e-test: ignore unhandled errors from jsdom
  Techdocs without docker-in-docker (#2438)
  Test for docker before attempting to run a container (#2497)
  scaffolder: Fix backend fails to start
  feat: add api-docs config ref for widgets
  Mark docs template description as required
  Send component description to GitHub
  Pass props to lists and control rendering from outside wrapper
  Remove commented out code
  Remove unnecessary boolean conversion
  docs: improve navigation around ADRs
  Update default-app template
  Handle empty sections
  Change logic of FeatureFlags.toggle()
  Update sidepar
  Add featureflags components and toggle method on api
  Cleanup and breaking out into more components
  ...
2020-09-18 12:50:21 +02:00
ebarrios ab4d4d2f03 Ran prettier on packages/app/src/components/catalog/EntityPage.tsx 2020-09-18 12:45:23 +02:00
ebarrios f5b20d5772 Change readme from cloudbuild to Goolge cloudbuild 2020-09-18 12:15:41 +02:00
ebarrios 3f6bd83216 Merge branch 'cloudbuild-plugin' of github.com:ebarriosjr/backstage into cloudbuild-plugin 2020-09-18 12:14:41 +02:00
ebarrios f12de035d2 Change readme from cloudbuild to Goolge cloudbuild 2020-09-18 12:14:30 +02:00
Esteban Barrios 53393f6410 Merge branch 'master' into cloudbuild-plugin 2020-09-18 11:53:31 +02:00
ebarrios 8bdf33c0d4 Cleanup unused types 2020-09-18 11:51:11 +02:00
Oliver Sand ddc1cbd96a Merge pull request #2502 from SDA-SE/feat/small-api-explorer-improvement
feat: use title for API type in table
2020-09-18 11:43:11 +02:00
Stefan Ålund 6341af5b31 [microsite] Add CNCF logo (#2511) 2020-09-18 11:24:51 +02:00
Oliver Sand 20353279d7 feat: use title for API type in table
Now that the API definition types are available via an API, we can resolve the remaining TODO comment here.
2020-09-18 11:21:46 +02:00
Fredrik Adelöw c44af2deac fix(workflows): do not run e2e when contrib or docs change 2020-09-18 11:15:49 +02:00
Fredrik Adelöw 53d1f1f9a5 chore(contrib): form the basic contrib hierarchy 2020-09-18 11:04:03 +02:00
ebarrios 0d1695715e Removed unused types 2020-09-18 10:50:50 +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 94b8e88eba fix(catalog-backend): address comments and add docs 2020-09-18 10:00:58 +02:00
Patrik Oldsberg 7a701490c2 Merge pull request #2505 from spotify/rugvip/nodoom
e2e-test: ignore unhandled errors from jsdom
2020-09-18 09:47:32 +02:00
Fabian Chong 885e9a63f6 use version from lerna.json or fallback to 0.1.0 2020-09-18 13:10:50 +08:00
dependabot[bot] cc2afdb9e3 chore(deps): bump @types/webpack-env from 1.15.2 to 1.15.3
Bumps [@types/webpack-env](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack-env) from 1.15.2 to 1.15.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack-env)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 04:19:00 +00:00
blam dcb30638d3 chore(catalog/gql): fixing typescript 2020-09-18 02:44:23 +02:00
blam 6b1038d236 chore(catalog/gql): fixing issues for build failure 2020-09-18 01:51:10 +02:00
blam 956cdea2d6 feat(catalog/gql): running prettier on some files that neeeded it 2020-09-18 01:34:04 +02:00
Jesse Alan Johnson 975b97daf2 new tutorials (#2435)
* new tutorial

* prettier formatting

* Update quickstart.md

* prettier write

* refined quickstart tutorial

* Create QuickStart-app-plugin

* Rename QuickStart-app-plugin to quickStart-app-plugin

* Update and rename quickStart-app-plugin to quickstart-app-plugin

* Adding second tutorial with prettier

* removing rogue file

* updating where to go link

* adding sidebars entry for new tutorials
2020-09-17 20:41:13 +02:00
Patrik Oldsberg 51a9b70e3a e2e-test: ignore unhandled errors from jsdom 2020-09-17 19:22:12 +02:00
ebarrios d139cf6a28 Created a plugin for cloud build as CI/CD 2020-09-17 17:59:05 +02:00
Ben Lambert 3cdbf5e0b5 Merge pull request #2500 from timja/fix-scaffolder-crashes
scaffolder: Fix backend fails to start
2020-09-17 16:54:32 +02:00
Tim Hansen 704c6c2f34 Merge branch 'master' of https://github.com/spotify/backstage 2020-09-17 08:17:19 -06: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
Perry Manuk 21a366077a Techdocs without docker-in-docker (#2438)
We're deploying backstage to GKE and have had issues getting techdocs
volume mount logic to work because of mixing paths between the host and
the container running the backend. So we added a condition where if
mkdocs is found in the backend container it will use that to generate
the docs rather than spinning it up in a docker container.
2020-09-17 15:26:39 +02:00
Iain Billett 2331e79897 Test for docker before attempting to run a container (#2497)
Test for docker using ping() before attempting any docker
operations. If this fails we know docker is unavailable
and we can fail with an more descriptive error.
2020-09-17 15:18:13 +02:00
Raghunandan Balachandran 0e3218b454 Merge pull request #2470 from RoadieHQ/dtuite/send-description-to-git-hub
Send template description to GitHub
2020-09-17 15:17:49 +02:00
Raghunandan Balachandran 86caffcead Merge pull request #2499 from SDA-SE/feat/improve-adrs-sidebar
docs: improve navigation around ADRs
2020-09-17 15:15:33 +02:00
Andrew Thauer af653e0e13 Merge pull request #2451 from andrewthauer/api-docs-definitions
Add apiDocsConfigRef to configure ApiDefinitionWidgets
2020-09-17 09:14:43 -04:00
blam 99ee33abf5 chore(catalog/gql): tidying up formatting 2020-09-17 14:52:18 +02:00
Tim Jacomb d8d074c1b4 scaffolder: Fix backend fails to start 2020-09-17 13:48:47 +01:00
blam 6824411684 feat(catalog/gql): fixing some of the feedback from PR and updating namings 2020-09-17 14:45:40 +02:00
Andrew Thauer 8e64ca250c feat: add api-docs config ref for widgets 2020-09-17 08:44:27 -04:00
blam 2083d75f71 Merge branch 'mob/union-types' of github.com:spotify/backstage into mob/union-types
* 'mob/union-types' of github.com:spotify/backstage: (34 commits)
  fix(yarn): fixup yarn.lock
  docs(catalog/grqphql): updating docs
  chore(gql/catalog): fixing some code review comments
  chore(gql/catalog): fixing dependencies
  chore: reverting code
  feat(gql/catalog): to remove the duplication in the schema thanks to the limitations on implements, let's create the schema using javascript
  feat(gql/catalog): working on making the schema nice
  feat(gql/catalog): Reduce the amount of duplication a little for unions
  chore(catalog/gql): fixing csp for playground
  chore(catalog/gql): move the catalog schema out of src
  chore(gql/catalog): updating the return types from the catalog api
  chore(gql/catalog): removing the mock data scripts for catalog-graph  l
  chore(gql/catalog): actually read
  chore(gql/catalog): fixing bundling of graphql asse
  chore(gql/catalog): removing the mock-data stuff
  feat(gql/catalog): implement the label resolver
  feat(gql/catalog): Fixing some of the query issues
  chore(gql/catalog): making the client alittle more readabke
  chore(gql/catalog): Added some more metadata fields to the catalog entities
  feat(gql/catlaog): Tidying up the resolver for the annotations
  ...
2020-09-17 14:22:58 +02:00
blam 46c11dd7d3 Merge branch 'master' of github.com:spotify/backstage into mob/union-types
* 'master' of github.com:spotify/backstage: (656 commits)
  Update playback-order-component.yaml (#2495)
  feat: rework Api Explorer components
  Add GitLab integration for scaffolder
  feat(catalog-backend): support GHE and other GitHub providers
  Add scaffolder config to monorepo (#2492)
  Simplify code
  prettified md
  Added PlantUML diagrams in backstage.io docs (#2413)
  chore(deps): bump nodegit from 0.26.5 to 0.27.0 (#2454)
  grammar correction
  added description header field
  added description header field
  added description header field
  added description header field
  added description header field
  Condense if to else if
  Update docs
  Reword
  Make access optional
  eslintignore: add template dirs
  ...
2020-09-17 14:15:50 +02:00
David Tuite 2e35f300d0 Mark docs template description as required
In my testing, attempts to create a docs site with no description would
fail with the error:

```
Unable to create file 'component-info.yaml'
Error message: 'collections.OrderedDict object' has no attribute 'description'
```

Better to mark it required than let the user hit the error.
2020-09-17 13:14:15 +01:00
David Tuite 1cb1919f0c Send component description to GitHub
We might as well set the description on the GitHub repo while we're
creating it.
2020-09-17 13:14:12 +01:00
Ben Lambert ef4108dcaa Merge pull request #2426 from muffix/fix-2372-add-gitlab-to-scaffolder
Add GitLab integration for scaffolder
2020-09-17 13:54:09 +02:00
Marcus Eide 3664ef13c2 Pass props to lists and control rendering from outside wrapper 2020-09-17 13:53:57 +02:00
Marcus Eide b67b2b6c0a Remove commented out code 2020-09-17 13:37:29 +02:00
Marcus Eide fd83d501db Remove unnecessary boolean conversion 2020-09-17 13:36:12 +02:00
Oliver Sand cf32c9d02d Merge pull request #2496 from SDA-SE/feat/api-explorer-ui
feat: rework Api Explorer components
2020-09-17 13:19:43 +02:00