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'))
def __init__(self): super(ImageBuildController, self).__init__() self.dbapi = api.API()
def __init__(self): super(ImageReleaseController, self).__init__() self.dbapi = api.API()
def __init__(self): super(ImageValidateController, self).__init__() self.dbapi = api.API()