Repository: exasol/integration-test-docker-environment (language: python)

Issue:
Remove support for docker db v 7.0.5
## Background

With #150 we updated EXAPlus. However it turned out, that docker-db version 7.0.5 has a bug which makes it incompatible with the new EXAPlus, which supports TLS by default.

## Acceptance Criteria

Remove support for docker-db v 7.0.5 and document this change properly.



Discussion / hints:

Fix patch:
diff --git a/doc/changes/changes_0.8.0.md b/doc/changes/changes_0.8.0.md
index 8818b5510..25ec126eb 100644
--- a/doc/changes/changes_0.8.0.md
+++ b/doc/changes/changes_0.8.0.md
@@ -9,7 +9,7 @@ t.b.d.
 ### Supported Exasol Versions
 
 * **6.2**: up to 6.2.17
-* **7.0**: up to 7.0.14
+* **7.0**: up to 7.0.14, **except 7.0.5**
 * **7.1**: up to 7.1.3
 
 If you need further versions, please open an issue.
@@ -24,6 +24,7 @@ If you need further versions, please open an issue.
  - #148: Fix broken Github actions
  - #152: Fix bug where Bucket- and Database-forward might be the same 
  - #154: Fix comparison of db versions
+ - #160: Remove support for docker db v 7.0.5
 
 ## Features / Enhancements:
 
diff --git a/docker_db_config_template/7.0.5 b/docker_db_config_template/7.0.5
deleted file mode 120000
index 412252180..000000000
--- a/docker_db_config_template/7.0.5
+++ /dev/null
@@ -1,1 +0,0 @@
-7.0.0
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 54563a9be..b660ffe26 100644
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,6 @@
                                                 'docker_db_config/7.0.2/*',
                                                 'docker_db_config/7.0.3/*',
                                                 'docker_db_config/7.0.4/*',
-                                                'docker_db_config/7.0.5/*',
                                                 'docker_db_config/7.0.6/*',
                                                 'docker_db_config/7.0.7/*',
                                                 'docker_db_config/7.0.8/*',


Test patch:
diff --git a/.github/workflows/test_db_versions_all_tests.yml b/.github/workflows/test_db_versions_all_tests.yml
index 13e644992..dc4a11fe4 100644
--- a/.github/workflows/test_db_versions_all_tests.yml
+++ b/.github/workflows/test_db_versions_all_tests.yml
@@ -25,7 +25,6 @@ jobs:
         - 7.0.8
         - 7.0.7
         - 7.0.6
-        - 7.0.5
         - 7.0.4
         - 7.0.3
         - 7.0.2
diff --git a/.github/workflows/test_db_versions_minimal.yml b/.github/workflows/test_db_versions_minimal.yml
index e5a8b4b50..d14475437 100644
--- a/.github/workflows/test_db_versions_minimal.yml
+++ b/.github/workflows/test_db_versions_minimal.yml
@@ -26,7 +26,6 @@ jobs:
         - 7.0.8
         - 7.0.7
         - 7.0.6
-        - 7.0.5
         - 7.0.4
         - 7.0.3
         - 7.0.2
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.5/EXAConf b/exasol_integration_test_docker_environment/docker_db_config/7.0.5/EXAConf
deleted file mode 100644
index 7b9496ace..000000000
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.5/EXAConf
+++ /dev/null
@@ -1,182 +0,0 @@
-[Global]
-    Revision = 14
-    Checksum = COMMIT
-    ClusterName = cl4
-    Platform = Docker
-    LicenseFile = /exa/etc/license.xml
-    CoredPort = 10001
-    SSHPort = 22
-    XMLRPCPort = 443
-    AuthenticationToken = WG9JQkZYb0R5T1pIcWZPWTpyUHFsR3V6QUFkV1FQbHZmdm91cXJDYmNQTFl4eE1vRlZ6VnhxamdxYnpxUGRkZEhtR2NJaVVGbEpsb2NnbnRZ
-    # List of networks for this cluster: 'private' is mandatory, 'public' is optional.
-    Networks = private
-    # Comma-separated list of nameservers for this cluster.
-    NameServers = {{ name_servers }} 
-    Timezone = Europe/Berlin
-    # Nr. of hugepages ('0' = disabled, 'host' = manually configured on the host, 'auto' = set automatically based on DB config)
-    Hugepages = 0
-    ConfVersion = {{ db_version }}
-    OSVersion = {{ db_version }}
-    REVersion = {{ db_version }}
-    DBVersion = {{ db_version }}
-    ImageVersion = {{ image_version }}
-
-# SSL options
-[SSL]
-    # The SSL certificate, private key and CA for all EXASOL services
-    Cert = {{ certificate_dir }}/cert.crt
-    CertKey = {{ certificate_dir }}/cert.key
-    CertAuth = {{ certificate_dir }}/rootCA.crt
-
-# Docker related options
-[Docker]
-    # The directory that contains all data related to this docker cluster
-    # (except for mapped devices)
-    RootDir = /exa/etc
-    # The EXASOL docker image used for all containers of this cluster
-    Image = exasol/docker-db:latest
-    # The type of storage devices for this cluster: 'block' or 'file'
-    DeviceType = file
-    # Comma-separated list of volumes to be mounted in all containers (e. g. '/mnt/my_data:/exa/my_data:rw' )
-    # These user-defined volumes are mounted additionally to the internal ones (like the node root volume)
-    AdditionalVolumes = 
-
-[Groups]
-    [[root]]
-        ID = 0
-    [[exausers]]
-        ID = 500
-    [[exadbadm]]
-        ID = 1001
-    [[exastoradm]]
-        ID = 1002
-    [[exabfsadm]]
-        ID = 1003
-    [[exaadm]]
-        ID = 1004
-
-[Users]
-    [[root]]
-        ID = 0
-        Group = root
-        LoginEnabled = True
-        AdditionalGroups = exausers, exadbadm, exastoradm, exabfsadm, exaadm
-    [[exadefusr]]
-        ID = 500
-        Group = exausers
-        LoginEnabled = False
-        AdditionalGroups = exadbadm, exastoradm, exabfsadm, exaadm
-
-[Node : 11]
-    PrivateNet = {{private_network}}
-    PublicNet = 
-    Name = n11
-    UUID = A5F8F92113A34BA4B0A48D5397423BBA5CF95161
-    DockerVolume = n11
-    # Ports to be exposed (container : host)
-    ExposedPorts = 8888:8899, 6583:6594
-    [[Disk : disk1]]
-        Component = exastorage
-        Devices = dev.1
-        Mapping = dev.1:/exa/data/storage
-
-# Global EXAStorage options
-[EXAStorage]
-    # Enable or disable background recovery / data restoration (does not affect on-demand recovery)
-    BgRecEnabled = True
-    # Max. throughput for background recovery / data restoration (in MiB/s)
-    BgRecLimit = 
-    # Space usage threshold (in percent, per node) for sending a warning
-    SpaceWarnThreshold = 90
-
-# An EXAStorage volume
-[EXAVolume : DataVolume1]
-    # Type of volume: 'data' | 'archive'
-    Type = data
-    # Volume size (e. g. '1 TiB')
-    Size = {{ disk_size }}
-    # Name of the disk to be used for this volume.
-    # This disk must exist on all volume nodes.
-    Disk = disk1
-    # Comma-separated list of node IDs for this volume (put dedicated redundancy nodes at the end, if any)
-    Nodes = 11
-    # OPTIONAL: Nr. of master nodes for this volume. Remaining nodes will be used for redundancy only.
-    NumMasterNodes = 1
-    # Desired redundancy for this volume
-    Redundancy = 1
-    # User and group IDs that own this volume (e. g. '1000:1005')
-    Owner = 500 : 500
-    Permissions = rwx
-    BlockSize = 4 KiB
-    StripeSize = 256 KiB
-    # OPTIONAL: shared volumes can be opened (for writing) by multiple clients simultaneously
-    Shared = True
-    # OPTIONAL: I/O priority (0 = highest, 20 = lowest)
-    Priority = 10
-
-# An EXASOL database
-[DB : DB1]
-    # Version nr. of this database.
-    Version = {{db_version}}
-    # Memory size over all nodes (e. g. '1 TiB').
-    MemSize = {{ mem_size }}
-    Port = 8888
-    # User and group IDs that own this database (e. g. '1000:1005').
-    Owner = 500 : 500
-    # Comma-separated list of node IDs for this DB (put reserve nodes at the end, if any).
-    Nodes = 11
-    # Nr. of initially active nodes for this DB. The remaining nodes will be reserve nodes.
-    NumActiveNodes = 1
-    # Name of the data volume to be used by this database.
-    DataVolume = DataVolume1
-    # JDBC driver configuration
-    [[JDBC]]
-        # BucketFS that contains the JDBC driver
-        BucketFS = bfsdefault
-        # Bucket that contains the JDBC driver
-        Bucket = default
-        # Directory within the bucket that contains the drivers
-        Dir = drivers/jdbc
-    # Oracle driver configuration
-    [[Oracle]]
-        # BucketFS that contains the JDBC drivers
-        BucketFS = bfsdefault
-        # Bucket that contains the JDBC drivers
-        Bucket = default
-        # Directory within the bucket that contains the drivers
-        Dir = drivers/oracle
-
-# The default BucketFS (auto-generated)
-[BucketFS : bfsdefault]
-    Owner = 500:500
-    # HTTP port number (0 = disabled)
-    HttpPort = 6583
-    # HTTPS port number (0 = disabled)
-    HttpsPort = 0
-    SyncKey = OGhvcmxrTnluTlFrZTV3RVBTWG5Idlc4bkVMQUNxcWs=
-    SyncPeriod = 30000
-    # The default bucket (auto-generated)
-    [[Bucket : default]]
-        # ReadPasswd is "read" (without quotes)
-        ReadPasswd = cmVhZAo=
-        # WritePasswd is "write" (without quotes)
-        WritePasswd = d3JpdGU=
-        Public = True
-        Name = default
-        AdditionalFiles = EXAClusterOS:/usr/opt/EXASuite-7/EXAClusterOS-{{db_version}}/var/clients/packages/ScriptLanguages-*, EXASolution-{{db_version}}:/usr/opt/EXASuite-7/EXASolution-{{db_version}}/bin/udf/*
-
-    [[Bucket : myudfs]]
-        # ReadPasswd is "read" (without quotes)
-        ReadPasswd = cmVhZAo=
-        # WritePasswd is "write" (without quotes)
-        WritePasswd = d3JpdGU=
-        Public = True
-        Name = myudfs
-
-    [[Bucket : jdbc_adapter]]
-        # ReadPasswd is "read" (without quotes)
-        ReadPasswd = cmVhZAo=
-        # WritePasswd is "write" (without quotes)
-        WritePasswd = d3JpdGU=
-        Public = True
-        Name = jdbc-adapter
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh
deleted file mode 100755
index d30413601..000000000
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-
-set -euo pipefail
-
-DEVICE_SIZE_IN_MEGABYTES=$1
-
-# Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
-mkdir -p /exa/{etc,data/storage}
-cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"