8c518d29a2dc04b3164a120f36a8d0c8d7bd6892 hiram Thu Jul 18 13:18:47 2019 -0700 allow hgwdev to be used as a cluster refs #23734 diff --git src/hg/utils/automation/HgAutomate.pm src/hg/utils/automation/HgAutomate.pm index 74b7df9..6ae649c 100755 --- src/hg/utils/automation/HgAutomate.pm +++ src/hg/utils/automation/HgAutomate.pm @@ -46,31 +46,37 @@ # A simple model of our local compute environment with some subroutines # for checking the validity of path+machine combos and for suggesting # appropriate storage and machines. use vars qw( %cluster %clusterFilesystem $defaultDbHost ); sub readMainCluster(); # forward declaration to keep code order # the name of the cluster is in a separate text file, so it's easier to # use from bash scripts %cluster = ( readMainCluster() => { 'enabled' => 1, 'gigaHz' => 1.4, 'ram' => 8, - 'hostCount' => 512, }, + 'hostCount' => 992, }, + 'hgwdev-101' => + { 'enabled' => 1, 'gigaHz' => 2.1, 'ram' => 1, + 'hostCount' => 32, }, + 'hgwdev' => + { 'enabled' => 1, 'gigaHz' => 2.1, 'ram' => 1, + 'hostCount' => 32, }, ); my %obsoleteCluster = ( 'swarm' => , { 'enabled' => 1, 'gigaHz' => 2.33, 'ram' => 8, 'hostCount' => 1024, }, 'memk' => { 'enabled' => 1, 'gigaHz' => 1.0, 'ram' => 32, 'hostCount' => 32, }, 'encodek' => { 'enabled' => 1, 'gigaHz' => 2.0, 'ram' => 16, 'hostCount' => 48, }, ); my @allClusters = (keys %cluster);