Commit Graph

3401 Commits

Author SHA1 Message Date
Johan Haals 42a1591b65 WIP: Github App manager 2021-01-14 13:50:12 +01:00
Fredrik Adelöw a1c264ef11 Merge pull request #4033 from SDA-SE/feat/make-system-and-domains-real
Implement systems, domains and resources
2021-01-14 13:44:20 +01:00
Fredrik Adelöw 540702da2a Merge pull request #4053 from backstage/freben/techdocs-buffers
techdocs-common: fix to-string breakage of binary files
2021-01-14 12:58:46 +01:00
Oliver Sand 0c6e3b21a7 Add example data for system, domains and resources 2021-01-14 10:25:45 +01:00
Fredrik Adelöw bd5eb8df59 Merge pull request #4024 from backstage/freben/no-octokit-types
Get rid of all usages of @octokit/types
2021-01-13 17:18:30 +01:00
Johan Haals 71fb4e1281 cli: Remove api url from github app configuration 2021-01-13 16:58:11 +01:00
Fredrik Adelöw f4a69c5f68 Merge pull request #4027 from ahrberg/handle-no-info
cli: Handle no npm info
2021-01-13 16:48:45 +01:00
Fredrik Adelöw 94fdf49554 Get rid of all usages of @octokit/types, and bump the rest of the octokit dependencies to the latest version 2021-01-13 16:41:10 +01:00
ahrberg f5b0d23431 cli: review feedback 2021-01-13 16:08:23 +01:00
ahrberg b519606f3a cli: review feedback 2021-01-13 15:50:51 +01:00
ahrberg 08e9893d26 cli: Handle no npm info 2021-01-13 15:50:51 +01:00
Fredrik Adelöw 371f67ecd0 techdocs-common: fix to-string breakage of binary files 2021-01-13 10:37:32 +01:00
Fredrik Adelöw cc068c0d6f Bump gitbeaker to 28.x 2021-01-13 10:26:19 +01:00
Oliver Sand abbee6fff4 Add system, domain and resource entity kinds 2021-01-12 22:18:24 +01:00
James Turley 868f813992 Emit relations for subcomponents 2021-01-12 16:00:00 +00:00
James Turley eeb6f3ba93 Add subcomponentOf field to Component spec 2021-01-12 16:00:00 +00:00
Dominik Henneke f3b064e1c3 Export the schemaValidator helper function 2021-01-12 15:47:10 +01:00
Himanshu Mishra c3d90881ce Merge pull request #4026 from backstage/orkohunter/improve-aws-credentials-handling 2021-01-12 15:33:25 +01:00
Dominik Henneke 192b0b70a8 Update vale vocabulary to unify company and product names 2021-01-12 13:52:58 +01:00
Himanshu Mishra f454b9f865 TechDocs/AWS: Update tutorial with auth best practices 2021-01-12 12:35:13 +01:00
Himanshu Mishra 16b73697a3 TechDocs/AWS: Enable authentication using env variables and ~/.aws/config shared file
If authentication secrets are provided in app-config.yaml, it will be used. If not, environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION will be used. If not present, ~/.aws/config will be used to read the configs.

https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-environment.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-shared.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
2021-01-12 11:41:00 +01:00
Fredrik Adelöw 1c7771871e Merge pull request #3953 from ayshiff/feature/techdocs-aws-sdkv3
TechDocs: AWS S3 SDK version bump
2021-01-12 10:21:51 +01:00
Himanshu Mishra 3790b585c9 Merge pull request #3966 from backstage/orkohunter/techdocs-cli-uses-techdocs-common 2021-01-11 23:23:26 +01:00
Himanshu Mishra 078987e251 techdocs-common: fix tests for the new generator API 2021-01-11 23:08:30 +01:00
Himanshu Mishra 2165901c00 TechDocs: Generator now requires input and output directory and does not create them
The creation of temporary directories and their clean up should be handled on its own. techdocs-cli already has a fixed input output dir requirement. It makes that generator accepts these values as requirements.
2021-01-11 22:33:10 +01:00
Himanshu Mishra 15cc6ff12c Merge pull request #3981 from backstage/orkohunter/improve-gcs-credentials-handling 2021-01-11 21:12:55 +01:00
Himanshu Mishra 97716f2b04 Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-01-11 20:50:20 +01:00
Remi 5826d0973e feat(techdocs): add changeset + refactor 2021-01-11 18:19:28 +01:00
Remi b18efa0553 feat(techdocs): streamToString try/catch 2021-01-11 17:21:50 +01:00
Remi 60cad4c1ab fix(techdocs): getObject stream 2021-01-11 17:21:50 +01:00
Remi 33b1a43c77 fix(techdocs): broken windows tests 2021-01-11 17:21:50 +01:00
Remi 4bff4d123b feat(techdocs): add aws-sdk types 2021-01-11 17:21:50 +01:00
Remi bb8d83018e feat(techdocs): delete old aws sdk mock 2021-01-11 17:21:50 +01:00
Remi 7f34d22bdf feat(techdocs): update aws-sdk to v3 2021-01-11 17:21:50 +01:00
Himanshu Mishra f3a48c549d Merge pull request #3991 from backstage/orkohunter/fix-aws-gcs-publisher-image-routing 2021-01-11 14:45:38 +01:00
Fredrik Adelöw b72c7cf12e Merge pull request #3909 from backstage/freben/integrations-again
integration: build out the integrations class hierarchy
2021-01-11 14:09:40 +01:00
Ben Lambert 0395f97053 Merge pull request #3839 from SapienTech/fix-sidebar-item-button-a11y
fix(core): `SidebarItem` with `onClick` renders an accessible button
2021-01-11 13:42:09 +01:00
Fredrik Adelöw 466354aaa7 integration: build out the integrations class hierarchy 2021-01-11 13:33:43 +01:00
Johan Haals a690abedb1 Merge pull request #3919 from backstage/mob/app-cli
cli: added experimental create-github-app command
2021-01-11 11:06:46 +01:00
Patrik Oldsberg ded5005799 Merge pull request #3993 from backstage/rugvip/tycons
core: simplify table icon type declarations
2021-01-10 18:40:41 +01:00
Patrik Oldsberg 3bfcc82af3 core: simplify table icon type declarations 2021-01-10 16:49:21 +01:00
Himanshu Mishra de4c3af867 fix(techdocs): Handle images and other binaries correctly in aws/gcs publishers
Closes https://github.com/backstage/backstage/issues/3990
2021-01-10 10:09:42 +01:00
github-actions[bot] 4933884670 Version Packages 2021-01-09 22:18:23 +00:00
github-actions[bot] e79c98cf29 Version Packages 2021-01-09 18:46:42 +00:00
Himanshu Mishra e7954559ab TechDocs/GCS: Remove projectId since it is not needed
I initially thought the GCS Nodejs client would make use of it, since it asked for it in the contructor. However, we may not need them at all. Buckets are gloablly unique anyway.
2021-01-09 16:29:42 +01:00
Himanshu Mishra 1ef5d0f13c TechDocs/GCS: Enable authentication using environemnt variables
GOOGLE_APPLICATION_CREDENTIALS is the environment variable used by the client. Compute Engine, Google Kubernetes Engine, App Engine, Cloud Run, and Cloud Functions automatically provide a default service account and set this env variable.
https://cloud.google.com/docs/authentication/production
2021-01-09 16:07:39 +01:00
github-actions[bot] 7410a39a4f Version Packages 2021-01-08 20:05:36 +00:00
Himanshu Mishra c65dc26c10 TechDocs: Generator can be given a pre-created output directory
TechDocs Generator uses a temporary directory to store the generated files. But with techdocs-cli, the generator needs to output in a fixed directory.

Also, make parsedLocationAnnotation optional since it is not a critical requirement for the generator.
2021-01-08 13:42:55 +01:00
Ben Lambert 733744b437 Merge pull request #3949 from backstage/dependabot/npm_and_yarn/typescript-json-schema-0.47.0
chore(deps): bump typescript-json-schema from 0.45.1 to 0.47.0
2021-01-08 10:28:40 +01:00
Backstage Service Account e78966ab49 cli: added some spacing before destruction 2021-01-07 13:52:20 +01:00