Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #89 from grenade/bz1166448
Browse files Browse the repository at this point in the history
updated the instance types to be c3.2xlarge and adjusted the price
  • Loading branch information
Rail Aliiev committed Jul 28, 2015
2 parents 6a4c2a8 + 01db0b6 commit 363f72b
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 14 deletions.
16 changes: 16 additions & 0 deletions cloudtools/slavealloc.py
Expand Up @@ -89,6 +89,22 @@ def slave_moz_type(slave):
slave.get("trustlevel") == "try":
return "tst-emulator64"

# b-2008
if slave.get("bitlength") == "64" and \
slave.get("environment") == "prod" and \
slave.get("distro") == "win2k8" and \
slave.get("purpose") == "build" and \
slave.get("trustlevel") == "core":
return "b-2008"

# try-2008
if slave.get("bitlength") == "64" and \
slave.get("environment") == "prod" and \
slave.get("distro") == "win2k8" and \
slave.get("purpose") == "build" and \
slave.get("trustlevel") == "try":
return "try-2008"

return None


Expand Down
59 changes: 45 additions & 14 deletions configs/watch_pending.cfg
Expand Up @@ -16,9 +16,16 @@
"^b2g_try_(emulator|emulator-jb|emulator-jb|emulator-l|emulator-kk)(-debug)?_(dep|nightly|nonunified)": "try-linux64",
"^b2g_(?!try)\\S+_linux(32|64)_gecko(-debug)?": "bld-linux64",
"^Firefox (mozilla-central|mozilla-aurora|gum) linux(64)? l10n nightly": "bld-linux64",
"^Firefox \\S+ win(32|64) l10n nightly": "b-2008",
"^Thunderbird (comm-central|comm-aurora) linux(64)? l10n nightly": "bld-linux64",
"^Thunderbird \\S+ win(32|64) l10n nightly": "b-2008",
"^graphene_(?!try)\\S+_linux(32|64)(-debug)?": "bld-linux64",
"^graphene_(?!try)\\S+_win(32|64)": "b-2008",
"^graphene_try\\S+_win(32|64)": "try-2008",
"^horizon_(?!try)\\S+_linux(32|64)(-debug)?": "bld-linux64",
"^(TB )?WINNT (5.2|6.1|6.2)( x86-64)?(.*(?! try)).* (pgo-)?build": "b-2008",
"^(TB )?WINNT (5.2|6.1|6.2)( x86-64)?.* nightly": "b-2008",
"^(TB )?WINNT (5.2|6.1|6.2)( x86-64)? try": "try-2008",
"^b2g_try_linux(32|64)_gecko(-debug)?": "try-linux64",
"^Ubuntu VM 12.04 (?!x64).*": "tst-linux32",
"^Ubuntu (Code Coverage )?VM 12.04 x64.*": "tst-linux64",
Expand All @@ -40,11 +47,23 @@
},
"spot": {
"rules": {
"b-2008": [
{"instance_type": "c3.2xlarge",
"ignored_azs": ["us-east-1b", "us-east-1e"],
"performance_constant": 1,
"bid_price": 0.40}
],
"try-2008": [
{"instance_type": "c3.2xlarge",
"ignored_azs": ["us-east-1b", "us-east-1e"],
"performance_constant": 1,
"bid_price": 0.40}
],
"tst-linux64": [
{"instance_type": "m1.medium",
"ignored_azs": ["us-east-1b", "us-east-1e"],
"performance_constant": 1,
"bid_price": 0.07}
"performance_constant": 1,
"bid_price": 0.07}
],
"tst-linux32": [
{"instance_type": "m1.medium",
Expand All @@ -53,14 +72,14 @@
"bid_price": 0.07}
],
"tst-emulator64": [
{"instance_type": "c3.xlarge",
{"instance_type": "c3.xlarge",
"ignored_azs": ["us-east-1b", "us-east-1e"],
"performance_constant": 1,
"bid_price": 0.18},
{"instance_type": "m3.xlarge",
"performance_constant": 1.1,
"performance_constant": 1,
"bid_price": 0.18},
{"instance_type": "m3.xlarge",
"performance_constant": 1.1,
"ignored_azs": ["us-east-1b", "us-east-1e"],
"bid_price": 0.18}
"bid_price": 0.18}
],
"bld-linux64": [
{"instance_type": "c3.xlarge",
Expand Down Expand Up @@ -152,21 +171,27 @@
"tst-linux64": 2500,
"tst-linux32": 999,
"tst-emulator64": 1300,
"bld-linux64": 600
"bld-linux64": 600,
"b-2008": 0,
"try-2008": 0
},
"us-east-1": {
"tst-linux64": 1200,
"tst-linux32": 666,
"tst-emulator64": 1000,
"bld-linux64": 400,
"try-linux64": 200
"try-linux64": 200,
"b-2008": 0,
"try-2008": 0
},
"us-west-2": {
"tst-linux64": 1200,
"tst-linux32": 666,
"tst-emulator64": 1000,
"bld-linux64": 400,
"try-linux64": 200
"try-linux64": 200,
"b-2008": 0,
"try-2008": 0
}
}
},
Expand All @@ -177,21 +202,27 @@
"tst-linux32": 0,
"tst-emulator64": 0,
"try-linux64": 0,
"bld-linux64": 0
"bld-linux64": 0,
"b-2008": 0,
"try-2008": 0
},
"us-east-1": {
"tst-linux64": 0,
"tst-linux32": 0,
"tst-emulator64": 0,
"try-linux64": 0,
"bld-linux64": 0
"bld-linux64": 0,
"b-2008": 0,
"try-2008": 0
},
"us-west-2": {
"tst-linux64": 0,
"tst-linux32": 0,
"tst-emulator64": 0,
"try-linux64": 0,
"bld-linux64": 0
"bld-linux64": 0,
"b-2008": 0,
"try-2008": 0
}
}
},
Expand Down

0 comments on commit 363f72b

Please sign in to comment.