cidb: enable release waterfall use of cidb

This change requires CL:219515 to be landed and the db accordingly
migrated.

BUG=chromium:416956
TEST=pre-cq-group tryjob.

Change-Id: Ia26bdf4c3fcf7e2c65dec6b42c6e2d412c73f2a2
Reviewed-on: https://chromium-review.googlesource.com/219516
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index abc4a11..70a609b 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -1676,7 +1676,7 @@
   # the chromeos.chrome waterfall).
   # See crbug.com/406940
   waterfall = os.environ.get('BUILDBOT_MASTERNAME', '')
-  if not waterfall in ('chromeos', 'chromiumos', 'chromiumos.tryserver'):
+  if not waterfall in constants.CIDB_KNOWN_WATERFALLS:
     cidb.CIDBConnectionFactory.SetupNoCidb()
     return