Integration-Test-Docker-Environment 2.0.0, released 2023-08-07#
Summary#
Version 2.0.0 of ITDE comes with breaking changes as the public API class DatabaseInfo
has been changed. Former separate attributes database_port_forward
and bucketfs_port_forward
have been replaced by a single attribute port
set to an instance of PortForwarding
with attributes database
, bucketfs
, and ssh
.
Previous versions of the ITDE used docker_exec
to access the Docker Container, e.g. to analyze the content of logfiles or execute some shell commands. In future versions of the Exasol Docker-DB the format of the Docker Containers might change so that docker_exec
is no longer possible. Instead ITDE will then need to use SSH access.
The current release therefore enhances ITDE to enable to access the Docker Container via SSH. The user can select the docker access method with command line option --db-os-access
and can specify a port number to which ITDE forwards the SSH port of the Docker Container, see User Guide.
Additionally the directory for storing the randomly generated SSH keys has been moved to ~/.cache/exasol/itde/
. By that ITDE can restrict file permissions allowing access only by the current user.
This release also removes versions 7.0.x of the Exasol database from the regular CI builds as version 8.x is already available and ITDE only supports the latest two minor versions.
Supported Exasol Versions#
7.1: up to 7.1.17
8: 8.18.1
If you need further versions, please open an issue.
Internal#
Changes#
#329: Added CLI option
--ssh-port-forward
to forward SSH port#343: Added SshInfo to DatabaseInfo containing user, port and path to SSH key file
#308: Unified ports for database, BucketFS, and SSH
#322: Added additional tests for environment variable LOG_ENV_VARIABLE_NAME
#359: Fixed custom logging path not working if dir does not exist.
#304: Create SSH access replacements for calls to
docker.exec_run()
#368: Removed versions 7.0.x of Exasol database
#305: Replaced calls to
DockerContainer.exec_run()
to support SSH access alternatively