Commit 800c97dc authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Use nightlies credentials for sftnight from $HOME/private on ARM

(CORALCOOL-2857)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19900 4525493e-7705-40b1-a816-d608a930855b
parent 62c75e81
......@@ -33,6 +33,7 @@ __tag__ = "$Name: not supported by cvs2svn $"
import os
import qm
import sys
import platform
import re
import tempfile
import shutil
......@@ -676,12 +677,17 @@ class DatabaseTest(StandardTest):
raise RuntimeError("Windows is no longer supported!")
elif sys.platform.startswith("darwin") and "USER" in env and \
env["USER"] == "sftnight" :
# Use credentials from $HOME/private on Mac (bug #86463)
# Use credentials from $HOME/private on Mac (CORALCOOL-1083)
env["CORAL_AUTH_PATH"] = os.path.join(env["HOME"],"private")
env["CORAL_DBLOOKUP_PATH"] = env["CORAL_AUTH_PATH"]
elif platform.machine() == "aarch64" and "USER" in env and \
env["USER"] == "sftnight" :
# Use credentials from $HOME/private on ARM (CORALCOOL-2857)
env["CORAL_AUTH_PATH"] = os.path.join(env["HOME"],"private")
env["CORAL_DBLOOKUP_PATH"] = env["CORAL_AUTH_PATH"]
elif sys.platform.startswith("linux") and "USER" in env and \
env["USER"] == "sftnight" :
# Use credentials from POOL AFS area on Linux (bug #86463)
# Use credentials from POOL AFS area on Linux (CORALCOOL-1083)
env["CORAL_AUTH_PATH"] = "/afs/cern.ch/sw/lcg/app/pool/db"
env["CORAL_DBLOOKUP_PATH"] = env["CORAL_AUTH_PATH"]
# Environment for the nightlies (user sftnight) - END
......
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