Commit Graph

38345 Commits

Author SHA1 Message Date
Philipp Hugenroth 3382cafa9e Set @backstage/sharks to CODEOWNERS for CLI onboard command
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-15 12:27:03 +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
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
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
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
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
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
backstage-goalie[bot] 9292e0661b Merge pull request #16824 from backstage/renovate/archiver-5.x-lockfile
chore(deps): update dependency @types/archiver to v5.3.2
2023-03-12 05:04:29 +00:00
renovate[bot] 86d9e2a738 chore(deps): update dependency @types/archiver to v5.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-12 04:27:53 +00:00
backstage-goalie[bot] 632f6d4b98 Merge pull request #16751 from backstage/renovate/react-router-monorepo
chore(deps): update react-router monorepo to v6.9.0
2023-03-12 04:16:45 +00:00
renovate[bot] 80a75f03fc chore(deps): update react-router monorepo to v6.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-12 03:42:21 +00:00
backstage-goalie[bot] 74bfe0c7a6 Merge pull request #16822 from backstage/renovate/tsconfig-docusaurus-1.x-lockfile
chore(deps): update dependency @tsconfig/docusaurus to v1.0.7
2023-03-11 17:40:29 +00:00
renovate[bot] 09d9c07199 chore(deps): update dependency @tsconfig/docusaurus to v1.0.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 16:49:49 +00:00
Fredrik Adelöw 0cff8ec480 Merge pull request #16809 from backstage/stack-overflow/fix-broken-stories
[Stack Overflow] fix broken stack overflow stories - mock stack overflow api
2023-03-11 10:14:51 +01:00
backstage-goalie[bot] 297118ce46 Merge pull request #16813 from backstage/renovate/better-sqlite3-8.x-lockfile
chore(deps): update dependency better-sqlite3 to v8.2.0
2023-03-10 16:43:17 +00:00
renovate[bot] 21a27f6edc chore(deps): update dependency better-sqlite3 to v8.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-10 16:11:05 +00:00
backstage-goalie[bot] 169088c5d0 Merge pull request #16811 from backstage/renovate/terser-webpack-plugin-5.x-lockfile
fix(deps): update dependency terser-webpack-plugin to v5.3.7
2023-03-10 16:06:42 +00:00
afalco 8b92574416 Add tests for step timers
Signed-off-by: afalco <afalco@indeed.com>
2023-03-10 09:37:51 -06:00