From 5e58d142eec66dbaf454f3a86f35566a4cd3ef80 Mon Sep 17 00:00:00 2001 From: trevor Date: Sat, 28 Dec 2024 12:30:49 +0900 Subject: [PATCH] step4 dependencies installation --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5bdee991..2fee8c13 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,14 +18,16 @@ steps: MYSQL_PASSWORD: touchh commands: - chmod +x ./bin/update - - git branch --set-upstream-to=origin/main PMSManager_refactor || true + - git pull origin PMSManager_refactor || true - ./bin/update # Шаг 3: Миграция базы данных - name: run_migrations - image: python:3.12 + image: docker:24 environment: MYSQL_PASSWORD: touchh + volumes: + - /var/run/docker.sock:/var/run/docker.sock commands: - chmod +x ./bin/cli - ./bin/cli migrate @@ -36,7 +38,7 @@ steps: environment: MYSQL_PASSWORD: touchh commands: - - apk add --no-cache mariadb-client + - apk add --no-cache mariadb-client mariadb-connector-c-dev gcc musl-dev pkgconfig - pip install -r requirements.txt - python manage.py test