Upgrade to electron 12 and Node 14

- Compute cluster ID for tests
- Switch to temporary appData path while testing

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-08-23 15:55:05 -04:00
1 parent ac2ce1ba57
commit 2d75fd6717
11 files changed
+112 -97

No files matched your search

@@ -86,7 +86,6 @@ export class HelmCharts extends Component<Props> {
[columnId.name]: chart => chart.getName(),
[columnId.repo]: chart => chart.getRepository(),
}}
renderHeaderTitle="Helm Charts"
searchFilters={[
chart => chart.getName(),
chart => chart.getVersion(),
@@ -138,7 +138,7 @@ export class HelmReleases extends Component<Props> {
},
...headerPlaceholders,
})}
renderHeaderTitle="Helm Releases"
renderHeaderTitle="Releases"
renderTableHeader={[
{ title: "Name", className: "name", sortBy: columnId.name, id: columnId.name },
{ title: "Namespace", className: "namespace", sortBy: columnId.namespace, id: columnId.namespace },
+1 -1
View File
@@ -50,7 +50,7 @@ export function createAppStorage<T>(key: string, defaultValue: T, clusterId?: st
const fileName = `${clusterId ?? "app"}.json`;
const filePath = path.resolve(folder, fileName);
if (!storage.initialized && !process.argv.includes("--integration-tests")) {
if (!storage.initialized) {
storage.initialized = true;
// read previously saved state (if any)