Example #1
0
 def __init__(self):
     self.db_api = api.API()
     self.gitlab = gitlab.Gitlab(CONF.get('DEFAULT', 'gitlab_server'),
                                 private_token=CONF.get(
                                     'DEFAULT', 'access_token_gitlab'))
     self.aibuild_group = self._create_group('aibuild')
     self.jenkins = jenkins.Jenkins(
         CONF.get('DEFAULT', 'jenkins_server'),
         username=CONF.get('DEFAULT', 'jenkins_user'),
         password=CONF.get('DEFAULT', 'jenkins_password'))
Example #2
0
 def __init__(self):
     super(ImageBuildController, self).__init__()
     self.dbapi = api.API()
Example #3
0
 def __init__(self):
     super(ImageReleaseController, self).__init__()
     self.dbapi = api.API()
Example #4
0
 def __init__(self):
     super(ImageValidateController, self).__init__()
     self.dbapi = api.API()