added: tell update_data where to start branch from

this to allow for update_data from opm-tests
This commit is contained in:
Arne Morten Kvarving 2021-11-12 11:58:21 +01:00
parent 40df72bc95
commit f7375c2638
2 changed files with 8 additions and 1 deletions

View File

@ -33,7 +33,7 @@ else
then
cp $OPM_TESTS_ROOT $WORKSPACE/deps/opm-tests -R
pushd $WORKSPACE/deps/opm-tests
echo "opmt-tests-revision: `git rev-parse HEAD`"
echo "opm-tests-revision: `git rev-parse HEAD`"
popd
fi
fi

View File

@ -22,6 +22,7 @@ upstreamRev[opm-grid]=master
upstreamRev[opm-models]=master
upstreamRev[opm-simulators]=master
upstreamRev[opm-upscaling]=master
upstreamRev[opm-tests]=master
# Setup revision tables
parseRevisions
@ -43,6 +44,12 @@ done
# Do the commit
export REASON
if [ "${upstreamRev[opm-tests]}" == "master" ]
then
export BRANCH_BASE=origin/master
else
export BRANCH_BASE=${upstreamRev[opm-tests]}
fi
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
if test $? -eq 5