Skip to content

Commit 432d19b

Browse files
committed
Fixed git workflow
1 parent 10d9f9b commit 432d19b

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
poetry.lock linguist-generated=true
1+
poetry.lock linguist-generated
2+
doc/changes/changelog.md linguist-generated

.github/workflows/checks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ jobs:
119119
- name: Calculate Test Coverage
120120
run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
121121
env:
122-
PYTEST_ADDOPTS="
123-
-W 'ignore::DeprecationWarning:luigi:'
122+
PYTEST_ADDOPTS: "-W 'ignore::DeprecationWarning:luigi:'
124123
-W 'ignore::DeprecationWarning:pkg_resources:'
125124
-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'
126125
-W 'ignore:Deprecated call to \`pkg_resources.declare_namespace:DeprecationWarning'

doc/changes/changes_0.4.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 0.4.0 - 2024-10-22
1+
# 0.4.0 - 2024-10-23
22

33
## Summary
44

exasol/nb_connector/itde_manager.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@
2323
from exasol.nb_connector.container_by_ip import ContainerByIp, IPRetriever
2424
from exasol.nb_connector.secret_store import Secrets
2525

26-
import logging
27-
LOG = logging.getLogger(__name__)
28-
LOG.setLevel(logging.DEBUG)
29-
logging.basicConfig(
30-
format="%(asctime)s %(levelname)-7s %(filename)s: %(message)s",
31-
datefmt="%Y-%m-%d %X",
32-
)
33-
34-
# if __name__ == "__main__":
35-
# LOG.info("info")
36-
# LOG.debug("debug")
37-
3826

3927
ENVIRONMENT_NAME = "DemoDb"
4028
NAME_SERVER_ADDRESS = "8.8.8.8"
@@ -113,24 +101,17 @@ def bring_itde_up(conf: Secrets, env_info: Optional[EnvironmentInfo] = None) ->
113101

114102
def _get_current_container(docker_client: docker.DockerClient):
115103
ip_addresses = _get_ipv4_addresses()
116-
LOG.debug(f"_get_current_container: ip_addresses = {ip_addresses}")
117104
return ContainerByIp(docker_client).find(ip_addresses)
118105

119106

120107
def _add_current_container_to_db_network(network_name: str) -> None:
121-
LOG.debug(f"_add_current_container_to_db_network({network_name})")
122108
with ContextDockerClient() as docker_client:
123109
container = _get_current_container(docker_client)
124-
LOG.debug(f"- container = {container and container.name}")
125110
if not container:
126111
return
127112
network = _get_docker_network(docker_client, network_name)
128-
LOG.debug(f"- network = {network}")
129113
if network and not _is_container_connected_to_network(container, network):
130-
LOG.debug(f"- connecting container {container.id} to the network")
131114
network.connect(container.id)
132-
else:
133-
LOG.debug("- either network is falsy or container is already connected")
134115

135116

136117

0 commit comments

Comments
 (0)