ci: перевести merge gate на Gitea + Woodpecker

- .woodpecker/check.yaml, smoke.yaml, release.yaml
- local-backend агент: Java 21, Docker Compose v2, Python 3, Node/Playwright
- concurrency lms-ci, чтобы smoke/release не занимали порты одновременно
- deploy/WOODPECKER.md: server, OAuth Gitea, systemd-агент, security note
- удалён .gitlab-ci.yml
This commit is contained in:
2026-10-28 20:11:14 +03:00
parent 1e1e9ae0e4
commit 685916c4bd
13 changed files with 310 additions and 161 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
# Проверка окружения shell-runner перед smoke/release. Ничего не устанавливает.
# Проверка окружения Woodpecker-агента (local backend) перед check/smoke/release.
# Ничего не устанавливает.
set -euo pipefail
cd "$(dirname "$0")/.."
@@ -75,6 +76,18 @@ else
fail "python3: не найден в PATH"
fi
if command -v git >/dev/null 2>&1; then
ok "git: $(git --version 2>&1 | head -n 1)"
else
fail "git: не найден в PATH"
fi
if command -v ss >/dev/null 2>&1; then
ok "ss: $(ss -V 2>&1 | head -n 1)"
else
fail "ss: не найден в PATH (установите iproute2)"
fi
if ((release)); then
if command -v node >/dev/null 2>&1; then
ok "node: $(node --version 2>&1 | head -n 1)"