Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Carlo FERRIGNO
ci-template-cc
Commits
79dc43b9
Unverified
Commit
79dc43b9
authored
Feb 02, 2021
by
Volodymyr SAVCHENKO
Browse files
change default odakb
parent
5c223285
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
make-functions.sh
make-functions.sh
+5
-2
No files found.
make-functions.sh
View file @
79dc43b9
#!/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
"
\0
33[31mODA_SPARQL_ROOT
\0
33[0m=
\0
33[32m
${
ODA_SPARQL_ROOT
}
\0
33[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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment