From 0d645df538726de99f2e403b383a7b5d1f1bdf65 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 9 Jan 2013 22:23:44 +0200 Subject: Add new build type: build-android-toolchain-linaro-restricted . --- node/prepare_build_config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'node') diff --git a/node/prepare_build_config.py b/node/prepare_build_config.py index 7708ff4..2697dd7 100755 --- a/node/prepare_build_config.py +++ b/node/prepare_build_config.py @@ -58,7 +58,9 @@ def validate_config(config, slave_type): else: owner_cat = "normal" - if config.get("BUILD_TYPE", "build-android") in ["build-android-private", "build-android-restricted"]: + if config.get("BUILD_TYPE", "build-android") in ["build-android-private", + "build-android-restricted", + "build-android-toolchain-linaro-restricted"]: build_type_cat = "restricted" else: build_type_cat = "normal" @@ -69,7 +71,7 @@ def validate_config(config, slave_type): raise BuildConfigMismatchException("Only jobs owned by ~linaro-android-restricted may run on this build slave type") if owner_cat == "restricted" and build_type_cat != "restricted": - raise BuildConfigMismatchException("Jobs owned by ~linaro-android-restricted must use BUILD_TYPE=build-android-restricted") + raise BuildConfigMismatchException("Jobs owned by ~linaro-android-restricted must use BUILD_TYPE=build-android-*-restricted") # Finally, generic mismatch detection if slave_type_cat != owner_cat or slave_type_cat != build_type_cat: -- cgit v1.2.3