Skip to content

Commit bffddea

Browse files
committed
test: installDIRAC needs to call 'dirac-proxy-init --nocs --no-upload' before dirac-configure
1 parent f3d6e03 commit bffddea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Jenkins/utilities.sh

+5
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@ installDIRAC() {
266266
echo "$DIRAC"
267267
echo "$PATH"
268268

269+
if ! dirac-proxy-init -g dirac_admin --nocs --no-upload -C "${SERVERINSTALLDIR}/user/client.pem" -K "${SERVERINSTALLDIR}/user/client.key" "${DEBUG}"; then
270+
echo 'ERROR: dirac-proxy-init --nocs --no-upload failed' >&2
271+
exit 1
272+
fi
273+
269274
# now configuring
270275
cmd="dirac-configure -S ${DIRACSETUP} -C ${CSURL} --SkipCAChecks ${CONFIGUREOPTIONS} ${DEBUG}"
271276
if ! bash -c "${cmd}"; then

0 commit comments

Comments
 (0)