fixes
This commit is contained in:
@@ -8,15 +8,14 @@ test:
|
||||
stage: test
|
||||
image: python:3.11-alpine
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- pip install -q -r requirements.txt
|
||||
- python -m unittest discover tests
|
||||
only:
|
||||
- main
|
||||
|
||||
before_script:
|
||||
- apk add --no-cache docker-cli curl jq # Устанавливаем curl и jq
|
||||
- apk add --no-cache docker-cli curl jq
|
||||
- |
|
||||
# Wait for Docker to be ready
|
||||
until docker info; do
|
||||
echo "Waiting for Docker to be ready..."
|
||||
sleep 5
|
||||
|
||||
@@ -20,7 +20,7 @@ services:
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- redis_data:/data
|
||||
environment:
|
||||
- TZ=Europe/Moscow
|
||||
healthcheck:
|
||||
@@ -28,3 +28,6 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
Reference in New Issue
Block a user