Commit Graph

604 Commits

Author SHA1 Message Date
Fredrik Adelöw b66bbaec12 chore(deps): get rid of vulnerable node-forge (again) and node-fetch 2020-10-06 10:06:31 +02:00
Fredrik Adelöw 2b30fafa19 chore(deps): get rid of vulnerable bl and node-forge 2020-10-06 09:20:24 +02:00
dependabot[bot] bf60b84d99 chore(deps-dev): bump @graphql-codegen/cli from 1.17.8 to 1.17.10 (#2746)
Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 1.17.8 to 1.17.10.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@1.17.10/packages/graphql-codegen-cli)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 21:06:48 +02:00
dependabot[bot] 51f1b48c5f chore(deps-dev): bump @types/supertest from 2.0.9 to 2.0.10 (#2713)
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.9 to 2.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 21:05:58 +02:00
Fredrik Adelöw b9c8062c08 feat(catalog): add an ldap processor 2020-10-05 14:59:11 +02:00
Patrik Oldsberg 3af33eb045 Merge pull request #2704 from spotify/rugvip/files
cli: add new rollup plugin for forwarding file imports
2020-10-02 18:27:38 +02:00
Oliver Sand cb68a413a1 fix(deps): update @kyma-project/asyncapi-react to 0.13.1
There were some missing features and markdown was not rendered properly, but this is fixed now.
2020-10-02 12:58:19 +02:00
dependabot[bot] d5aede15e1 chore(deps): bump jsonschema from 1.2.6 to 1.2.7 (#2712)
Bumps [jsonschema](https://github.com/tdegrunt/jsonschema) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/tdegrunt/jsonschema/releases)
- [Commits](https://github.com/tdegrunt/jsonschema/compare/v1.2.6...v1.2.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 08:41:13 +02:00
Mayursinh Sarvaiya 5c6a0356c0 feat: TechDocs - Add vale linter to check words quality in md files. (#2631)
* fix(docs): typos which were reflacted from vale linter's command

* feat: Implement Vale linter (#2031)
Initialize .vale.ini file
Add 'lint:docs' script to package.json, to lint all md files except the ones which are located in node_modules
Generate 'vocab.txt' by using command 'yarn run lint:docs' | grep -o ''[a-z A-Z]*'' | grep -o '[a-z A-Z]*' | sort | uniq > .github/styles/vocab.txt
Add steps to github workflow 'master' to check docs quality

* chore: Separate workflow for quality checking

* chore: Added 'shx' dev dependency to support grep command in cross platform

* feat: Add script to operate same quality check process on different platform

* ignore: remove lint:docs from lint-stages which was added for experiment purpose

* fix: check-all-files on push event & check-changed-files on pull_request event

* chore(CI): triggle workflow only when there is any updates in .md file(s) on pull request

* fix: use spawnSync to solve 'The command line is too long.' error

* fix: github workflow syntax

* fix: prettier error

* chore: add vale command directly to lint-staged

* chore: use shebang for easy access

* fix: windows script issue & remove shebang

* chore: Add shebang flag

* chore: better error message related to vale

* chore: mention vale linter in documentation

* fix: spelling errors & add keywords to vocab.txt
2020-10-02 07:20:47 +02:00
Patrik Oldsberg cba7605ce0 cli: add new rollup plugin for forwarding file imports 2020-10-01 20:03:25 +02:00
dependabot[bot] c541d61b4f chore(deps): bump rollup-plugin-typescript2 from 0.26.0 to 0.27.3
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.26.0 to 0.27.3.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.26.0...0.27.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 04:36:54 +00: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
dependabot[bot] 37ae2bad74 chore(deps-dev): bump @types/jest from 26.0.9 to 26.0.14 (#2668)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.9 to 26.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:55:31 +02:00
Fredrik Adelöw c6ba9cba49 feat(catalog-backend): implement github org entity ingestion 2020-09-30 07:33:49 +02:00
Andrew Thauer 1f21de7b43 feat(catalog): add codeowners processor 2020-09-29 07:35:05 -04:00
Ben Lambert f9fa53153e Merge pull request #2629 from spotify/dependabot/npm_and_yarn/storybook-dark-mode-1.0.3
chore(deps-dev): bump storybook-dark-mode from 1.0.2 to 1.0.3
2020-09-29 09:47:12 +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 53a37bfee5 Merge pull request #2630 from spotify/rugvip/node14
package: allow node v14 and add to master build matrix
2020-09-28 16:46:52 +02:00
blam a0893378f5 Merge branch 'master' of github.com:spotify/backstage into rugvip/node14
* 'master' of github.com:spotify/backstage:
  Add initial kubernetes services and configmap UI support (#2635)
  Clean up the repository
  Integrate with travis-ci plugin
  docs: fix typos in the documentation (#2633)
  fix(circleci): add api route prefix to proxy rewrite path
2020-09-28 15:54:29 +02:00
blam 15911e7a1a deps(esbuild): bumping esbuild to latest 0.7.7 2020-09-28 15:33:47 +02:00
Marek Calus 0ed398633a Integrate with travis-ci plugin 2020-09-28 14:39:58 +02:00
Mattias Frinnström 56a9f8389b Add Azure DevOps publisher to scaffolder 2020-09-28 14:19:20 +02:00
Patrik Oldsberg 940ea11719 backend: bump sqlite3 to v5 2020-09-28 12:34:57 +02:00
dependabot[bot] 37c8d08865 chore(deps-dev): bump storybook-dark-mode from 1.0.2 to 1.0.3
Bumps [storybook-dark-mode](https://github.com/hipstersmoothie/storybook-dark-mode) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/hipstersmoothie/storybook-dark-mode/releases)
- [Changelog](https://github.com/hipstersmoothie/storybook-dark-mode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hipstersmoothie/storybook-dark-mode/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 04:33:53 +00:00
Ben Lambert d485de4e63 Merge pull request #2507 from spotify/dependabot/npm_and_yarn/types/webpack-env-1.15.3
chore(deps): bump @types/webpack-env from 1.15.2 to 1.15.3
2020-09-25 13:28:01 +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
blam f77e21ea8d chore(diff): updating plugin diff for new k8s plugin 2020-09-24 11:46:52 +02:00
blam f326c2ee1e Merge branch 'master' of github.com:spotify/backstage into feat/backend-plugin
* 'master' of github.com:spotify/backstage: (30 commits)
  fix(techdocs-core): use the content of the readme as long description for the pypi package (#2578)
  chore: add contrib to CONTRIBUTING.md (#2585)
  Fix typo (#2584)
  backend-common: default config env to development
  v0.1.1-alpha.23
  TechDocs: Inject CSS transformer and initial backstage style integration for reader (#2560)
  bug(gql): use import to import the graphql module
  Rename file
  [blog] Announce CNCF Sandbox (#2568)
  document cleaning - tutorial quickstarts (#2520)
  Simplify codecov flag names
  chore(scaffolder-backend): typo in visibility
  Kubernetes plugins boilerplate (#2559)
  CHANGELOG: add entry for SessionApi refactor
  Upload package specific code coverage to codecov
  Add codecov flags for core and core-api packages
  TechDocs: Enable allowVulnerableTags in sanitize-html (#2554)
  chore: trust the Boolean :)
  docs: regenerate api reference docs
  core: refactor SessionStateApi to SessionApi with sign-in/out
  ...
2020-09-24 10:54:04 +02:00
blam 65664e2c30 chore(cli): fixing create again 2020-09-22 01:54:38 +02:00
Patrik Oldsberg af2567efbf Merge branch 'master' into tm/add-changesets 2020-09-21 17:53:02 +02: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 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
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
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
Iain Billett ef9117f50a Validate template values on calls to the scaffolder API
Calls to the scaffolder API should use the schema from the template
entity to validate input values.
2020-09-16 08:44:38 +01:00
Fredrik Adelöw 9888418d41 missing yarn.lock updates again (#2456)
* missing yarn.lock updates again

* yarn.lock: sync the sync

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2020-09-14 16:43:20 +02:00
Taras Mankovski 247e7b3471 Add @changesets/cli as a dependency & init changesets 2020-09-13 13:19:27 -04:00
Dominik Henneke 7553827223 feat(proxy-backend): support limiting the proxied HTTP methods 2020-09-11 13:56:41 +02:00
dependabot[bot] 2398a95e5c chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#2412)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 10:28:37 +02:00
dependabot[bot] 01c32f8a66 chore(deps): bump @svgr/plugin-svgo from 4.3.1 to 5.4.0 (#2378)
Bumps [@svgr/plugin-svgo](https://github.com/gregberge/svgr) from 4.3.1 to 5.4.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v4.3.1...v5.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 14:54:55 +02:00
Fredrik Adelöw a740061e6c Merge pull request #2382 from spotify/dependabot/npm_and_yarn/react-use-15.3.4
chore(deps): bump react-use from 15.3.3 to 15.3.4
2020-09-09 22:51:33 +02:00
dependabot[bot] 2fe9af2558 chore(deps-dev): bump husky from 4.2.5 to 4.3.0
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 17:43:22 +00:00
dependabot[bot] c633cf3165 chore(deps): bump react-use from 15.3.3 to 15.3.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.3 to 15.3.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.3...v15.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 17:36:40 +00:00
dependabot[bot] 2e7afee847 chore(deps): bump webpack-node-externals from 2.5.0 to 2.5.2 (#2377)
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v2.5.0...v2.5.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 17:42:35 +02:00
dependabot[bot] c113af9999 chore(deps): bump whatwg-fetch from 3.4.0 to 3.4.1
Bumps [whatwg-fetch](https://github.com/github/fetch) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/github/fetch/releases)
- [Commits](https://github.com/github/fetch/compare/v3.4.0...v3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 14:39:32 +00: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
dependabot-preview[bot] 277ec7ce1a chore(deps): bump @octokit/rest from 18.0.0 to 18.0.5
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.0 to 18.0.5.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.0...v18.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 10:04:06 +00:00