Commit Graph

476 Commits

Author SHA1 Message Date
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
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00
Eric Peterson 82b0190155 Final release for old search/techdocs common packages.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-14 14:13:24 +01:00
github-actions[bot] b6d947b67f Version Packages 2022-03-10 11:30:23 +00:00
github-actions[bot] 1693f2dc74 Version Packages (next) 2022-03-09 16:09:04 +00:00
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
Eric Peterson cea6f10b97 Recreate a shell of @backstage/techdocs-common for smooth deprecation process
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-04 18:47:53 +01:00
Eric Peterson 84a8788794 Move packages/techdocs-common -> plugins/techdocs-node
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-03 17:43:21 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
Fredrik Adelöw 36aa63022b deprecate EntityName, introduce CompoundEntityRef
deprecate getEntityName, introduce getCompoundEntityRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-02 21:54:45 +01:00
Jussi Hallila ff0a16fb1a Add techdocs-core plugin to techdocs builder automatically
Currently users need to modify their mkdocs files to container techdocs-core plugin manually when they want to expose techdocs in Backstage. To have a standardized set of extensions without the need to modify existing files (and possibly pollute alternative/additional mkdocs pipelines) this should be added automatically.

This PR adds a helper function to modify the mkdocs file to contain this plugin if it doesn't exist in the config file.

Co-authored-by: @emmaindal

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-03-01 08:20:40 +01:00
Eric Peterson 022891fe78 Merge pull request #9830 from jeremyguarini/fix_gcs_auth
Fix authentication with GCS for techdocs
2022-02-26 17:13:50 +01:00
Jeremy Guarini ac25a0f577 When using GCS for the techdocs storage and not setting the GOOGLE_APPLICATION_CREDENTIALS environment variable, authentication and accessing the bucket fails due to the project ID not being found.
Relevant log output

```
techdocs error from GCS client library: Unable to detect a Project Id in the current environment.
```

By adding the projectID when initializing the Storage client, this should fix the issue. This current approach expects the project_id to be in the json credentials, which it usually is.

Another option would be to re-add the app-config projectID value back and allow users to specify the projectID that way as well.

Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2022-02-25 21:10:42 -08:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Camila Belo c13f768521 refactor(techdocs-common): apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 09:28:08 +01:00
Camila Belo bda799308c chore(techdocs-common): update api reports
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:14 +01:00
Camila Belo 947dcc465a refactor(techdocs-common): clean up helpers api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo 7a9b906ec7 refactor(techdocs-common): clean up publish api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo 2f16b943c9 refactor(techdocs-common): clean up preparer api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo ced3d7cef8 refactor(techdocs-common): clean up generator api
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-24 08:41:13 +01:00
Camila Belo 8651981680 Merge pull request #9569 from backstage/bump-mkdocs-material
[TechDocs] Adjust theme styles
2022-02-21 11:38:07 +01:00
Patrik Oldsberg ba68ea4450 apply 0.68.1 fixes to master
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 11:30:15 +01:00
Camila Belo fe9342e71e chore(techdocs-common): upgrade default docker image
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-02-18 10:19:01 +01:00
Patrik Oldsberg 209fd128e6 removed all references to the removed SCM-specific location types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 17:46:04 +01:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Patrik Oldsberg d99c3c2177 Merge pull request #9254 from backstage/rugvip/add-roles
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Patrik Oldsberg 9892d74326 cli: renamed script commands to package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:27:12 +01:00
Johan Haals 7aeb491394 catalog-model: deprecate ENTITY_DEFAULT_NAMESPACE, replace with DEFAULT_NAMESPACE
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-15 10:27:57 +01:00
Patrik Oldsberg 8f82d80adf migrate all package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg b521c1b83b detect all package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:03 +01:00
Fredrik Adelöw 216725b434 catalog-model: rename parse/stringifyLocationRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-11 17:11:10 +01:00
github-actions[bot] e4791789d1 Version Packages 2022-02-10 11:06:33 +00:00
github-actions[bot] e74f416a00 Version Packages (next) 2022-02-08 19:38:17 +00:00
github-actions[bot] a12bb7b065 Version Packages 2022-02-03 09:42:25 +00:00
github-actions[bot] 51eecb3f03 Version Packages (next) 2022-02-02 14:28:47 +00:00
github-actions[bot] e1580cf73a Version Packages (next) 2022-02-01 08:53:29 +00:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
Fredrik Adelöw 7fdeeead48 Merge pull request #9050 from oparaskos/oparaskos-patch-1
Fix interpolated string `Failed to generate docs...`
2022-01-21 10:11:37 +01:00
Oliver Paraskos 46dcbaeb64 Fix interpolated string Failed to generate docs...
A string was using the wrong kind of quotes and so the interpolated fields weren't.

Signed-off-by: Oliver Paraskos <oliver@tryflux.com>
2022-01-20 10:52:15 +00:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
github-actions[bot] a94a2b8b3f Version Packages (next) 2022-01-18 13:49:07 +00:00
Eric Peterson 47277c0d8c Bump @spotify/techdocs container to v0.3.6
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-17 17:34:01 +01:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
Johan Haals 618d78495c Merge pull request #8825 from backstage/freben/a-tale-of-hyphens-and-braces
🧹  Got rid of the last brace-typed and hyphen-less params etc
2022-01-10 14:27:21 +01:00
Fredrik Adelöw 5333451def Got rid of the last brace-typed and hyphen-less params etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-10 09:48:12 +01:00
Fredrik Adelöw 9632cda521 Fix the last renmnants of the old copyright header
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-09 22:10:52 +01:00
github-actions[bot] 7d27a11079 Version Packages 2021-12-30 11:06:46 +00:00
dependabot[bot] 52ba8760d8 build(deps): bump @azure/identity from 1.5.0 to 2.0.1
Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 1.5.0 to 2.0.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_1.5.0...@azure/identity_2.0.1)

---
updated-dependencies:
- dependency-name: "@azure/identity"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-23 13:12:38 +00:00
github-actions[bot] 3d68c45ef7 Version Packages 2021-12-23 12:23:34 +00:00