exasol.slc.api.deploy¶
- exasol.slc.api.deploy(flavor_path: tuple[str, ...], bucketfs_host: str, bucketfs_port: int, bucketfs_user: str, bucketfs_name: str, bucket: str, bucketfs_use_https: bool = False, bucketfs_password: str = '***', path_in_bucket: str = '', ssl_cert_path: str = '', use_ssl_cert_validation: bool = True, release_goal: tuple[str, ...] = ('release',), release_name: str | None = None, force_rebuild: bool = False, force_rebuild_from: tuple[str, ...] = (), force_pull: bool = False, output_directory: str = '.build_output', temporary_base_directory: str = '/tmp', log_build_context_content: bool = False, cache_directory: str | None = None, build_name: str | None = None, source_docker_repository_name: str = 'exasol/script-language-container', source_docker_tag_prefix: str = '', source_docker_username: str | None = None, source_docker_password: str | None = None, target_docker_repository_name: str = 'exasol/script-language-container', target_docker_tag_prefix: str = '', target_docker_username: str | None = None, target_docker_password: str | None = None, workers: int = 5, task_dependencies_dot_file: str | None = None, log_level: str | None = None, use_job_specific_log_file: bool = True, compression_strategy: CompressionStrategy = CompressionStrategy.GZIP) dict[str, dict[str, DeployResult]] [source]¶
This command uploads the whole script-language-container package of the flavor to the database. If the stages or the packaged container do not exist locally, the system will build, pull or export them before the upload. :raises api_errors.TaskFailureError: if operation is not successful. :return: A dictionary with an instance of class DeployResult for each release for each deployed flavor. For example { “flavors/standard-flavor” : {“release” : DeployResult(…) } }