Patrik Oldsberg
2375361400
Merge pull request #8001 from backstage/rugvip/oda
...
cli: make sure JSS styles receive the highest priority
2021-11-12 01:05:15 +01:00
Patrik Oldsberg
510f16a435
Merge pull request #7845 from jeremyguarini/gcp-plugin-ui-updates
...
UI updates to GCP-projects plugin
2021-11-12 01:02:24 +01:00
Jeremy Guarini
4f3ba47bf3
ran yarn install to clear out data-grid dependency
...
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com >
2021-11-11 14:49:40 -08:00
Jeremy Guarini
1e33ce7407
swapout material-table for backstage table
...
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com >
2021-11-11 12:41:30 -08:00
Fredrik Adelöw
333e3c21e5
Merge pull request #7990 from backstage/freben/tar2
...
add snyk ignores for the node-gyp tar vuln
2021-11-11 20:32:04 +01:00
Fredrik Adelöw
5f606617dd
fixup yarn.lock
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:31:05 +01:00
Fredrik Adelöw
3f447ec3e1
use lodash.once instead of memoize, and skip unnecessary PK index
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:24:59 +01:00
Fredrik Adelöw
e72d9ba9f6
remove unnecessary dep on backend-test-utils
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:24:57 +01:00
Fredrik Adelöw
3bf2238187
update to the right version of the errors package
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:24:14 +01:00
Fredrik Adelöw
fdfd2f8a62
remove double config dep in cli
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:24:12 +01:00
Fredrik Adelöw
06b035d120
bump to the latest versions of backstage packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:23:19 +01:00
Fredrik Adelöw
41009bb3a5
fix missing link in api report
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
85cc6bd6aa
rename to TaskScheduler to reduce collision risk with other concepts
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
92d85b80e9
more tests and a review comment
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
b5c106ac4c
fix api export and test timeouts
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
26cf7f631d
final cleanup, removing unschedule
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
9bee0b9f71
make it possible to abort tasks
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
d8c28d99cf
make the original task definition into just one object
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:47 +01:00
Fredrik Adelöw
b91fe07309
use a proper AbortController instead of the home baked one
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:40 +01:00
Fredrik Adelöw
cc3b6c25aa
make timeout and frequency mandatory
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
aeaa2fe3e6
log the task id as well when unable to parse settings
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
d252c983b5
use dashes in not-ready-yet
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
5d602f8e29
get rid of the ts-ignore
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
3f1237147f
remove the lock functionality
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
67456f7fc9
remove knexfile
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
c1ac8dd174
log on failed release
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
e09bf604cd
move to a separate package instead and address comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:27 +01:00
Fredrik Adelöw
222793c849
do not modify the backend yet
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
d7c1e0e34a
docs
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
751317dbf3
finishing touches
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
d4f412fcd3
Get most of the task worker code into place
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
d088c7f0a3
Implement the locks part of the task manager
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:49 +01:00
Fredrik Adelöw
6f276707e3
review comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:06:45 +01:00
Fredrik Adelöw
a8732a1200
Make sure that the server builder propagates init errors properly
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:02:59 +01:00
Fredrik Adelöw
9010cdc4d7
add snyk ignores for the node-gyp tar vuln
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 19:59:13 +01:00
Colton Padden
1b3fab7193
Use mock-fs during createApp to prevent filesystem modifications
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00
Colton Padden
bd90ded8b7
Add type annotations for mocked child_process.exec
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00
Colton Padden
1d666cb67e
Add regression tests to createApp entrypoint
...
Ensure that appropriate tasks are called depending on inquirer prompt answers,
and command-line argument options (--path, and --skip-install).
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00
Colton Padden
2163e83fa2
Refactor create-app tasks and introduce regression tests
...
- Tasks were moved from the script entrypoint to the lib directory
- Doc comments were added for each task function defined in `src/lib/tasks.ts`
- The `yarn test` script was added to package.json
- Unit tests were written for each task -- verying file operations using fs-mock
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00
Patrik Oldsberg
01a0a39521
Merge pull request #7790 from backstage/mob/decouple-core
...
core-app-api: deprecate dependency on core-components, theme, and MUI
2021-11-11 18:31:24 +01:00
Patrik Oldsberg
25f637f39f
cli: make sure JSS styles receive the highest priority
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 18:15:39 +01:00
Patrik Oldsberg
b85ccce84d
app-defaults: update internal deps
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:28:57 +01:00
Patrik Oldsberg
46570fecbc
test-utils: migrate theme usage and switch to actual MUI icons
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:49 +01:00
Patrik Oldsberg
1be02e09dc
core-app-api: fix AppManager tests
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:48 +01:00
Patrik Oldsberg
eb489db0c1
app-defaults: lazier api initialization to work around import cycle
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:48 +01:00
Patrik Oldsberg
6d790f0f63
test-utils: reintroduce defaultApis
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:48 +01:00
Patrik Oldsberg
569acdb8f8
core-app-api: fix fix docs docs
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:48 +01:00
Patrik Oldsberg
29eb8d7dbe
test-utils: switch mock icons to be plain svg elements
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:47 +01:00
Patrik Oldsberg
2dd2a7b2cc
changesets: add changesets for test-utils createApp and AppTheme deprecation
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:47 +01:00
Patrik Oldsberg
cdbddf196f
app-defaults: clean up dependencies
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:47 +01:00