From e51e2cae583261b78d2aee89578420746054539a Mon Sep 17 00:00:00 2001 From: George Joseph Date: Wed, 24 Jul 2019 14:15:27 -0600 Subject: [PATCH] CI: Don't enable non-core modules in Certified branches We don't support non-core modules for Certified releases but we were enabling them for CI builds which was causing lots of test failures. Now we don't. Change-Id: I0b3254c08a2479f3d39151690350cce5ce5ad766 --- tests/CI/buildAsterisk.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/CI/buildAsterisk.sh b/tests/CI/buildAsterisk.sh index f5980e8ee4..3f30d6bf15 100755 --- a/tests/CI/buildAsterisk.sh +++ b/tests/CI/buildAsterisk.sh @@ -128,9 +128,13 @@ if [ $NO_MENUSELECT -eq 0 ] ; then runner menuselect/menuselect --enable REF_DEBUG menuselect.makeopts fi - cat_enables="MENUSELECT_BRIDGES MENUSELECT_CEL MENUSELECT_CDR" - cat_enables+=" MENUSELECT_CHANNELS MENUSELECT_CODECS MENUSELECT_FORMATS MENUSELECT_FUNCS" - cat_enables+=" MENUSELECT_PBX MENUSELECT_RES MENUSELECT_UTILS MENUSELECT_TESTS" + cat_enables="" + + if [[ ! "${BRANCH_NAME}" =~ ^certified ]] ; then + cat_enables+=" MENUSELECT_BRIDGES MENUSELECT_CEL MENUSELECT_CDR" + cat_enables+=" MENUSELECT_CHANNELS MENUSELECT_CODECS MENUSELECT_FORMATS MENUSELECT_FUNCS" + cat_enables+=" MENUSELECT_PBX MENUSELECT_RES MENUSELECT_UTILS" + fi if [ $NO_DEV_MODE -eq 0 ] ; then cat_enables+=" MENUSELECT_TESTS"