def get_dockerfile(self) -> str:
     """
     Called by the constructor to get the path to the dockerfile.
     Sub classes need to implement this method.
     :return: path to the dockerfile
     """
     raise AbstractMethodException()
 def get_mapping_of_build_files_and_directories(self) -> Dict[str, str]:
     """
     Called by the constructor to get the build files and directories mapping.
     The keys are the relative paths to the destination in build context and
     the values are the paths to the source directories or files.
     Sub classes need to implement this method.
     :return: dictionaries with destination path as keys and source paths in values
     """
     raise AbstractMethodException()
Esempio n. 3
0
 def get_file_to_upload(self) -> str:
     raise AbstractMethodException()
Esempio n. 4
0
 def get_pattern_to_wait_for(self) -> str:
     raise AbstractMethodException()
Esempio n. 5
0
 def get_log_file(self) -> str:
     raise AbstractMethodException()
Esempio n. 6
0
 def wait_for_bucketfs_sync(self):
     raise AbstractMethodException()
 def get_target_image_tag(self) -> str:
     """
     Called by the constructor to get the image tag for pushs. Sub classes need to implement this method.
     :return: image tag
     """
     raise AbstractMethodException()
 def is_rebuild_requested(self) -> bool:
     raise AbstractMethodException()
 def get_environment_type(self):
     raise AbstractMethodException()
 def create_wait_for_database_task(self,
                                   attempt: int,
                                   database_info: DatabaseInfo,
                                   test_container_info: ContainerInfo):
     raise AbstractMethodException()
 def create_spawn_database_task(self,
                                network_info: DockerNetworkInfo,
                                certificate_volume_info: Optional[DockerVolumeInfo],
                                attempt: int):
     raise AbstractMethodException()
 def create_network_task(self, attempt: int):
     raise AbstractMethodException()
 def create_ssl_certificates(self):
     raise AbstractMethodException()
 def get_goal_class_map(self) -> Dict[str, DockerAnalyzeImageTask]:
     raise AbstractMethodException()
 def get_default_goals(self) -> Set[str]:
     raise AbstractMethodException()
Esempio n. 16
0
 def get_upload_target(self) -> str:
     raise AbstractMethodException()
Esempio n. 17
0
 def get_sync_time_estimation(self) -> int:
     """Estimated time in seconds which the bucketfs needs to extract and sync a uploaded file"""
     raise AbstractMethodException()
 def get_output(self, name: str = DEFAULT_RETURN_OBJECT_NAME):
     raise AbstractMethodException()
 def get_target_repository_name(self) -> str:
     """
     Called by the constructor to get the image name for pushs. Sub classes need to implement this method.
     :return: image name
     """
     raise AbstractMethodException()
 def list_outputs(self):
     raise AbstractMethodException()
 def get_docker_image_task(self):
     raise AbstractMethodException()
 def create_task_with_required_tasks(self, build_task,
                                     required_task_info) -> BaseTask:
     raise AbstractMethodException()
Esempio n. 23
0
 def run_task(self):
     raise AbstractMethodException()
Esempio n. 24
0
 def prepare_upload(self):
     raise AbstractMethodException()