Sebastian Malton
45f07a15c7
Fix bad rebase causing tests to fail
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:32 -04:00
Sebastian Malton
c52826b450
Fix unit tests after introducing new injectables that have side effects
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:32 -04:00
Sebastian Malton
735cc8e7af
Convert all KubeApi related tests to use asyncFn
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:32 -04:00
Sebastian Malton
a1c9946e84
Fix bug in KubeApi constructor
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
a254473141
Fix typo
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
18db8d544d
Switch to non-reactive way of gettting possible helm release versions
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
5798f6722e
Introduce and use get(Milli)SecondsFromUnixEpochInjectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
ce614461ce
Remove modifying input in requestActivePortForwardInjectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
c7d694fe76
Improve injectable filenames compared to the injectables inside
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
15792cdcc9
Remove global legacy apiKube
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
c3c736c065
Introduce and use windowLocationInjectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
fd19280065
Introduce and use isDebuggingInjectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
2909674beb
Remove legacy apiBase global
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
2478136635
Fix create resource tab not working
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
0591c27b3c
Fix crash on load due to circular dependency
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
6a359e8ddb
Fix residual typing issues related to metrics
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
d249c4c679
Fix show details and updating helm releases tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
042b679ca6
Fix showing-details-for-helm-release behavioural tests
...
- Remove HelmChartStore in favour of all injectables
- Create a model for UpgradeChartDockTab
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
4bef236f8c
Add new injectable for create KubeJsonApi and JsonApi instances
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
5f612dd595
Fix tests with new global override
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
b1d1b69b3d
Remove jest-fetch-mock and make fetch injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
5a2a9248e8
Make KubeconfigDialog injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
6cbb87705f
Use new createKubeJsonApiForClusterInjectable for openNodeShellSession
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
a0e15c453f
Convert the rest of shell sessions to be DI-ed
...
- This is a prerequesit for using the new
createKubeJsonApiForClusterInjectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
558dbddeb8
Switch KubeJsonApi.forCluster to be injectable but do not use
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
1809f98046
Replace resource applier with injectables
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
35f3c08279
Convert all metric requests to be injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
12beacec81
Make PortForward's use of apiBase fully injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
83970fb5a4
Convert all of Helm functions to be DI
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
2f57644801
Making apiBase injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
ed073d6562
Revert "Remove mac-ca usage since it was only in tests ( #6043 )" ( #6319 )
...
This reverts commit f544386619 .
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:52:55 -04:00
Sebastian Malton
1a8f80a5e9
Split integration tests into seperate jobs from unit tests for faster CI ( #6310 )
...
* Split integration tests into seperate jobs from unit tests for faster CI
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add logging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Simplify the matrix
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove steps that are part of Makefile
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix yml decl
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Switch to using single quotes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Further clarify the test job names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix invocation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Attempt to fix traking stdout
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* And handling for tests failing to start
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add check for app early exiting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add more logging to help with debugging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup attemptStart code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:20:21 -04:00
Jim Ehrismann
07d03d3844
ignore prerelease tag for kubectl version to download ( #6299 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-10-04 15:33:18 -04:00
Alex Andreev
0fe3242030
Refactoring dock tab download logs tests ( #6149 )
...
* Separate 'download visible' and 'download all' tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add disabled prop to DownloadLogsDropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Test for dropdown if no logs available in the tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove unused code statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-10-04 14:17:21 +03:00
Sebastian Malton
032e6d968c
Validate ClusterModel before trying to update or create a Cluster ( #4515 )
...
* Validate ClusterModel before trying to update or create a Cluster
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-03 12:36:28 -04:00
Sebastian Malton
5263d9b5ec
Bump typedoc-plugin-markdown to 3.13.6 to fix documentation creation ( #6308 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-03 12:00:08 -04:00
Sebastian Malton
f544386619
Remove mac-ca usage since it was only in tests ( #6043 )
...
* Make injecting CAs injectable, remove mac-ca as dependency
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix win-ca failing on electron renderer on windows
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix the matcher under features/ for main
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-03 10:41:59 -04:00
Sebastian Malton
b9cc0d5687
Fix kubeconfig-sync sometimes producing multiple identical entities ( #5855 )
2022-10-03 10:38:41 -04:00
Sebastian Malton
e6396b7314
Stop overriding intree extension versions on build ( #6239 )
2022-10-03 10:36:47 -04:00
Andy Hall
55960ef653
Add missing space in "Remove x items" ( #6290 )
2022-10-03 09:53:06 -04:00
dependabot[bot]
f04d592b0c
Bump ws from 8.8.1 to 8.9.0 ( #6307 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:52:40 -04:00
dependabot[bot]
e10e965c68
Bump marked from 4.1.0 to 4.1.1 ( #6304 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:52:23 -04:00
dependabot[bot]
d91251ceaa
Bump electron from 19.0.17 to 19.1.1 ( #6306 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:52:11 -04:00
dependabot[bot]
159670026c
Bump @types/node from 16.11.59 to 16.11.63 ( #6305 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:51:54 -04:00
Juho Heikka
34750f368f
Delete old extensions when app is updated on Windows ( #6301 )
2022-10-03 09:51:39 -04:00
dependabot[bot]
52b4c45e46
Bump nodemon from 2.0.19 to 2.0.20 ( #6269 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 08:18:52 -04:00
dependabot[bot]
364e7bf9ce
Bump typedoc from 0.23.14 to 0.23.15 ( #6270 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 08:18:11 -04:00
dependabot[bot]
88f62040ec
Bump @types/sharp from 0.30.5 to 0.31.0 ( #6271 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 08:17:48 -04:00
Billy Tobon
773ee900b8
Adding asc provider ( #6302 )
2022-10-03 08:17:06 -04:00
dependabot[bot]
e763786d4b
Bump esbuild from 0.15.7 to 0.15.10 ( #6300 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 08:11:16 -04:00