Skip to content

Commit 94a207a

Browse files
authored
[DAPS-1605] fix install_foxx.sh - split ssl_args (#1623)
* fix(install_foxx): remove ssl_args argument it is not a valid flag.
1 parent ef8db2f commit 94a207a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/install_foxx.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ local_DATABASE_USER="root"
5555
local_DATABASE_PORT="8529"
5656

5757
if [ -f "${local_SSL_CERT_FILE}" ]; then
58-
ssl_args="--ssl.cafile ${local_SSL_CERT_FILE}"
5958
export NODE_EXTRA_CA_CERTS="${local_SSL_CERT_FILE}"
6059
fi
6160

@@ -178,19 +177,16 @@ else
178177
"${local_ARANGOSH_SERVER_ENDPOINT_SCHEME}://${local_DATAFED_DATABASE_HOST}:${local_DATABASE_PORT}" \
179178
--server.password "${local_DATAFED_DATABASE_PASSWORD}" \
180179
--server.username "${local_DATABASE_USER}" \
181-
"${ssl_args}" \
182180
--javascript.execute "${PROJECT_ROOT}/core/database/foxx/db_create.js"
183181
# Give time for the database to be created
184182
sleep 2
185183
arangosh --server.endpoint "${local_ARANGOSH_SERVER_ENDPOINT_SCHEME}://${local_DATAFED_DATABASE_HOST}:${local_DATABASE_PORT}" \
186184
--server.password "${local_DATAFED_DATABASE_PASSWORD}" \
187185
--server.username "${local_DATABASE_USER}" \
188-
"${ssl_args}" \
189186
--javascript.execute-string 'db._useDatabase("sdms"); db.config.insert({"_key": "msg_daily", "msg" : "DataFed servers will be off-line for regular maintenance every Sunday night from 11:45 pm until 12:15 am EST Monday morning."}, {overwrite: true});'
190187
arangosh --server.endpoint "${local_ARANGOSH_SERVER_ENDPOINT_SCHEME}://${local_DATAFED_DATABASE_HOST}:${local_DATABASE_PORT}" \
191188
--server.password "${local_DATAFED_DATABASE_PASSWORD}" \
192189
--server.username "${local_DATABASE_USER}" \
193-
"${ssl_args}" \
194190
--javascript.execute-string "db._useDatabase(\"sdms\"); db.config.insert({ \"_key\": \"system\", \"_id\": \"config/system\"}, {overwrite: true } );"
195191
fi
196192

0 commit comments

Comments
 (0)