def __init__(self, builder, config): self.config = config self.builder = builder self.distro = supported_distros[config['distro']] self.source_url = builder.source_url self.source_type = builder.source_type self.cli = builder.cli self.folder = builder.folder job_data = { 'distro': config['distro'], 'username': self.builder.build.username, 'project_name': self.builder.build.project_name, 'build_id': self.builder.build.id_, } self.job = Job(job_data) self.job.create() self.folder_output = self.job.get_folder_output() self.job_tmp_folder = self.job.get_folder_tmp() if not os.path.exists(self.folder_output): os.makedirs(self.folder_output) if not os.path.exists(self.job_tmp_folder): os.makedirs(self.job_tmp_folder) self.logger = get_logger_job(self.job) self.container_tag = "joulupukki:" + config['distro'].replace(":", "_") self.container = None
def __init__(self, builder, config): self.config = config self.builder = builder self.distro = "osx" self.source_url = builder.source_url self.source_type = builder.source_type self.branch = builder.build.branch self.folder = builder.folder self.config['version'] = 'nightly' self.config['release'] = '1' self.config['name'] = 'ring' job_data = { 'distro': self.distro, 'username': self.builder.build.username, 'project_name': self.builder.build.project_name, 'build_id': self.builder.build.id_, } self.job = Job(job_data) self.job.create() self.folder_output = self.job.get_folder_output() self.job_tmp_folder = self.job.get_folder_tmp() if not os.path.exists(self.folder_output): os.makedirs(self.folder_output) if not os.path.exists(self.job_tmp_folder): os.makedirs(self.job_tmp_folder) self.logger = get_logger_job(self.job)
def __init__(self, builder, config, job_id): self.config = config self.builder = builder self.distro = supported_distros[config['distro']] self.source_url = builder.source_url self.source_type = builder.source_type self.cli = builder.cli self.folder = builder.folder self.job = Job.fetch(self.builder.build, job_id) self.folder_output = self.job.get_folder_output() self.job_tmp_folder = self.job.get_folder_tmp() if not os.path.exists(self.folder_output): os.makedirs(self.folder_output) if not os.path.exists(self.job_tmp_folder): os.makedirs(self.job_tmp_folder) self.logger = get_logger_job(self.job) self.container_tag = "joulupukki:" + config['distro'].replace(":", "_") self.container = None
def __init__(self, builder, config, job_id): self.config = config self.builder = builder self.distro = "osx" self.source_url = builder.source_url self.source_type = builder.source_type self.branch = builder.build.branch self.folder = builder.folder self.config['version'] = 'nightly' self.config['release'] = '1' self.config['name'] = 'ring' self.job = Job.fetch(self.builder.build, job_id) self.folder_output = self.job.get_folder_output() self.job_tmp_folder = self.job.get_folder_tmp() if not os.path.exists(self.folder_output): os.makedirs(self.folder_output) if not os.path.exists(self.job_tmp_folder): os.makedirs(self.job_tmp_folder) self.logger = get_logger_job(self.job)
def __init__(self, builder, config, job_id): self.config = config self.builder = builder self.distro = "osx" self.source_url = builder.source_url self.source_type = builder.source_type self.branch = builder.build.branch self.folder = builder.folder self.job = Job.fetch(self.builder.build, job_id) self.folder_output = self.job.get_folder_output() self.job_tmp_folder = self.job.get_folder_tmp() if not os.path.exists(self.folder_output): os.makedirs(self.folder_output) if not os.path.exists(self.job_tmp_folder): os.makedirs(self.job_tmp_folder) self.logger = get_logger_job(self.job)