blam
dcedf1bab5
chore: store the promise instead to combat race conditions
...
Signed-off-by: blam <ben@blam.sh >
2022-10-03 15:15:23 +02:00
blam
ac8a72ed3b
chore: cache the database calls and return the cached one if available
...
Signed-off-by: blam <ben@blam.sh >
2022-10-03 14:35:28 +02:00
Patrik Oldsberg
49bf199e7e
Merge pull request #13585 from leonardomaier/init-git-repo-on-create-app
...
Initializes git repository when creating an app
2022-09-29 13:25:24 +02:00
Leonardo Maier
168fb4adc0
Fix createApp test
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-28 10:17:52 -03:00
Leonardo Maier
7219c3d53e
Fix lint issues
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-28 09:47:12 -03:00
Leonardo Maier
02561f0a5b
Removes defaultBranch answer from inquirer and uses cwd to run commands in directory
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-28 08:54:25 -03:00
Ben Lambert
15dc563f61
Merge pull request #13705 from taras/fix-url-location
...
[Catalog] Location url was incorrect in tests
2022-09-28 11:05:28 +02:00
github-actions[bot]
4e94720142
Version Packages (next)
2022-09-27 10:57:53 +00:00
Fredrik Adelöw
2c30c1e628
Merge pull request #13860 from backstage/freben/sq
...
just another gitignore entry
2022-09-27 12:07:11 +02:00
Eric Peterson
de80ce2ad3
Merge pull request #13577 from matteosilv/master
...
fixing techdocs-cli Docker client creation
2022-09-27 12:00:16 +02:00
Fredrik Adelöw
52f25858a8
create-app too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-09-27 11:30:37 +02:00
Patrik Oldsberg
813f446cb4
Merge pull request #13852 from backstage/rugvip/app-backend-port
...
app-backend: add implementation for new backend system
2022-09-27 11:29:21 +02:00
Fredrik Adelöw
e1cd4b8401
Merge pull request #13808 from mitchhentgesspotify/mhentges/light-async-deep-import
...
Deep-import LightAsync to improve module-import time in tests
2022-09-27 11:17:53 +02:00
Patrik Oldsberg
28377dc89f
backend-plugin-api: fix type inference of interface options
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-27 09:53:02 +02:00
Patrik Oldsberg
69af72171d
Merge pull request #13854 from backstage/rugvip/resolve
...
cli: upfront resolution of swc-loader
2022-09-27 09:49:00 +02:00
Patrik Oldsberg
5b8bdeebc8
Merge pull request #13662 from MiniMarker/merge_upstream
...
Add support for links on Template Card
2022-09-26 21:53:12 +02:00
Patrik Oldsberg
a541a3a78a
cli: upfront resolution of swc-loader
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 20:37:24 +02:00
Patrik Oldsberg
21ceffe99d
backend-next: add app-backend
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 18:58:51 +02:00
Patrik Oldsberg
de7587254f
backend-app-api: fix for root router overriding api routes
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:55:59 +02:00
Patrik Oldsberg
96d288a02d
backend-defaults: added root logger service to default services
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:40:58 +02:00
Patrik Oldsberg
0027a749cd
backend-app-api: added index plugin option for http router service
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:40:11 +02:00
Patrik Oldsberg
8336d42b40
backend-plugin-api: fix spelling mistakes
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:18:39 +02:00
Patrik Oldsberg
72549952d1
backend-test-utils: fix handling of root scoped services
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:18:05 +02:00
Patrik Oldsberg
45857bffae
backend-app-api: export rootLoggerFactory
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:17:27 +02:00
Leonardo Maier
b57a21a7fc
Refactor tasks to read git config first and then initialize git repo
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-23 12:15:56 -03:00
Taras
312e61a451
Rename location to locationRef
...
Signed-off-by: Taras <tarasm@gmail.com >
2022-09-23 10:51:08 -04:00
Taras Mankovski
6ab850318d
Location url was incorrect
...
Signed-off-by: Taras <tarasm@gmail.com >
2022-09-23 10:13:25 -04:00
Fredrik Adelöw
93fcda09ce
Merge pull request #13784 from dagda1/document-step-layouts
...
document custom step layouts
2022-09-23 08:56:05 +02:00
Fredrik Adelöw
3b8eb15007
Merge pull request #13810 from backstage/freben/tsx
...
no longer transpile tsx files in backend packages
2022-09-22 19:38:15 +02:00
Patrik Oldsberg
ed0ef64fd3
backend-tests: increase timeout for setting up test databases
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-22 15:18:59 +02:00
Mitchell Hentges
882101cd9b
Deep-import LightAsync to improve module-import time in tests
...
`LightAsync` is a `react-syntax-highlighter` that defers the computation
of some fancy syntax-parsing logic.
However, `react-syntax-highlighter` exposes a `Light` variant that does
this computation up-front.
In runtime, tree-shaking ensures that we only import `LightAsync`, but
tree-shaking doesn't happen in tests (because it's slow).
So, deep-import to avoid incurring the syntax-parsing penalty when that
functionality isn't used in the test itself.
Signed-off-by: Mitchell Hentges <mhentges@spotify.com >
2022-09-22 15:04:49 +02:00
Patrik Oldsberg
d3adc6693f
Merge pull request #13798 from backstage/rugvip/pool
...
backend-test-utils: increase max connection pool size
2022-09-22 14:43:00 +02:00
Fredrik Adelöw
cfb3598410
no longer transpile tsx files in backend packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-09-22 14:13:04 +02:00
Fredrik Adelöw
58c2264325
update Navigate properly, and add a changeset noting the router stable update in create-app
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-09-22 11:32:56 +02:00
Fredrik Adelöw
62872bf027
fix starting create-app locally with local nodemon
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-09-22 09:58:31 +02:00
Fredrik Adelöw
86d0de11d9
remove PermissionedRoute and unnecessary copyright notices
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-09-22 09:46:24 +02:00
Fredrik Adelöw
e05e0f021b
align some versions
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-09-22 09:34:59 +02:00
Patrik Oldsberg
e91e8e9c55
backend-test-utils: increase max connection pool size
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-21 23:17:24 +02:00
Leonardo Maier
c3498947c2
Change checkForGitSetup to use commandExists function for validating if git package is installed
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-21 18:03:51 -03:00
Leonardo Maier
3735b3177e
Adds command-exists as a dependency
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-21 18:03:50 -03:00
Leonardo Maier
7838cd71ff
Fix package/create-app tests
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-21 18:00:51 -03:00
Leonardo Maier
099ce48eef
Checks if git is installed and has a user configured
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-21 18:00:51 -03:00
Leonardo Maier
7c6306fc8a
Initializes git repository when creating an app
...
Signed-off-by: Leonardo Maier <leonarmaier@gmail.com >
2022-09-21 18:00:51 -03:00
Patrik Oldsberg
410759679a
Merge pull request #13429 from OscarDHdz/shutdown-stale-scaffolder-tasks
...
Close scaffolder stale task executions
2022-09-21 19:22:46 +02:00
Paul Cowan
ff4f8bb9e5
add writing-custom-step-layouts to sidebars.json
...
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot >
2022-09-21 18:20:51 +01:00
Patrik Oldsberg
cd488c7648
Merge pull request #13788 from backstage/rugvip/blocking
...
backend-tasks: fix for fake timers blocking db setup
2022-09-21 19:11:40 +02:00
OscarDHdz
cb69395b43
Scaffolder: Set router scheduler param
...
Signed-off-by: OscarDHdz <v-ohernandez@expediagroup.com >
2022-09-21 11:01:41 -05:00
Mitchell Hentges
6f3b8d0962
Defer schema validation to improve test performance
...
Many modules export an `ajvCompiledJsonSchemaValidator(...)`, which
incurs the `ajv` schema compilation at module-import-time.
Many tests depend on these modules transitively, but don't exercise the
compiled schema - so, this compilation time is wasted.
On my machine, with an example test (airbrake/src/index.test.ts) I'm
seeing the following numbers (n=10):
Before: 6005.1ms
After: 5807.8ms
Benefit: 197.3ms (~3.3%)
Weirdly, the NodeJS profiler was saying that schema compilation was
taking ~2000ms, but that is likely due to the inaccuracy of the
sampling.
Signed-off-by: Mitchell Hentges <mhentges@spotify.com >
2022-09-21 17:00:11 +02:00
Patrik Oldsberg
a94c6fcf78
backend-tasks: fix for fake timers blocking db setup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-21 16:59:43 +02:00
Christian Marker
b32d56a82d
Merge branch 'master' into merge_upstream
...
Signed-off-by: Christian Marker <cfmarker@gmail.com >
2022-09-21 16:47:15 +02:00