added: tell update_data where to start branch from
this to allow for update_data from opm-tests
This commit is contained in:
parent
40df72bc95
commit
f7375c2638
@ -33,7 +33,7 @@ else
|
|||||||
then
|
then
|
||||||
cp $OPM_TESTS_ROOT $WORKSPACE/deps/opm-tests -R
|
cp $OPM_TESTS_ROOT $WORKSPACE/deps/opm-tests -R
|
||||||
pushd $WORKSPACE/deps/opm-tests
|
pushd $WORKSPACE/deps/opm-tests
|
||||||
echo "opmt-tests-revision: `git rev-parse HEAD`"
|
echo "opm-tests-revision: `git rev-parse HEAD`"
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -22,6 +22,7 @@ upstreamRev[opm-grid]=master
|
|||||||
upstreamRev[opm-models]=master
|
upstreamRev[opm-models]=master
|
||||||
upstreamRev[opm-simulators]=master
|
upstreamRev[opm-simulators]=master
|
||||||
upstreamRev[opm-upscaling]=master
|
upstreamRev[opm-upscaling]=master
|
||||||
|
upstreamRev[opm-tests]=master
|
||||||
|
|
||||||
# Setup revision tables
|
# Setup revision tables
|
||||||
parseRevisions
|
parseRevisions
|
||||||
@ -43,6 +44,12 @@ done
|
|||||||
|
|
||||||
# Do the commit
|
# Do the commit
|
||||||
export REASON
|
export REASON
|
||||||
|
if [ "${upstreamRev[opm-tests]}" == "master" ]
|
||||||
|
then
|
||||||
|
export BRANCH_BASE=origin/master
|
||||||
|
else
|
||||||
|
export BRANCH_BASE=${upstreamRev[opm-tests]}
|
||||||
|
fi
|
||||||
export BRANCH_NAME
|
export BRANCH_NAME
|
||||||
$WORKSPACE/deps/opm-simulators/tests/update_reference_data.sh $OPM_TESTS_ROOT $WORKSPACE/$configuration/build-opm-simulators $WORKSPACE/$configuration/install/bin/convertECL
|
$WORKSPACE/deps/opm-simulators/tests/update_reference_data.sh $OPM_TESTS_ROOT $WORKSPACE/$configuration/build-opm-simulators $WORKSPACE/$configuration/install/bin/convertECL
|
||||||
if test $? -eq 5
|
if test $? -eq 5
|
||||||
|
Loading…
Reference in New Issue
Block a user