Commit Graph

2989 Commits

Author SHA1 Message Date
Oliver Sand 12bbd748c5 Remove prometheus depenedency from backend-common 2020-12-04 17:07:29 +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
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
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
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
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
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
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
Fredrik Adelöw da42f58fae catalog-model: update ownership of data 2020-12-01 14:27:16 +01:00
Mateusz Lewtak 6182c6f82d Feat: Bump GitHub Insights plugin version (#3509) 2020-12-01 14:10:30 +01:00
blam b27077aa7b chore: set the port as number if it comes through as a string 2020-12-01 13:16:46 +01:00
Patrik Oldsberg 6123682748 backend-common: allow port in config to be both a number or a string 2020-12-01 12:07:54 +01:00
Patrik Oldsberg 361217d351 Merge pull request #3501 from backstage/rugvip/smol
backend: remove yarn cache from built docker image
2020-12-01 11:53:31 +01:00
Moustafa Baiou bcc211a081 refactor(k8s-plugin): update to use annotation based label selector
add changeset
2020-12-01 03:28:04 -05:00
Ryan Vazquez c8e5a78443 merge 2020-11-30 16:22:19 -05:00
Oliver Sand e7daa5cf99 Fix another Windows test issue
This one is a bit tricky. Instead of testing at the root folder of the drive, this test is now relative to the current directory. This resolves the difference between "/pkgs/a" and "d:\pkgs\a"
2020-11-30 19:27:03 +01:00
Patrik Oldsberg a5687a6c5e backend,yarnrc: bring yarn network-timeout down to 300s 2020-11-30 18:39:49 +01:00
Patrik Oldsberg 68fdc3a9f3 backend: remove yarn cache from built docker image 2020-11-30 18:20:59 +01:00
Oliver Sand 52f6438794 Make backend-commons tests work on Windows 2020-11-30 18:06:42 +01:00
Fredrik Adelöw 7aa0830abb Merge pull request #3480 from virtuoushub/virtuoushub/add-key-prop-to-routes-list
Avoid "Each child in a list should have a unique "key" prop." Warning
2020-11-30 14:07:04 +01:00
Fredrik Adelöw 01f060a8e0 Merge pull request #3487 from adamdmharvey/fix-visibility
fix(config-loader,cli,example-app): Refactor visibility typo in vars/funcs across multiple packages
2020-11-30 14:05:41 +01:00
Fredrik Adelöw 076a506131 Merge pull request #3460 from backstage/alund/app
Add API docs plugin to new apps
2020-11-30 14:04:18 +01:00
Patrik Oldsberg 9cced997b2 core-api: refactor routing element traversal to not skip over elements
Co-authored-by: blam <ben@blam.sh>
2020-11-30 13:54:21 +01:00
Patrik Oldsberg 3bc19b75e8 core-api: refactor route discovery to use common traversal function
Co-authored-by: blam <ben@blam.sh>
2020-11-30 13:54:21 +01:00
Patrik Oldsberg 9cf15f6baa core-api: move extension and component data utils into extensions/
Co-authored-by: blam <ben@blam.sh>
2020-11-30 13:54:21 +01:00