summaryrefslogtreecommitdiff
path: root/buildscripts/ciconfig
diff options
context:
space:
mode:
authorLydia Stepanek <lydia.stepanek@mongodb.com>2019-06-04 13:33:53 -0400
committerLydia Stepanek <lydia.stepanek@mongodb.com>2019-06-04 13:33:53 -0400
commitff945d4698dfcc61236537d7a5912ddd1abd9695 (patch)
tree285db1def8073ed461ac313e31df5a1ffef4465e /buildscripts/ciconfig
parentf75aa0003333eefd1e1c56039bd1d44c44fb3620 (diff)
downloadmongo-ff945d4698dfcc61236537d7a5912ddd1abd9695.tar.gz
SERVER-40895 Dynamically generate burn_in_tests for tag validation
Diffstat (limited to 'buildscripts/ciconfig')
-rw-r--r--buildscripts/ciconfig/evergreen.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildscripts/ciconfig/evergreen.py b/buildscripts/ciconfig/evergreen.py
index 7e2ab496b3d..987e1b95a61 100644
--- a/buildscripts/ciconfig/evergreen.py
+++ b/buildscripts/ciconfig/evergreen.py
@@ -307,6 +307,11 @@ class Variant(object):
return self.raw.get("expansions", {}).get(name)
@property
+ def expansions(self):
+ """Get the expansions."""
+ return self.raw.get("expansions", [])
+
+ @property
def test_flags(self):
"""Get the value of the test_flags expansion or None if not found."""
return self.expansion("test_flags")