X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/66088cabf30c5291ad8894e7009d9c9af466c158..e98e166ceab6e377036fc87ce31e4d0d5238994f:/services/workbench2/src/common/config.ts diff --git a/services/workbench2/src/common/config.ts b/services/workbench2/src/common/config.ts index eff998ae5e..172425f332 100644 --- a/services/workbench2/src/common/config.ts +++ b/services/workbench2/src/common/config.ts @@ -19,6 +19,25 @@ export interface ClusterConfigJSON { MaxItemsPerResponse: number }, ClusterID: string; + Containers: { + ReserveExtraRAM: number; + }, + InstanceTypes?: { + [key: string]: { + AddedScratch: number; + CUDA?: { + DeviceCount: number; + DriverVersion: string; + HardwareCapability: string; + }; + IncludedScratch: number; + Preemptible: boolean; + Price: number; + ProviderType: string; + RAM: number; + VCPUs: number; + }; + }; RemoteClusters: { [key: string]: { ActivateUsers: boolean @@ -28,9 +47,6 @@ export interface ClusterConfigJSON { Scheme: string } }; - Mail?: { - SupportEmailAddress: string; - }; Services: { Controller: { ExternalURL: string; @@ -120,6 +136,7 @@ export interface ClusterConfigJSON { }; Users: { AnonymousUserToken: string; + SupportEmailAddress: string; }; } @@ -276,6 +293,9 @@ export const mockClusterConfigJSON = ( MaxItemsPerResponse: 1000, }, ClusterID: '', + Containers: { + ReserveExtraRAM: 576716800, + }, RemoteClusters: {}, Services: { Controller: { ExternalURL: '' }, @@ -338,7 +358,8 @@ export const mockClusterConfigJSON = ( }, Volumes: {}, Users: { - AnonymousUserToken: "" + AnonymousUserToken: "", + SupportEmailAddress: "arvados@example.com", }, ...config, });