pipleline extends

This commit is contained in:
2024-12-28 11:56:12 +09:00
parent 066e12e7bb
commit 07097bf2f9

View File

@@ -17,18 +17,28 @@ steps:
environment:
MYSQL_PASSWORD: touchh
commands:
- chmod +x bin/update
- chmod +x ./bin/update
- ./bin/update
# Шаг 3: Миграция базы данных
# Шаг 3: Установка зависимостей
- name: install_dependencies
image: python:3.12-alpine
environment:
MYSQL_PASSWORD: touchh
commands:
- chmod +x ./bin/pip3
- ./bin/pip3 install -r requirements.txt
# Шаг 4: Миграция базы данных
- name: run_migrations
image: python:3.12-alpine
environment:
MYSQL_PASSWORD: touchh
commands:
- chmod +x ./bin/cli
- ./bin/cli migrate
# Шаг 4: Тестирование
# Шаг 5: Тестирование
- name: run_tests
image: python:3.12-alpine
environment: