Commit 6a42bfb4 authored by André Anjos's avatar André Anjos 💬

[scripts][before_test] Slightly modify script to accomodate use from beat.web/buildout

parent 08912e2b
Pipeline #25350 passed with stage
in 25 minutes and 17 seconds
......@@ -13,7 +13,6 @@ else
fi
if [ "${BUILDOUT}" == "true" ]; then
export PATH=${basedir}/bin:${PATH} #use python from here
# when executing in the context of buildout, define dummies
export CI_PROJECT_URL=https://gitlab.idiap.ch/beat/beat.core
export CI_PROJECT_DIR=beat
......@@ -30,6 +29,12 @@ fi
source ${basedir}/_ci/functions.sh
if [ -e ${basedir}/bin ]; then
log_info "Found ${basedir}/bin directory, prepending to PATH..."
PATH=${basedir}/bin:${PATH}
export_env PATH
fi
REGISTRY="docker.idiap.ch"
check_env REGISTRY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment