Skip to content

Commit

Permalink
Remove debug mode for pytest config (#27157)
Browse files Browse the repository at this point in the history
* Deleted pytest log level

* Force log level for smart open to error

* Bump version

* Bump version

* Delete extra space
  • Loading branch information
lazebnyi committed Jun 8, 2023
1 parent d88a61b commit 0bdd844
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 61 deletions.
4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-file-secure/Dockerfile
Expand Up @@ -6,7 +6,7 @@

# If you need to add a custom logic to build your connector image, you can do it by adding a finalize_build.sh or finalize_build.py script in the connector folder.
# Please reach out to the Connectors Operations team if you have any question.
FROM airbyte/source-file:0.3.10
FROM airbyte/source-file:0.3.11

WORKDIR /airbyte/integration_code
COPY source_file_secure ./source_file_secure
Expand All @@ -18,5 +18,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.3.10
LABEL io.airbyte.version=0.3.11
LABEL io.airbyte.name=airbyte/source-file-secure
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: file
connectorType: source
definitionId: 778daa7c-feaf-4db6-96f3-70fd645acc77
dockerImageTag: 0.3.10
dockerImageTag: 0.3.11
dockerRepository: airbyte/source-file-secure
githubIssueLabel: source-file
icon: file.svg
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-file/Dockerfile
Expand Up @@ -17,5 +17,5 @@ COPY source_file ./source_file
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.3.10
LABEL io.airbyte.version=0.3.11
LABEL io.airbyte.name=airbyte/source-file
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-file/metadata.yaml
Expand Up @@ -14,7 +14,7 @@ data:
registries:
cloud:
dockerRepository: airbyte/source-file-secure
dockerImageTag: 0.3.9 # Dont forget to publish source-file-secure as well when updating this.
dockerImageTag: 0.3.11 # Dont forget to publish source-file-secure as well when updating this.
enabled: true
oss:
enabled: true
Expand Down
Expand Up @@ -4,6 +4,7 @@


import json
import logging
import sys
import tempfile
import traceback
Expand Down Expand Up @@ -39,6 +40,9 @@

SSH_TIMEOUT = 60

# Force the log level of the smart-open logger to ERROR - https://github.com/airbytehq/airbyte/pull/27157
logging.getLogger("smart_open").setLevel(logging.ERROR)


class ConfigurationError(Exception):
"""Client mis-configured"""
Expand Down
111 changes: 56 additions & 55 deletions docs/integrations/sources/file.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -82,6 +82,6 @@ error_summary = true

[tool.pytest.ini_options]
minversion = "6.2.5"
addopts ="-r a --capture=no -vv --log-level=DEBUG --color=yes"
addopts ="-r a --capture=no -vv --color=yes"


0 comments on commit 0bdd844

Please sign in to comment.