Пример #1
0
 def __init__(self,
              name=".primus/deploy.conf",
              configs=[],
              dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)
     LoggableArtifact.__init__(self)
     self.target = configs
Пример #2
0
    def __init__(self,
                 name,
                 config=('.primus/deploy.conf', 'DEFAULT'),
                 dependencies=[]):
        PermanentFileArtifact.__init__(self, name, dependencies)
        if os.path.isdir(self.fullpath()):
            raise BaseException("Script cannot be a directory '%s'" %
                                self.fullpath())

        load_mysql_parameters(self, config[0], config[1])
Пример #3
0
 def __init__ (self, name=".primus/deploy.conf", configs = [], dependencies = []):
     PermanentFileArtifact.__init__(self, name, dependencies) 
     LoggableArtifact.__init__(self)
     self.target = configs
Пример #4
0
 def __init__ (self, name, classpath = [],  dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)
     self.classpath = classpath
Пример #5
0
 def __init__ (self, name, config=('.primus/deploy.conf', 'DEFAULT'), dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)        
     if os.path.isdir(self.fullpath()): 
         raise BaseException("Script cannot be a directory '%s'" % self.fullpath())
     
     load_mysql_parameters(self, config[0], config[1])
Пример #6
0
 def __init__(self, name, lib='lib', dependencies=[]):
     assert lib
     PermanentFileArtifact.__init__(self, name, dependencies)
     self.lib = lib
Пример #7
0
 def __init__(self, name, dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)
Пример #8
0
 def __init__(self, name, lib="lib", dependencies=[]):
     assert lib
     PermanentFileArtifact.__init__(self, name, dependencies)
     self.lib = lib
Пример #9
0
 def __init__(self, name, dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)