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.
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.
* '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
...
* '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
...
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.
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
* Prompt the user for a description in templates
The text "Description of the component" was a little redundant since the
label already says "Description". This description text hints to the
user why they should bother adding an informative description.
* Inform user about lowercase, url-safe constraint
Create React App scaffolding fails when a name with spaces or other
non-url-safe chars are provided. Instead of making the user wait for a
failure, Backstage should tell them about this constraint up front.