Skip to content

Commit

Permalink
flag to control rpm upload to store
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Nov 7, 2024
1 parent fda3857 commit 2e82f50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pr_testing/test_multiple_prs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ DO_DAS_QUERY=false
DO_CRAB_TESTS=false
DO_HLT_P2_TIMING=false
DO_HLT_P2_INTEGRATION=false
[ "${UPLOAD_TO_PACKAGE_STORE}" != "" ] || UPLOAD_TO_PACKAGE_STORE=true
[ $(echo ${ARCHITECTURE} | grep "_amd64_" | wc -l) -gt 0 ] && DO_COMPARISON=true
[ $(echo ${RELEASE_FORMAT} | grep 'SAN_X' | wc -l) -gt 0 ] && DO_COMPARISON=false
BUILD_VERBOSE=true
Expand Down Expand Up @@ -490,7 +491,9 @@ if ${BUILD_EXTERNAL} ; then
dbg_pkgs=$(echo "${CONFIG_LINE}" | tr ';' '\n' | grep "^DEBUG_EXTERNALS=" | sed 's|.*=||')
CMSBUILD_ARGS="${CMSBUILD_ARGS} --define cms_debug_packages=${dbg_pkgs}"
fi
[ $(grep 'upload-package-store-s3' pkgtools/cmsBuild | wc -l) -eq 0 ] || CMSBUILD_ARGS="${CMSBUILD_ARGS} --upload-package-store-s3"
if $UPLOAD_TO_PACKAGE_STORE ; then
[ $(grep 'upload-package-store-s3' pkgtools/cmsBuild | wc -l) -eq 0 ] || CMSBUILD_ARGS="${CMSBUILD_ARGS} --upload-package-store-s3"
fi
#Process cmsdist Build options
BUILD_OPTS=$(echo $CONFIG_LINE | tr ';' '\n' | grep "^BUILD_OPTS=" | sed 's|^BUILD_OPTS=||')
MULTIARCH_OPTS=$(echo $CONFIG_LINE | tr ';' '\n' | grep "^MULTIARCH_OPTS=" | sed 's|^MULTIARCH_OPTS=||')
Expand Down

0 comments on commit 2e82f50

Please sign in to comment.