Commit Graph

92 Commits

Author SHA1 Message Date
Johan Haals a7607b5413 backend-common: Deprecate read in favour of readUrl in UrlReader
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-20 15:01:49 +02:00
github-actions[bot] f0196a2f04 Version Packages 2022-10-18 09:55:10 +00:00
Patrik Oldsberg 2142f91b35 techdocs-node: tweak mock-fs setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-10-12 11:48:45 +01:00
github-actions[bot] 9282c018c7 Version Packages (next) 2022-10-11 14:30:05 +00:00
github-actions[bot] 721c1efdb4 Version Packages (next) 2022-10-04 12:08:16 +00:00
github-actions[bot] 4e94720142 Version Packages (next) 2022-09-27 10:57:53 +00:00
Eric Peterson de80ce2ad3 Merge pull request #13577 from matteosilv/master
fixing techdocs-cli Docker client creation
2022-09-27 12:00:16 +02:00
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
Matteo Silvestri 2e021cda37 throw exception with undefined containerRunner and docker
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-15 17:38:34 +02:00
matteosilv 2f612f38e3 Merge branch 'backstage:master' into master 2022-09-14 09:46:53 +02:00
github-actions[bot] 423e01d903 Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-13 18:00:17 -04:00
Matteo Silvestri 5ce28340a9 update plugins/techdocs-node api-report.md
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-07 17:34:54 +02:00
Matteo Silvestri 0b2a30dead fixing techdocs-cli Docker client creation
Docker client does not need to be created when --no-docker
option is provided.

If you had DOCKER_CERT_PATH environment variable defined
the Docker client was looking for certificates
and breaking techdocs-cli generate command even with --no-docker
option.

Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-07 15:43:27 +02:00
github-actions[bot] f275697d2b Version Packages (next) 2022-09-06 13:11:16 +00:00
Anders Näsman 98a5e69afd Merge pull request #13050 from tragiclifestories/gcs-project-id
Add projectId config option to GCS techdocs publisher
2022-09-06 13:11:49 +02:00
Eric Peterson 3d2f943786 Merge pull request #13420 from aarontsharp/fix_techdocs_aws_bucket_path 2022-08-31 22:33:39 +02:00
Patrik Oldsberg 8911f684e1 Yarn 3 automatic formatting changes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-31 15:49:38 +02:00
blam 2120963e5d chore: bump git-parse-url
Signed-off-by: blam <ben@blam.sh>
2022-08-31 10:33:39 +02:00
aarontsharp 34db289371 Fix GCS also
Signed-off-by: aarontsharp <aaron.sharp@carta.com>
2022-08-30 08:47:21 -07:00
github-actions[bot] d1ec204774 Version Packages (next) 2022-08-30 12:02:13 +00:00
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
aarontsharp 33ac0c0546 fix: Include bucketRootPath in AWS publisher for Techdocs
Signed-off-by: aarontsharp <aaron.sharp@carta.com>
2022-08-29 16:43:57 -07:00
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00:00
James Turley aa524a5377 Add projectId config option to GCS techdocs publisher
Fixes #13049

Signed-off-by: James Turley <jamesturley@gocardless.com>
2022-08-22 15:47:18 +01:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
github-actions[bot] f762386d48 Version Packages (next) 2022-08-02 08:43:23 +00:00
Camila Belo e7d8ef03d3 chore(techdocs-node): update api reports
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-08-01 13:21:43 +02:00
Camila Belo 23abde02b6 chore(techdocs-node): bump techdocs container image
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-08-01 13:12:21 +02:00
Ömer Faruk Doğan ad35364e97 feat(techdocs): add edit button support for bitbucketServer
Signed-off-by: Ömer Faruk Doğan <8117265+omerfarukdogan@users.noreply.github.com>
2022-07-27 18:31:13 +03:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
Manuel Stein ce7219ff87 awsS3 getObject expect match without regex
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-07-24 19:19:29 +03:00
Manuel Stein f28ad77d11 awsS3 getObject expect specific error message
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-07-24 19:12:39 +03:00
Manuel Stein 6c118dd093 wrap aws-sdk errors - (prettier update)
there are http errors with no message from aws-sdk, so the error
 is wrapped to conform to the @backstage/errors assertError checks

Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-07-23 18:34:57 +03:00
Manuel Stein c8196bd37d wrap aws-sdk errors
because there are http errors with no message any error reading the
object is wrapped to conform to the @backstage/error assertError checks

Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
2022-07-22 18:43:44 +03:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00:00
github-actions[bot] 0e967f188b Version Packages (next) 2022-07-12 13:19:14 +00:00
Dang Huynh 99f786e149 Added repo_url to function getRepoUrlFromLocationAnnotation
Signed-off-by: Dang Huynh <dhhuynh2@gmail.com>
2022-07-07 14:18:37 -05:00
github-actions[bot] 6b985dc1c7 Version Packages (next) 2022-07-05 08:23:38 +00:00
Crevil e2d7b76f43 Upgrade git-url-parse to 12.0.0
This change upgrades git-url-parse to 12.0.0. This is a major upgrade but it
changes nothing to our usage.

Motivation for upgrade is transitively upgrading parse-url which is vulnerable
to several CVEs detected by Snyk.

- SNYK-JS-PARSEURL-2935944
- SNYK-JS-PARSEURL-2935947
- SNYK-JS-PARSEURL-2936249

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-03 08:28:42 +02:00
github-actions[bot] c92deffe39 Version Packages (next) 2022-06-28 09:27:36 +00:00
Camila Belo f9e2ec2551 Merge pull request #11065 from anicke/techdocs-staticdir
[TechDocs] Added configuration for local publishing target
2022-06-23 16:54:42 +02:00
Camila Belo 7ad6bde557 Merge pull request #11839 from namco1992/fix-techdocs-cli-config
techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli generate
2022-06-23 15:53:49 +02:00
github-actions[bot] 2231987c10 Version Packages (next) 2022-06-21 09:04:17 +00:00
Niklas Aronsson 860765ff45 [TechDocs] Added configuration for local publishing target
This patch adds a configuration option for setting the "local"
techdocs target directory. The target directory can be set using
the "techdocs.publisher.local.publishDirectory".

This fixes two "TODOs" in the "plugins/techdocs-node/src/stages
/publish/local.ts" file:

*  Use a more persistent storage than node_modules or /tmp directory.
   Make it configurable with techdocs.publisher.local.publishDirectory
*  Move the logic of setting staticDocsDir based on config over to
   fromConfig, and set the value as a class parameter.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-06-16 22:27:39 +02:00
github-actions[bot] 2e2a82c9d7 Version Packages 2022-06-14 09:12:05 +00:00
Eric Peterson 2c048f8b90 Fix windows test and deprecated redirect method usage.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
2022-06-13 17:46:01 +02:00
Eric Peterson 5296b00d4a chore: fix local entity path join
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-06-13 14:11:39 +02:00
Fredrik Adelöw d977673ce0 Merge pull request #11798 from backstage/renovate/typescript-4.x
chore(deps): update dependency typescript to ~4.7.0
2022-06-08 15:59:47 +02:00
Fredrik Adelöw 19781483a2 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-06-08 13:49:27 +02:00