Unverified Commit 79dc43b9 authored by Volodymyr SAVCHENKO's avatar Volodymyr SAVCHENKO
Browse files

change default odakb

parent 5c223285
#!/bin/bash
# useful defaults
export ODA_SPARQL_ROOT=${ODA_SPARQL_ROOT:-http://fuseki.internal.odahub.io/dataanalysis}
export ODA_SPARQL_ROOT=${ODA_SPARQL_ROOT:-https://www.astro.unige.ch/cdci/astrooda/dispatch-data/gw/odakb}
#export ODA_SPARQL_ROOT=${ODA_SPARQL_ROOT:-http://fuseki.internal.odahub.io/dataanalysis}
export PATH=$HOME/.local/bin:$PATH
......@@ -161,6 +162,8 @@ function run() {
[ -s passwd.new ] || exit 1
echo -e "\033[31mODA_SPARQL_ROOT\033[0m=\033[32m${ODA_SPARQL_ROOT}\033[0m"
mkdir -pv /tmp/tmpcode-$TEST_CASE_NAME; \
docker run --rm -it \
--user $(id -u) \
......@@ -175,7 +178,7 @@ function run() {
--name $TEST_CASE_NAME \
--entrypoint bash $IMAGE \
$extra \
-c "export ODA_SPARQL_ROOT=http://fuseki.internal.odahub.io/dataanalysis
-c "
export HOME_OVERRRIDE=/home/jovyan
export HOME=/home/jovyan
source /init.sh
......
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