diff --git a/pr_testing/get_external_name.sh b/pr_testing/get_external_name.sh index 4c90adf44d99..d2c221d7f2c6 100755 --- a/pr_testing/get_external_name.sh +++ b/pr_testing/get_external_name.sh @@ -10,6 +10,7 @@ ARRAY=( "cms-externals/incubator-mxnet:mxnet-predict" "cms-externals/eigen-git-mirror:eigen" "cms-externals/tensorflow:tensorflow-sources" + "cms-sw/cmssw-config:coral" ) case ${PKG_REPO} in diff --git a/pr_testing/test_multiple_prs.sh b/pr_testing/test_multiple_prs.sh index 8f666a286693..4b66efa5720e 100755 --- a/pr_testing/test_multiple_prs.sh +++ b/pr_testing/test_multiple_prs.sh @@ -233,7 +233,7 @@ if [[ ${PKG_TOOL_VERSION} -lt 32 && ! -z $(echo ${UNIQ_REPO_NAMES} | tr ' ' '\n' fi # Do git pull --rebase for each PR except for /cmssw -for U_REPO in $(echo ${UNIQ_REPOS} | tr ' ' '\n' | grep -v '/cmssw' ); do +for U_REPO in $(echo ${UNIQ_REPOS} | tr ' ' '\n' | grep -v '/cmssw$' ); do FILTERED_PRS=$(echo ${PULL_REQUESTS} | tr ' ' '\n' | grep ${U_REPO} | tr '\n' ' ') for PR in ${FILTERED_PRS}; do ERR=false @@ -397,11 +397,17 @@ if ${BUILD_EXTERNAL} ; then rm -f $CMSSW_IB/config/scram_basedir ls $WORKSPACE/$BUILD_DIR/share/lcg/SCRAMV1 > $CMSSW_IB/config/scram_version config_tag=$(grep '%define *configtag *V' $WORKSPACE/cmsdist/scram-project-build.file | sed 's|.*configtag *V|V|;s| *||g') - if [ "$(cat $CMSSW_IB/config/config_tag)" != "${config_tag}" ] ; then - git clone git@github.com:cms-sw/cmssw-config scram-buildrules - pushd scram-buildrules - git checkout ${config_tag} - popd + if [ -d $WORKSPACE/config ] ; then + cp -r $WORKSPACE/config scram-buildrules + else + if [ "$(cat $CMSSW_IB/config/config_tag)" != "${config_tag}" ] ; then + git clone git@github.com:cms-sw/cmssw-config scram-buildrules + pushd scram-buildrules + git checkout ${config_tag} + popd + fi + fi + if [ -d scram-buildrules ] ; then echo ${config_tag} > $WORKSPACE/$CMSSW_IB/config/config_tag mv $CMSSW_IB/config/SCRAM $CMSSW_IB/config/SCRAM.orig mv scram-buildrules/SCRAM $CMSSW_IB/config/SCRAM