Changeset 32877
- Timestamp:
- Dec 7, 2011, 10:27:07 AM (15 years ago)
- Location:
- trunk/ippdor
- Files:
-
- 2 edited
-
deployment/deploy.py (modified) (2 diffs)
-
src/ipp/constants/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdor/deployment/deploy.py
r32874 r32877 4 4 Utility executable for IPP Condor deployment 5 5 """ 6 def hostname(): 7 """ 8 Get the host name 9 >>> print hostname() 10 neverland 11 """ 12 return socket.gethostbyaddr(socket.gethostname())[0].split('.')[0] 6 13 7 14 # Default values … … 10 17 This class contains all default values for the IPP Condor deployment 11 18 """ 12 svnSourceUrl = 'file:///home/schastel/svnrepo/ippdor/trunk/src' 13 targetDirectory = '/home/schastel/local/share/python/ipp' 14 targetBinaryDirectory = '/home/schastel/local/bin' 19 if hostname().startswith('ipp'): # Production cluster 20 svnSourceUrl = 'https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/trunk/ippdor' 21 targetDirectory = '/home/panstarrs/ippdor/local/share/python/ipp' 22 targetBinaryDirectory = '/home/panstarrs/ippdor/local/bin' 23 else: 24 svnSourceUrl = 'file:///home/schastel/svnrepo/ippdor/trunk/src' 25 targetDirectory = '/home/schastel/local/share/python/ipp' 26 targetBinaryDirectory = '/home/schastel/local/bin' 15 27 16 28 def __init__(self): -
trunk/ippdor/src/ipp/constants/__init__.py
r32876 r32877 19 19 - The Stack module defines constants relative to the Stack stage (but 20 20 the executables) 21 22 21 """
Note:
See TracChangeset
for help on using the changeset viewer.
