Skip to content

Commit

Permalink
always use previous week env
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Aug 8, 2017
1 parent 66d6a27 commit 2733a2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run-ib-testbase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ voms-proxy-init -voms cms || true
export PYTHONUNBUFFERED=1
export ARCHITECTURE=${ARCHITECTURE}
export RELEASE_FORMAT=${RELEASE_FORMAT}
source /cvmfs/cms-ib.cern.ch/week1/cmsset_default.sh || true
LAST_WEEK=$(ls -d /cvmfs/cms-ib.cern.ch/nweek-* | head -1)
source ${LAST_WEEK}/cmsset_default.sh || true
scram -a ${ARCHITECTURE} project ${RELEASE_FORMAT}
cp $WORKSPACE/cms-bot/das-utils/das_client $WORKSPACE/cms-bot/das-utils/das_client.py
cd ${RELEASE_FORMAT}
set +x
eval \$(scram runtime -sh)
set -x
$WORKSPACE/cms-bot/das-utils/use-ibeos-sort
export CMS_PATH=/cvmfs/cms-ib.cern.ch/week1
export CMS_PATH=${LAST_WEEK}
export PATH=$WORKSPACE/cms-bot/das-utils:\$PATH
which das_client
grep 'ibeos-lfn-sort' \${LOCALRT}/src/Configuration/PyReleaseValidation/python/*.py || true
Expand Down

0 comments on commit 2733a2f

Please sign in to comment.