Commit Graph

108 Commits

Author SHA1 Message Date
Patrik Oldsberg c06c7d7e6b packages/backend,cli: revert publish config and remove postpack script requirement from image-build 2020-06-25 19:58:10 +02:00
Patrik Oldsberg 66e2bfe073 backend: update packaging and add build-image command + Dockerfile
Co-authored-by: Ivan Shmidt <bahoc47@gmail.com>
2020-06-25 18:08:47 +02:00
blam 18a6a68dd0 Merge branch 'master' of github.com:spotify/backstage into mob/cookiecutter-templater
* 'master' of github.com:spotify/backstage: (21 commits)
  auth-backend: clean up comments + fix getting email from profile
  feat(catalog): show owner and lifecycle in header
  chore(catalog): move the entity examples to catalog-model
  plugins/graphiql: grayscale icon
  app: add graphiql plugin with gitlab and github endpoints
  dev-utils: add google and github auth APIs to default api factories
  plugins/graphiql: add GitHub endpoint with automatic scope detection
  build(deps): bump yup from 0.28.5 to 0.29.1
  v0.1.1-alpha.12
  packages: publish entire dist folder
  build(deps-dev): bump @storybook/addon-links from 5.3.18 to 5.3.19 (#1414)
  v0.1.1-alpha.11
  cli: include assets-types in published package
  storybook: update identity api mock
  core-api: update loginPopup tests
  core: fix sign-in hot reloading issues and unmounted component access
  core-api: update web message response handling in loginPopup to expect RFC format
  Identity and profile work, wip
  build(deps): bump @rollup/plugin-node-resolve from 7.1.3 to 8.1.0
  backend - fix types + refactoring
  ...
2020-06-24 10:50:34 +02:00
blam 7ead8675dd chore(scaffolder): code review comments, passing down the docker client 2020-06-24 10:47:43 +02:00
Patrik Oldsberg dcaee07754 v0.1.1-alpha.12 2020-06-23 22:25:25 +02:00
Patrik Oldsberg 910057bc8a v0.1.1-alpha.11 2020-06-23 21:27:58 +02:00
Patrik Oldsberg 6300d4a917 v0.1.1-alpha.10 2020-06-23 16:08:05 +02:00
Ben Lambert fd34a77a5f Merge pull request #1404 from spotify/blam/github-as-source
Use Github as Preparer for the Scaffolder
2020-06-23 09:39:23 +02:00
Ben Lambert 602f06b2ff Merge pull request #1371 from spotify/mob/prepare-from-catalog
File Preparer for the Scaffolder using the Catalog Template Entity
2020-06-22 16:50:30 +02:00
blam 1302becd63 chore(scaffolder): Fixing linting issues 2020-06-22 16:05:43 +02:00
Fredrik Adelöw 07bc1a68a1 Merge pull request #1373 from spotify/freben/backend-config
feat(backend-common): base backend config
2020-06-22 14:48:38 +02:00
Ben Lambert 8706fc869a Merge branch 'mob/prepare-from-catalog' into blam/github-as-source 2020-06-22 14:39:31 +02:00
blam 92ead102d0 Merge branch 'master' of github.com:spotify/backstage into mob/prepare-from-catalog
* 'master' of github.com:spotify/backstage: (57 commits)
  fix: update readme with work-in-progress status
  fix: Techdocs to TechDocs
  fix: rename pulp-fiction to techdocs-core
  feat(techdocs): yarn create-plugin
  chore(backend-common): just tweaked the structure of useHotMemoize
  build(deps): bump @rollup/plugin-json from 4.0.3 to 4.1.0 (#1360)
  build(deps-dev): bump lerna from 3.22.0 to 3.22.1 (#1390)
  build(deps): bump graphql from 15.0.0 to 15.1.0 (#1391)
  core-api: switch IdentityApi id token access to async
  Adding name of signed in user to greeting message (#1387)
  Fix CircleCI plugin (#1384)
  packages/core: update to not use default exports for components
  auth-backend: clean up naming and types of TokenFactory time handling
  auth-backend: some review feedback of oidc bits
  auth-backend: remove logging from DatabaseKeyStore
  auth-backend: more docs for TokenFactory
  auth-backend: added tests for TokenFactory and fix keyDuration being ignored
  auth-backend: added tests for DatabaseKeyStore
  auth-backend: refactor identity to remove logic from storage layer
  auth-backend: document identity types
  ...
2020-06-22 14:30:34 +02:00
blam d721c5c2d2 Merge branch 'master' of github.com:spotify/backstage into blam/github-as-source
* 'master' of github.com:spotify/backstage: (52 commits)
  build(deps): bump @rollup/plugin-json from 4.0.3 to 4.1.0 (#1360)
  build(deps-dev): bump lerna from 3.22.0 to 3.22.1 (#1390)
  build(deps): bump graphql from 15.0.0 to 15.1.0 (#1391)
  core-api: switch IdentityApi id token access to async
  Adding name of signed in user to greeting message (#1387)
  Fix CircleCI plugin (#1384)
  packages/core: update to not use default exports for components
  auth-backend: clean up naming and types of TokenFactory time handling
  auth-backend: some review feedback of oidc bits
  auth-backend: remove logging from DatabaseKeyStore
  auth-backend: more docs for TokenFactory
  auth-backend: added tests for TokenFactory and fix keyDuration being ignored
  auth-backend: added tests for DatabaseKeyStore
  auth-backend: refactor identity to remove logic from storage layer
  auth-backend: document identity types
  auth-backend: refactor identity APIs for forwards compatibility
  auth-backend: update standalone setup to use service builder and HMR
  auth-backend: issue user id tokens when signing in with google or github
  auth-backend: move logger setup out from constructors and use non-reserved fields
  auth-backend: make key duration configurable
  ...
2020-06-22 13:38:02 +02:00
Patrik Oldsberg ca9a2ddf1a auth-backend: hook up oidc router and token issuer/db 2020-06-21 17:00:50 +02:00
blam 22fbe0aaab feat(scaffolder): added the ability to process github remote sources, without authenication for now at least 2020-06-20 05:56:48 +02:00
blam ed05397694 chore(scaffolder): fix the exporting of the FilePreparer so we can actually setup a scaffolder in the backend 2020-06-18 18:09:36 +02:00
Fredrik Adelöw 324b0a767a feat(backend-common): base backend config 2020-06-18 16:37:10 +02:00
blam 308c171747 Merge branch 'master' of github.com:spotify/backstage into mob/prepare-from-catalog
* 'master' of github.com:spotify/backstage: (60 commits)
  packages,plugins: remove main:src and fix some main fields
  packages/config: added get and getOptional
  changed  down caret to be up caret on user profile in the sidebar
  packages/config: add getOptionalConfig and getOptionalConfigArray to mirror other accessors
  packages/config-loader,core: update config usage to include context
  build(deps): bump @types/react from 16.9.25 to 16.9.37 (#1342)
  build(deps): bump rollup-plugin-esbuild from 2.0.0 to 2.1.0 (#1361)
  build(deps-dev): bump lint-staged from 10.2.9 to 10.2.11 (#1359)
  Polishing the Create page (#1353)
  Add some air between sidebar sections (#1355)
  Starred icon is yellow (#1351)
  Updated FAQ with Gitlab link (#1352)
  build(deps): bump react-helmet from 6.0.0 to 6.1.0 (#1327)
  packages/config: added context to keep track of where config is from for error messages
  packages/config: added .keys()
  packages/config: keep track of key prefix to display better error messages
  packages/config: optimize some error message handling
  packages/config: allow config readers to be backed by undefined data
  packages/config: flip around must* and get* to get* and getOptional*
  packages/core-api: fix invocation order when continuing to app after sign-in
  ...
2020-06-18 14:00:29 +02:00
Patrik Oldsberg e923d751a7 plugins/auth-backend: read backend.baseUrl from config 2020-06-17 16:54:02 +02:00
Patrik Oldsberg 64a8bd2187 packages/backend: load config and make it part of plugin env 2020-06-17 16:52:57 +02:00
Fredrik Adelöw 38ba897857 v0.1.1-alpha.9 2020-06-17 15:24:54 +02:00
blam bbef36c91a chore(scaffolder): Remove the old storage API's as the catalog api is now in charge of thestorage of templkates 2020-06-17 10:49:26 +02:00
Patrik Oldsberg 76fd9f9401 packages,plugins: use backend:build for all backend packages + publish config and no tsconfig 2020-06-17 00:03:28 +02:00
blam 4615718167 feat(catalog): added the ability to load mock data into the catalog from the scaffolder too 2020-06-16 14:40:43 +02:00
Ivan Shmidt 417a4d538e feat: more clean hot hookz 2020-06-15 22:36:36 +02:00
Ivan Shmidt 0c27fc1a7b Merge branch 'master' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 15:46:23 +02:00
Ivan Shmidt 9ae3367168 Merge branch 'shmidt-i/backend-hmr' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 15:41:55 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
Fredrik Adelöw da6f33a13f chore(backend): make the sentry handling work better 2020-06-12 15:36:19 +02:00
Fredrik Adelöw 7de5e10408 feat(catalog-backend): reject almost-same-name entities 2020-06-12 12:04:56 +02:00
Stefan Ålund 7c088c5595 Fix incorrect backend path in docs (#1258) 2020-06-11 21:03:38 +02:00
Fredrik Adelöw 5ee0bd47d9 fix(catalog-backend): update the mock-data script to point to new example entities 2020-06-11 14:51:43 +02:00
Ivan Shmidt d85e78bd2b fix(cli): adjusted build and main field for backend 2020-06-11 14:29:15 +02:00
Ivan Shmidt a1a60ad9d1 feat: hmr logic for the backend 2020-06-11 02:51:06 +02:00
Ivan Shmidt d2e25082df feat(cli): backend webpack serve 2020-06-10 21:49:55 +02:00
Fredrik Adelöw 709cc4004d feat(backend-common): add common code for service shell 2020-06-09 15:10:37 +02:00
Patrik Oldsberg c53bafc5f9 v0.1.1-alpha.7 2020-06-09 14:24:56 +02:00
Marcus Eide e9a2444c9a Documentation: Add guide for how to add an auth provider to the backend (#1145)
* Add guide for how to add a auth provider to the backend

* Move to new docs folder and small corrections

* Split oauth and non-oauth use-cases up and add more info about the verifyFunc

* Move summary to top and add note about non-oauth providers being experimental
2020-06-09 09:39:27 +02:00
Fredrik Adelöw 74ad89f8e3 Merge pull request #1158 from spotify/freben/location-processors-3
RFC: Improve the way that locations are read
2020-06-08 15:07:29 +02:00
Stefan Ålund bea471e74c Fix backend startup instructions (#1188)
* Fix backend startup instructions

* Update README.md
2020-06-08 10:28:09 +02:00
Stefan Ålund 5726b40ee3 Changed order of backend install instructions 2020-06-08 09:53:14 +02:00
Stefan Ålund 6682c9fb76 Fix backend not starting (#1185)
Fixes https://github.com/spotify/backstage/issues/1177
2020-06-08 09:10:00 +02:00
Fredrik Adelöw 61a02be0f4 Add logging and fix last bug 2020-06-06 22:11:42 +02:00
Fredrik Adelöw d68e4f2bd0 Switch to using generators 2020-06-06 22:11:42 +02:00
Fredrik Adelöw fe16d8ee8d chore(catalog-backend): make LocationReader, that runs a chain of processors 2020-06-06 22:09:32 +02:00
Fredrik Adelöw 17a16f617c Break out the location refresh loop as well 2020-06-02 13:35:59 +02:00
Fredrik Adelöw f7ef6d4921 Move addLocation to new HigherOrderOperations 2020-06-02 09:41:36 +02:00
Patrik Oldsberg 9f50e7c1b4 packages,plugins: fix lint issues 2020-06-01 16:09:10 +02:00
Fredrik Adelöw 9ccf617b82 Add routes for add/delete entity to the catalog 2020-05-30 20:34:33 +02:00