Commit Graph

38873 Commits

Author SHA1 Message Date
Fredrik Adelöw c326059da9 Merge pull request #16829 from adikrhan/fix/token-exp-difference
Handle token difference in Microsoft provider
2023-03-14 12:18:02 +01:00
Philipp Hugenroth 3c5b436237 Adjust PR to review
- Add comment in local config indicating override

- Restructure files & folders to avoid folders with only one index file

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 11:13:41 +01:00
Johan Haals b488802345 Merge pull request #16800 from kurtaking/kk/feature-flag-docs-update
Kk/feature flag docs update
2023-03-14 11:10:36 +01:00
Philipp Hugenroth 349b70af35 Update packages/cli/src/commands/onboard/README.md
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
2023-03-14 10:40:13 +01:00
Marcus Eide b590c95ed8 cli: Remember provider selection from auth setup when setting up software templates
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 8e254c06bc cli: Use custom resolver to sign-in as guest instead, do not add user-info to catalog.
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 3d12166826 Chain Scaffolder inquirer prompts
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 87dc2beb21 Setup basic GitHub & GHE integration using CLI
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 55f802caa6 Add GitHub integration to Onboard CLI
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide c24703bd5a cli: Add GitLab option to setting up auth
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 711f8c4272 cli: Fix typo
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide ff8bffb063 cli: Remove unused answer variable
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 284810a0a1 cli: Add better error message if a patch failed
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide c07c3b7364 cli: Add changeset
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide e1771deebb cli: Rename command to onboard
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 4e4a0507ca cli: Consolidate oauth.ts into index.ts
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 977a5c8f96 cli: Simplify patching by reading target file from path
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 20fc473568 Don't use environment variables
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide ed89e40965 cli: Use .patch files instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 0a60451b6f Revert create-github-app changes
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth eaece17af0 Remove GHA approach for now
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 5663de4a37 cli: Add user entity to local catalog in auth flow
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 2f851a3945 cli: Add minimal instructions for how to try locally
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 67c693c6b2 cli: Add ability to patch existing files
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide e3e0b14ec4 cli: Move file logic to each type of github auth to simplify logic
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide ba46a19232 cli: Move to folder and split up into different questions
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide d9893cb794 cli: Fix github auth not including environment key
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 184602db0a cli: Handle appending config when setting up github auth
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide d844a31fc4 cli: Add validation for github credentials
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 250fb2af40 Add GHA option to auth flow
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 29534d2453 Add gh-auth
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide e1754adefa cli: Set admin command to hidden
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 7af6c36adf cli: Expand admin command to setup basic authenticaton for gihub
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 1322688118 cli: Add admin skeleton command
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:12 +01:00
Johan Haals ccb26dc545 Merge pull request #16720 from RobotSail/techdocs
Add Experimental Plugin Support for the Techdocs backend plugin
2023-03-14 10:06:04 +01:00
Andrew Thauer c1ee073a82 feat: add lastModifiedAt to UrlReader methods
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2023-03-13 16:06:10 -04:00
Alec Jacobs 2d20ea2465 build(shortcuts): move @types/zen-observable to devDependencies
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2023-03-13 10:47:06 -07:00
Alec Jacobs c5a57d15e2 docs(shortcuts): regen api-report.md
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2023-03-13 10:28:50 -07:00
Miguel Alexandre f538b9c5b8 Include the failureMetadata and successMetadata in TechInsightsApi
Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
2023-03-13 18:00:57 +01:00
Alec Jacobs 7c38e565d1 docs(changeset): add patch changeset
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2023-03-13 09:34:20 -07:00
Alec Jacobs e6ac8e69b5 fix(shortcuts): client handles state updates from storageApi
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2023-03-13 09:28:13 -07:00
Fredrik Adelöw 80698c1de8 Merge pull request #16831 from backstage/freben/client-nulls
catalog-client: getEntitiesByRefs should return undefined
2023-03-13 16:10:00 +01:00
Heikki Hellgren 7af1285497 feat: add scaffolder action to get multiple entities
uses the catalog client getEntitiesByRefs to return the entities for the
template

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2023-03-13 15:36:15 +02:00
Fredrik Adelöw c630360631 catalog-client: getEntitiesByRefs should return undefined
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-13 13:36:06 +01:00
drodil 46fe170c05 Update .changeset/strong-crews-repeat.md
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: drodil <heiccih@gmail.com>
2023-03-13 13:16:53 +02:00
Johan Haals a0804a0371 Merge pull request #16796 from afalco103/remove-timer-for-skipped-steps
Do not show timer for skipped steps
2023-03-13 10:41:39 +01:00
Adi Krhan e262738b8a Handle token difference in Microsoft provider
Signed-off-by: Adi Krhan <adikrhan43@gmail.com>
2023-03-13 09:23:59 +01:00
renovate[bot] c8ded0d419 chore(deps): update dependency aws-sdk-client-mock-jest to v2.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-12 06:09:17 +00:00
backstage-goalie[bot] 87628d47c7 Merge pull request #16825 from backstage/renovate/aws-sdk-client-mock-2.x-lockfile
chore(deps): update dependency aws-sdk-client-mock to v2.1.1
2023-03-12 05:57:34 +00:00
renovate[bot] 4a44c97bfa chore(deps): update dependency aws-sdk-client-mock to v2.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-12 05:17:32 +00:00