Commit Graph

69 Commits

Author SHA1 Message Date
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
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00: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
Renovate Bot f5283a42e2 fix(deps): update dependency @google-cloud/storage to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 14:21:10 +00:00
github-actions[bot] b844443164 Version Packages (next) 2022-06-03 15:01:16 +00:00
Mengnan Gong a5d73da942 techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli
generate

Signed-off-by: Mengnan Gong <namco1992@gmail.com>
2022-06-03 14:26:51 +08:00
github-actions[bot] a13ab262de Version Packages (next) 2022-05-31 11:51:41 +00:00
github-actions[bot] bcc563abe9 Version Packages (next) 2022-05-24 11:05:52 +00:00
github-actions[bot] 64a03bd946 Version Packages 2022-05-17 09:26:29 +00:00
Eric Peterson c2a1d8935e Use @spotify/techdocs v1.0.3 by default.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-11 09:41:54 +02:00
github-actions[bot] c02ce52da1 Version Packages (next) 2022-05-10 08:00:04 +00:00
github-actions[bot] 1bff70d602 Version Packages (next) 2022-04-26 12:22:43 +00:00
Eric Peterson c57446c858 Merge pull request #10846 from TierMobility/master
[TechDocs] Accept sequence node custom tags in mkdocs config validation
2022-04-25 11:37:08 +02:00
Viktor Bahr 465c8770e5 fix(techdocs-node): add trailing newline to fixture
Signed-off-by: Viktor Bahr <viktor.bahr@tier.app>
2022-04-25 11:00:48 +02:00
Renovate Bot cfc0f19699 fix(deps): update dependency fs-extra to v10.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 14:12:43 +00:00
github-actions[bot] 3f7acfb96e Version Packages 2022-04-19 14:28:08 +00:00
Eric Peterson 9fa68705bf Update default TechDocs container to v1.0.2
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-19 13:26:26 +02:00
Viktor Bahr 24db82d8c1 feat(techdocs-node): accept sequence node custom tags
This change to the MKDOCS_SCHEMA lets the validation logic accept
custom tags that are sequence nodes as valid.

Signed-off-by: Viktor Bahr <viktor.bahr@tier.app>
2022-04-14 17:57:47 +02:00
Viktor Bahr b7b2899e55 test(techdocs-node): sequence node custom tag validation failure
This test proves that currently only scalar YAML nodes are considered valid by
the mkdocs YAML validation logic, even though using the `!ENV` tag with
sequential data is officially supported by mkdocs[0].

[0] https://www.mkdocs.org/user-guide/configuration/#environment-variables

Signed-off-by: Viktor Bahr <viktor.bahr@tier.app>
2022-04-14 17:57:47 +02:00
github-actions[bot] 2e1cce5528 Version Packages (next) 2022-04-12 15:19:00 +00:00
Eric Peterson bcf1a2496c Nest config under mkdocs key.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-05 17:33:18 +02:00
Phil Kuang 9ab9ce617e fix(techdocs): do not copy docs/README.md as docs/index.md
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-04 12:57:38 -04:00
github-actions[bot] e6f3fb8575 Version Packages (next) 2022-03-29 08:42:22 +00:00
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00:00
Patrik Oldsberg a856043798 Merge pull request #10146 from backstage/rugvip/noglobalmocks
scaffolder-backend,techdocs-node: remove global dependency mocks
2022-03-17 14:08:35 +01:00
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00