Sebastian Malton
a72f2005fc
Fixup remaining import issues
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-10 09:39:24 +02:00
Sebastian Malton
f8aa389930
Fixup uses of AsyncResult and autoBind
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-10 09:39:23 +02:00
Sebastian Malton
404d219e0c
Fixup uses of @k8slens/test-utils
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-10 09:39:23 +02:00
Sebastian Malton
1dc177f21c
Replace all internal uses of utilities with new packages
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-10 09:39:22 +02:00
Sebastian Malton
ad9bafe2a5
Cleanup 'Cluster' to remove environment specific details ( #6951 )
...
- requestNamespaceListPermissions is infallable so no need to have the extra try/catch
- Refactor isMetricHidden method away from Cluster
- Refactor shouldShowResource out of Cluster
- Refactor isInLocalKubeconfig out of Cluster
- Remove depecrated and unused workspace from Cluster
- Refactor out kubectl as a dependency of Cluster
- Remove from cluster getter used only once
- Split out ClusterConnection from Cluster
- Also split out KubeAuthProxyServer from ContextHandler
- Rename ContextHandler to PrometheusHandler
- Cleanup onNetworkOffline/Online impls within ClusterManager
- Remove annotations from ClusterConnection
- Remove mobx annotations from Cluster
- Rename loadConfigFromFileInjectable
- Remove all uses of dead createClusterInjectionToken
- Fix type errors related to broadcastConnectionUpdate
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-03-10 09:37:39 +02:00
Janne Savolainen and Mikko Aspiala
0d480917cf
Simplify test setup by removing option for global overrides ( #7302 )
...
* Remove option to doGeneralOverrides and do it always
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Override telemetry by default to optimize and simplify testing
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Simplify more usages of getDiForUnitTesting
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2023-03-07 12:23:57 -05:00
Jari Kolehmainen
2657df2293
Restructure to monorepo ( #6907 )
...
* wip: restructure to monorepo
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor create-release-pr to a package
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* build fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* github workflow fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix typo
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add webpack-env types to core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix github workflows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor/fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* yarn run dev
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* eslint settings for vscode
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* move templates to right package
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* open-lens build fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* integration test fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix nx task dependencies
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* use bash shell for unit tests in test workflow
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix test:unit for windows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix win-ca webpack error in open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix win-ca webpack error in open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix build:app on windows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* remove ELECTRON_BUILDER_EXTRA_ARGS
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* sync src/ from master
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* remove Makefile from core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2023-01-24 10:46:26 -08:00