Himanshu Mishra
17cab77fd2
techdocs-common: Add tests for google publisher and some more
2020-12-05 17:42:21 +01:00
Himanshu Mishra
ff3dd9c02b
create-app: Add new techdocs default configs
2020-12-05 11:13:27 +01:00
Himanshu Mishra
a212e43142
techdocs: Add JSON Schema config
...
Show better error if techdocs.builder is set to 'ci' and if no docs are found.
Return 404 from googleStorage client when a file is not found.
2020-12-05 10:48:54 +01:00
Himanshu Mishra
50a0911364
techdocs-common: Export @types/express from dependencies
2020-12-04 20:30:01 +01:00
Himanshu Mishra
d073ba4f16
techdocs-common: Bump @types/dockerode version
2020-12-04 19:59:15 +01:00
Himanshu Mishra
8ffbbcee59
Merge remote-tracking branch 'origin/master' into orkohunter/techdocs-publish-to-cloud-storage
2020-12-04 19:51:01 +01:00
Himanshu Mishra
2cbad5c19d
techdocs-common: Bump @backstage/cli version
2020-12-04 19:47:27 +01:00
Patrik Oldsberg
b1952fad50
Merge pull request #3567 from backstage/rugvip/impl
...
core-api: update ApiFactory type to correctly infer API type and disallow mismatched implementations
2020-12-04 17:30:53 +01:00
samiramkr
f3b24a94a2
Merge pull request #3317 from backstage/samiram/pagerduty-plugin
...
Pagerduty plugin
2020-12-04 17:02:54 +01:00
Fredrik Adelöw
8225c58151
Merge pull request #3523 from keshann93/auth-env-prop
...
Introducing env prop to have configurable authentication env
2020-12-04 14:17:45 +01:00
Patrik Oldsberg
b6557c0988
core-api: update ApiFactory type to correctly infer API type and disallow mismatched implementations
2020-12-04 14:01:31 +01:00
Fredrik Adelöw
894136a440
Merge pull request #3564 from lowjoel/fix-dockerode-types
...
fix: Conflicting dockerode version specifications
2020-12-04 13:39:12 +01:00
Fredrik Adelöw
5d88473d9e
bump app template deps accordingly
2020-12-04 12:15:39 +01:00
Samira Mokaram
8109ff1d35
Merge branch 'master' of https://github.com/spotify/backstage into samiram/pagerduty-plugin
2020-12-04 11:04:21 +01:00
Ben Lambert
0763d51dfc
Merge pull request #3563 from lowjoel/fix-app-config-schema
...
fix(cli): Fix Config Schema for `app.listen`
2020-12-04 10:50:48 +01:00
Joel Low
1e22f8e0b8
Fix conflicting dockerode version specifications
2020-12-04 16:45:15 +08:00
Mikael Östberg
be98e222ee
Update GithubUrlReader.ts
2020-12-04 09:06:26 +01:00
Joel Low
61897fb2c1
fix(cli): Fix Config Schema for app.listen
2020-12-04 15:31:48 +08:00
Himanshu Mishra
f0bfd369b3
Merge remote-tracking branch 'origin/master' into orkohunter/techdocs-publish-to-cloud-storage
2020-12-03 22:53:45 +01:00
Himanshu Mishra
084670b37a
Google Cloud Storage working with TechDocs (publish and fetch)
...
Plus
1. Introduce ncessary configs to connect with storage
2. Introduce config to prefer CI build of docs, or techdocs-backend to build and publish them.
3. Write guide how to use Google Cloud Storage with TechDocs
4. Add a TechDocs Configuration reference page in docucmentation
2020-12-03 22:40:15 +01:00
Mikael Östberg
6c91854391
Fix missing authentication in GitHubUrlReader
...
An oversight that probably stems from that most repositories for tech-docs are public anyway.
Ours are not, and are inside of a GitHub Enterprise, which is how i found this tiny bug.
I wish i knew how to mock the cross-fetch in order to inspect the Authorization header of the request to test this fix.
I can only confirm that it works on our backstage that targets GHE.
2020-12-03 20:41:31 +01:00
github-actions[bot]
01aa774d9a
Version Packages
2020-12-03 15:28:22 +00:00
Sebastian Qvarfordt
b570f78e22
Use resource instead of source when building github repo tar url ( #3552 )
...
* Use resource instead of source when building github repo tar url
* Changed the right part of the url...
* Added test to make sure we include subdomains in githubs readtree
* Fixed wopsie
2020-12-03 16:24:29 +01:00
Fredrik Adelöw
a6574279d6
Merge pull request #3513 from backstage/freben/relative-locations
...
catalog: add support for relative targets and implicit types in Location entities
2020-12-03 15:10:26 +01:00
Patrik Oldsberg
2f9ee534a2
cli: add missing --build flag to experimental bundle command
2020-12-03 12:00:06 +01:00
Joel Low
e0cd3aa7aa
Shorten help message for backend:build-image
2020-12-03 17:47:22 +08:00
Joel Low
a6e9708ada
Revert changes to template app
2020-12-03 17:29:48 +08:00
Joel Low
6b7c44d32d
Add simple instructions to providing an NPM Token to backend:build-image
2020-12-03 16:10:36 +08:00
keshan
6a5e3e204f
Updated comments and code to reflect feedbacks
2020-12-03 09:08:47 +05:30
keshan
9e11dfca40
Introducing env prop to have configurable authentication env
2020-12-03 09:08:44 +05:30
Fabian Chong
a42205b3e8
Uses pathExists
2020-12-03 10:04:25 +08:00
Fabian Chong
433aa52a17
Pass NPM_TOKEN through docker --secret
2020-12-03 10:04:23 +08:00
Fabian Chong
fe5c6a7727
Optional .npmrc to support private NPM registry
2020-12-03 10:02:59 +08:00
Fredrik Adelöw
21f7d80483
Merge pull request #3520 from backstage/dependabot/npm_and_yarn/typescript-json-schema-0.45.0
...
build(deps): bump typescript-json-schema from 0.43.0 to 0.45.0
2020-12-02 16:46:53 +01:00
Fredrik Adelöw
6437f20cfc
Merge pull request #3411 from moustafab/feature/k8s-label-selector-2
...
refactor(k8s-plugin): update to use annotation based label selector
2020-12-02 16:31:20 +01:00
Fredrik Adelöw
b4488ddb0b
address typescript errors
2020-12-02 16:11:44 +01:00
dependabot[bot]
bad8990788
build(deps): bump typescript-json-schema from 0.43.0 to 0.45.0
...
Bumps [typescript-json-schema](https://github.com/YousefED/typescript-json-schema ) from 0.43.0 to 0.45.0.
- [Release notes](https://github.com/YousefED/typescript-json-schema/releases )
- [Commits](https://github.com/YousefED/typescript-json-schema/compare/v0.43.0...v0.45.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-02 15:58:44 +01:00
Himanshu Mishra
e09cff1682
Abstract Publisher APIs from the router
...
1. Move fetchMetadata and serve static files to local publisher
2. Create factory class to create publishers based on app cofig
2020-12-02 13:05:44 +01:00
Patrik Oldsberg
d54bc5685a
Merge pull request #3471 from backstage/mob/ind
...
core-api: add initial set of composability plumbing
2020-12-02 11:55:13 +01:00
Fredrik Adelöw
a9fdf8c294
keep the old examples, add new variant as sibling dir
2020-12-02 07:42:09 +01:00
Fredrik Adelöw
08835a61d9
catalog: add support for relative targets and implicit types in Location entities
2020-12-02 07:30:58 +01:00
Fredrik Adelöw
8d6156d69c
Merge pull request #3511 from backstage/freben/owned
...
catalog-model: update ownership of data
2020-12-01 22:54:04 +01:00
Himanshu Mishra
64737f447a
App/Backend should import techdocs plugin only, not common package
...
If a backstage App wants to enable techdocs plugin, it should only have to care about installing @backstage/plugin-techdocs and @backstage/plugin-techdocs-backend.
@backstage/plugin-techdocs-backend should re-export necessary APIs from techdocs-common
2020-12-01 20:48:58 +01:00
Himanshu Mishra
ff348df9fe
techdocs-common: Initialize package and move common code from techdocs-backend
2020-12-01 20:48:58 +01:00
Himanshu Mishra
9ebc897351
TechDocs: Refactor Publisher to pave way for external publishers
2020-12-01 20:48:58 +01:00
Patrik Oldsberg
26ed08c167
core-api: refactor all element data collection to use the same traversal facilities
...
Co-authored-by: blam <ben@blam.sh >
2020-12-01 19:32:53 +01:00
Patrik Oldsberg
706868141e
core-api: refactor route discovery to do a single pluggable sweep
2020-12-01 19:32:52 +01:00
Ryan Vazquez
04252597d8
Merge pull request #3431 from backstage/ryanv/stack-rank-product-panels
...
stack rank product panels
2020-12-01 12:31:09 -05:00
Samira Mokaram
3d392a0b6a
address comments
2020-12-01 16:38:40 +01:00
Patrik Oldsberg
974223db86
Merge pull request #3507 from backstage/rugvip/port
...
backend-common: allow port in config to be both a number or a string
2020-12-01 14:58:55 +01:00