Commit 4d00ec2 1 parent b5f3d14 commit 4d00ec2 Copy full SHA for 4d00ec2
File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set -euo pipefail
12
12
# Include some sane defaults
13
13
. ${SCRIPT_DIR} /default.config
14
14
DATAVERSE_SERVICE_HOST=${DATAVERSE_SERVICE_HOST:- " dataverse" }
15
- DATAVERSE_SERVICE_PORT =${DATAVERSE_SERVICE_PORT_HTTP:- " 8080" }
15
+ DATAVERSE_SERVICE_PORT_HTTP =${DATAVERSE_SERVICE_PORT_HTTP:- " 8080" }
16
16
DATAVERSE_URL=${DATAVERSE_URL:- " http://${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT_HTTP} " }
17
17
# The Solr Service IP is always available under its name within the same namespace.
18
18
# If people want to use a different Solr than we normally deploy, they have the
@@ -45,7 +45,7 @@ psql -h ${POSTGRES_SERVER} -U ${POSTGRES_USER} ${POSTGRES_DATABASE} < ${HOME_DIR
45
45
# 2) Initialize common data structures to make Dataverse usable
46
46
cd ${HOME_DIR} /dvinstall
47
47
# 2a) Patch load scripts with k8s based URL
48
- sed -i -e " s#localhost:8080#${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT } #" setup-* .sh
48
+ sed -i -e " s#localhost:8080#${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT_HTTP } #" setup-* .sh
49
49
# 2b) Patch user and root dataverse JSON with contact email
50
50
sed -i -e
" s#[email protected] #${CONTACT_MAIL} #" data/dv-root.json
51
51
sed -i -e
" s#[email protected] #${CONTACT_MAIL} #" data/user-admin.json
Original file line number Diff line number Diff line change 7
7
# Fail on any error
8
8
set -euo pipefail
9
9
DATAVERSE_SERVICE_HOST=${DATAVERSE_SERVICE_HOST:- " dataverse" }
10
- DATAVERSE_SERVICE_PORT =${DATAVERSE_SERVICE_PORT_HTTP:- " 8080" }
10
+ DATAVERSE_SERVICE_PORT_HTTP =${DATAVERSE_SERVICE_PORT_HTTP:- " 8080" }
11
11
DATAVERSE_URL=${DATAVERSE_URL:- " http://${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT_HTTP} " }
12
12
13
13
echo -e " \nRunning configuration job for Dataverse at ${DATAVERSE_URL} ."
Original file line number Diff line number Diff line change 6
6
# Fail on any error
7
7
set -euo pipefail
8
8
DATAVERSE_SERVICE_HOST=${DATAVERSE_SERVICE_HOST:- " dataverse" }
9
- DATAVERSE_SERVICE_PORT =${DATAVERSE_SERVICE_PORT_HTTP:- " 8080" }
9
+ DATAVERSE_SERVICE_PORT_HTTP =${DATAVERSE_SERVICE_PORT_HTTP:- " 8080" }
10
10
DATAVERSE_URL=${DATAVERSE_URL:- " http://${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT_HTTP} " }
11
11
12
12
SOLR_SERVICE_HOST=${SOLR_SERVICE_HOST:- " solr" }
Original file line number Diff line number Diff line change 4
4
set -uo pipefail
5
5
6
6
DATAVERSE_SERVICE_HOST=${DATAVERSE_SERVICE_HOST:- " dataverse" }
7
- DATAVERSE_SERVICE_PORT =${DATAVERSE_SERVICE_PORT :- " 8080" }
8
- DATAVERSE_URL=${DATAVERSE_URL:- " http://${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT } " }
7
+ DATAVERSE_SERVICE_PORT_HTTP =${DATAVERSE_SERVICE_PORT_HTTP :- " 8080" }
8
+ DATAVERSE_URL=${DATAVERSE_URL:- " http://${DATAVERSE_SERVICE_HOST} :${DATAVERSE_SERVICE_PORT_HTTP } " }
9
9
SOLR_URL=" http://localhost:8983"
10
10
TARGET=" /schema"
11
11
You can’t perform that action at this time.
0 commit comments