Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 37s
CI/CD Pipeline / Code Quality Checks (push) Failing after 43s
CI/CD Pipeline / Build & Push Images (push) Has been skipped
CI/CD Pipeline / Deploy (dev) (push) Has been skipped
CI/CD Pipeline / Deploy (prod) (push) Has been skipped
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 0s
CI/CD Pipeline / Run Tests (pull_request) Failing after 0s
CI/CD Pipeline / Build & Push Images (pull_request) Has been skipped
CI/CD Pipeline / Deploy (dev) (pull_request) Has been skipped
CI/CD Pipeline / Deploy (prod) (pull_request) Has been skipped
- Обновлены клиенты парсеров (checko, fns, minpromtorg, proverki, zakupki) - Добавлены новые миграции для моделей - Расширено покрытие тестами - Обновлены конфигурации и настройки проекта - Добавлены утилиты для тестирования Co-Authored-By: Warp <agent@warp.dev>
1.7 KiB
1.7 KiB
CI/CD Summary (Gitea Actions)
This project uses Gitea Actions for CI/CD, Gitea Registry for images, and SSH + Docker Compose for deploy.
Branch Rules
mainis production releases. Push tomainbuilds, pushes images, and deploys to prod.devdeploys to the dev stand (host10.10.0.112). Push todevbuilds, pushes images, and deploys to dev.feature/*runs CI only. No build, no push, no deploy.- Pull requests to
mainanddevrun CI only.
Triggers
pushtomain,dev,feature/**.pull_requesttomainanddev.
Pipeline Jobs
linttestbuild_pushformainanddevonly.deploy_devfordevonly.deploy_prodformainonly.
Python Tooling
- Python 3.11.
uvfor dependency sync.- Ruff lint and format checks for
srcandtests.
Image Tags
${branch}and${branch}-${sha7}for every push tomainordev.latestformainonly.
Registry
- Host:
10.10.0.10:3000(HTTP, insecure). - Namespace:
<repo_owner>. - Images:
mostovik-web,mostovik-celery. - Push uses
cranewith--insecure.
Deploy
docker-compose.prod.ymlis copied to/opt/mostovik-backend/on the target host.IMAGE_TAGis set to the branch name.- Docker Compose pulls
web,celery_worker,celery_beat, then restarts the stack. - Old images are pruned at the end.
Secrets
REGISTRY_USERREGISTRY_TOKENDEPLOY_HOSTDEPLOY_USERDEPLOY_SSH_KEY(base64-encoded private key)
Environment-Specific Secrets
- Use Gitea environments
devandprodwith the same secret names above. - If environment secrets are not available, set repo-level secrets to the correct target before deploying.