Commit Graph

17933 Commits

Author SHA1 Message Date
Patrik Oldsberg a45682be4e scaffolder-backend: use mock-fs in workflow runner tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-16 14:58:35 +02:00
Patrik Oldsberg 1bcd771342 Merge pull request #7588 from SDA-SE/feat/githubpraction
Make sure `sourcePath` of `publish:github:pull-request` can only be used to retrieve files from the workspace.
2021-10-16 13:16:12 +02:00
Bodil Björklund 639d48566a Update how-to-guides.md (#7639) 2021-10-15 23:50:51 +02:00
Patrik Oldsberg 59e822b43c Merge pull request #7634 from backstage/rugvip/filters
config-loader: apply visibility filter to configuration schema validation errors
2021-10-15 15:39:06 +02:00
Patrik Oldsberg 223e8de6b4 changesets: added changeset for schema error filtering
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:37 +02:00
Patrik Oldsberg 3e2b3e99e4 config-loader: unit tests for error visibility filtering + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:37 +02:00
Patrik Oldsberg 8f30ac386b config-loader: filter out schema errors that aren't visible
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:36 +02:00
Patrik Oldsberg b31daba201 config-loader: collect visibility paths both by data and schema path
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:35 +02:00
Himanshu Mishra c5664a1307 Merge pull request #7629 from niallmccullagh/bv-adopters
docs(adopters): add Bazaarvoice to adopters
2021-10-15 14:48:55 +02:00
Niall McCullagh 7015078ffe docs(adopters): add Bazaarvoice to adopters
Signed-off-by: Niall McCullagh <niallmccullagh@users.noreply.github.com>
2021-10-15 10:51:23 +01:00
Emma Indal 157843e5aa [Search] add how to guide for indexing TechDocs documents (#7625)
* add how to guide for indexing techdocs documents

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add step of how to add techdocs to search type filter

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-10-15 11:46:34 +02:00
Patrik Oldsberg 35b7a0bbd5 Merge pull request #7569 from backstage/rugvip/transformers
cli: rework how we handle ESM transforms for tests
2021-10-15 10:28:53 +02:00
Patrik Oldsberg 74b6b5cfc2 Merge pull request #7617 from lunarway/fix/github-refresh
Fix refresh token reuse bug in Github provider
2021-10-14 21:55:53 +02:00
Crevil de3e26aecc Fix refresh reuse bug in Github provider
Currently when the Github provider refreshes an access token it doesn't forward
the new refresh token to the caller. As Github only allows refresh tokens to be
used once, the next refresh call will fail.

This change fixes the bug by returning the new refresh token upon refresh.

This change is similar to 25a613bdd7 (#7110) for
the GitLab provider.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-10-14 21:26:43 +02:00
Patrik Oldsberg 72be1cf988 Merge pull request #7614 from backstage/rugvip/e2e-fix
e2e-test: improve page content checking resilience
2021-10-14 19:33:58 +02:00
Patrik Oldsberg 6a7e90c6ca e2e-test: improve page content checking resilience
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-14 19:01:29 +02:00
Patrik Oldsberg 1b02df9f46 Merge pull request #7514 from backstage/changeset-release/master
Version Packages
2021-10-14 18:04:07 +02:00
github-actions[bot] 4c840cebfa Version Packages 2021-10-14 12:45:08 +00:00
Patrik Oldsberg efdefe673f Merge pull request #7410 from SDA-SE/feat/starredentitiesapi
Introduce a new `StarredEntitiesApi` that is used in the `useStarredEntities` hook
2021-10-14 14:39:19 +02:00
Ben Lambert dc93d20204 Merge pull request #7355 from backstage/feat/blam/nunjucks-template
Add support for `scaffolder.backstage.io/v1beta3` Software Templates
2021-10-14 13:52:25 +02:00
Ben Lambert 34c6043600 Merge pull request #7605 from backstage/orkohunter/yarn-lock-sync
chore: sync yarn.lock
2021-10-14 13:23:25 +02:00
Himanshu Mishra 34f9036a5f chore: sync yarn.lock on master branch
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-10-14 12:31:15 +02:00
Fredrik Adelöw 03d306945e Merge pull request #7584 from SDA-SE/feat/fetch-resolvesafe
Use `resolveSafeChildPath` in the `fetchContents` function
2021-10-14 12:18:34 +02:00
Dominik Henneke 5b57ba36f0 Provide a migration from the old storage location and format to the new one
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:46 +02:00
Dominik Henneke 4ec21812bb Fix import
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:46 +02:00
Dominik Henneke 0366c9b667 Introduce a useStarredEntity hook to check if a single entity is starred
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:45 +02:00
Dominik Henneke 1dbaaf7801 Simplify the StarredEntitiesApi interface
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:45 +02:00
Dominik Henneke bd924fece8 Add additional docs
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:45 +02:00
Dominik Henneke c1d50273de Use entity references in the StarredEntitiesApi
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:44 +02:00
Dominik Henneke 78fcb898c4 Rename the storage location of the starred entities from /settings/starredEntities to /starredEntitites/entitifyRefs
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:44 +02:00
Dominik Henneke 615f668d31 Use entity refs as a storage format instead of the custom one
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:44 +02:00
Dominik Henneke 56f0ef983e Remove the star and unstar method from DefaultStarredEntitiesApi
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:43 +02:00
Dominik Henneke 8f55fb815b Fix test
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:43 +02:00
Dominik Henneke 126daa5ec3 Resolve PR comments
* rename starredEntities$ to starredEntitie$
* delete star and unstar from the public interface

Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:42 +02:00
Dominik Henneke 82fbda923e Introduce a new StarredEntitiesApi that is used in the useStarredEntities hook
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:42 +02:00
Dominik Henneke 54bbe25c34 Store the namespaced bucket storage for each instance that was created with MockStorage.create() instead of global variable
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:41 +02:00
blam f71fda7600 chore: removing double log Lines
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam 7fe6c0bb70 chore: reworking the docs a little bit
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam ca16be0611 chore: removing the older json schema not required anymore
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam ac29021b53 chore: re-running things
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam 17d7f5bc57 feat: removing the older stuff and updating to work with the new common packages
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam b1d5d584e5 chore: updating the version string
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam 5118da771f chore: remove the changes for catalog-backend too
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam 18404c795b chore: reset the changes to the catalog-model
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam 8893feca73 chore: docs updates
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam ca9c69f3a8 chore: fix code review comments
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam a61204bc4b chore: remove the link to the legacy docs
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam 808d30cc30 docs: removing older documentation for now
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam f39de106b5 chore: only dump when there's only one param ref
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00
blam cbe2803100 chore: remove the hackery and wrap up the template stringify
Signed-off-by: blam <ben@blam.sh>
2021-10-14 12:07:20 +02:00