Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️(project) upgrade docker dependencies #602

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,18 @@ jobs:
password: $DOCKER_HUB_PASSWORD
environment:
RALPH_APP_DIR: ~/fun/.ralph
- image: elasticsearch:8.1.0
- image: elasticsearch:8.13.4
auth:
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
environment:
discovery.type: single-node
xpack.security.enabled: "false"
- image: mongo:5.0.9
- image: mongo:7.0.11
auth:
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
- image: clickhouse/clickhouse-server:23.1.1.3077-alpine
- image: clickhouse/clickhouse-server:24.5.1.1763-alpine
auth:
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -- Base image --
FROM python:3.12.0-slim as base
FROM python:3.12.3-slim as base

# Upgrade pip to its latest release to speed up dependencies installation
RUN pip install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:

# -- backends
elasticsearch:
image: elasticsearch:8.1.0
image: elasticsearch:8.13.4
environment:
bootstrap.memory_lock: true
discovery.type: single-node
Expand All @@ -41,7 +41,7 @@ services:
retries: 60

mongo:
image: mongo:5.0.9
image: mongo:7.0.11
ports:
- "27017:27017"
healthcheck:
Expand All @@ -50,7 +50,7 @@ services:
retries: 60

clickhouse:
image: clickhouse/clickhouse-server:23.1.1.3077-alpine
image: clickhouse/clickhouse-server:24.5.1.1763-alpine
environment:
CLICKHOUSE_DB: xapi
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
Expand Down
2 changes: 1 addition & 1 deletion tests/backends/data/test_async_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ async def test_backends_data_async_es_write_without_ignore_errors(
msg = (
r"1 document\(s\) failed to index. "
r"\[\{'index': \{'_index': 'test-index-foo', '_id': '4', 'status': 400, 'error'"
r": \{'type': 'mapper_parsing_exception', 'reason': \"failed to parse field "
r": \{'type': 'document_parsing_exception', 'reason': \"\[1:17\] failed to parse field "
r"\[count\] of type \[long\] in document with id '4'. Preview of field's value:"
r" 'wrong'\", 'caused_by': \{'type': 'illegal_argument_exception', 'reason': "
r"'For input string: \"wrong\"'\}\}, 'data': \{'id': 4, 'count': 'wrong'\}\}\}"
Expand Down
2 changes: 1 addition & 1 deletion tests/backends/data/test_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def test_backends_data_es_write_without_ignore_errors(es, es_backend, caplog):
msg = (
r"1 document\(s\) failed to index. "
r"\[\{'index': \{'_index': 'test-index-foo', '_id': '4', 'status': 400, 'error'"
r": \{'type': 'mapper_parsing_exception', 'reason': \"failed to parse field "
r": \{'type': 'document_parsing_exception', 'reason': \"\[1:17\] failed to parse field "
r"\[count\] of type \[long\] in document with id '4'. Preview of field's value:"
r" 'wrong'\", 'caused_by': \{'type': 'illegal_argument_exception', 'reason': "
r"'For input string: \"wrong\"'\}\}, 'data': \{'id': 4, 'count': 'wrong'\}\}\}"
Expand Down