Commit Graph

1821 Commits

Author SHA1 Message Date
blam 6f70008386 chore(cli): fixing issues with the new dependency 2020-09-21 23:37:35 +02:00
Raghunandan Balachandran 523a07de27 Merge pull request #2517 from SDA-SE/feat/improve-add-example-button
feat: move add example components to a more visible space and change behavior
2020-09-21 15:17:05 +02:00
Ivan Shmidt f8d0716178 Merge pull request #2528 from spotify/shmidt-i/catalog-show-only-components
feat(catalog): show only components
2020-09-21 09:31:36 +02:00
Ivan Shmidt 4d791599c3 feat(catalog): show only components 2020-09-21 09:13:16 +02:00
Fredrik Adelöw c742a38ddb fix(gcp-projects): some postponed cleanup of the plugin code (#2523) 2020-09-21 08:43:51 +02:00
blam d46b993c90 test(catalog/gql): added some test for the catalog graphql module 2020-09-20 22:40:57 +02:00
blam fff010b0d1 Merge branch 'master' of github.com:spotify/backstage into mob/union-types
* 'master' of github.com:spotify/backstage:
  Update quickstart-app-auth.md
  Update changelog
  v0.1.1-alpha.22
  v0.1.1-alpha.21
  TechDocs: Use a flag to determine if we should use a local mkdocs or techdocs-container (#2503)
  feat(catalog-backend): delete log entries older than a cutoff
  fix(workflows): do not run e2e when contrib or docs change
  chore(contrib): form the basic contrib hierarchy
  fix(catalog-backend): address comments and add docs
  fix(catalog-backend): unify github and github/api, and use git-url-parse
2020-09-20 21:00:45 +02:00
blam 2ed582f04a test(catalog/gql): added some tests as i couldn't get codecov to ignore 2020-09-18 16:37:05 +02:00
Raghunandan 72235dd51e v0.1.1-alpha.22 2020-09-18 15:14:38 +02:00
Raghunandan 259205727e v0.1.1-alpha.21 2020-09-18 15:13: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
Ben Lambert 23e8350121 Merge pull request #2519 from spotify/freben/cut-logs
feat(catalog-backend): delete log entries older than a cutoff
2020-09-18 14:17:47 +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 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
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
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 94b8e88eba fix(catalog-backend): address comments and add docs 2020-09-18 10:00:58 +02: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
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
blam 99ee33abf5 chore(catalog/gql): tidying up formatting 2020-09-17 14:52:18 +02: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
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
Oliver Sand bcf0f4cc11 feat: rework Api Explorer components
The table in the API explorer now shows details such as tags, owner, and description.
2020-09-17 12:39:20 +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
Fredrik Adelöw 4077b424fa feat(catalog-backend): support GHE and other GitHub providers 2020-09-17 09:04:35 +02:00
Tim Jacomb 1b45fbc442 Simplify code 2020-09-17 07:25:27 +01:00
Tim Jacomb fcdae603ba Merge branch 'master' into add-access-support 2020-09-17 07:17:12 +01:00
dependabot[bot] e5b79755c0 chore(deps): bump nodegit from 0.26.5 to 0.27.0 (#2454)
Bumps [nodegit](https://github.com/nodegit/nodegit) from 0.26.5 to 0.27.0.
- [Release notes](https://github.com/nodegit/nodegit/releases)
- [Changelog](https://github.com/nodegit/nodegit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodegit/nodegit/compare/v0.26.5...v0.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 21:50:53 +02:00
Tim Jacomb fd7809ea34 Merge branch 'master' into add-access-support 2020-09-16 16:02:01 +01:00
Patrik Oldsberg 35abda0fa0 Merge pull request #2352 from timja/new-routing-jenkins
Update Jenkins plugin to new routing
2020-09-16 16:54:20 +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
Patrik Oldsberg 1fea972187 Merge pull request #2088 from andrewthauer/api-docs-graphql
Add GraphQL support to API Docs
2020-09-16 16:37:11 +02:00
Tim Jacomb 38c0672e1e Merge branch 'master' into new-routing-jenkins 2020-09-16 14:46:49 +01:00
Tim Jacomb f93d7a15fc Condense if to else if 2020-09-16 14:36:52 +01:00
Tim Jacomb a40012d974 Reword 2020-09-16 14:14:46 +01:00