From a9aad2163641294233cc2a4cdb440e120a92f3b2 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 24 Jun 2026 14:50:59 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=D1=83=D0=B1=D1=80=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=20GitHub-Actions=20CI=20(=D1=82=D1=80=D0=B8=D0=B3=D0=B3=D0=B5?= =?UTF-8?q?=D1=80=D0=B8=D1=82=20Gitea)=20+=20CLAUDE.md=20=D1=86=D0=B5?= =?UTF-8?q?=D0=BB=D1=8C=20=E2=86=92=20Lima=20E2E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - удалён .github/workflows/ci.yml: self-hosted Gitea ловит GitHub-Actions-формат, не нужно. Активный гейт — локальный just ci; авто-CI на Gitea — решение позже. - CLAUDE.md § «Текущая цель»: фундамент (Планы 1–5 ч.1) в main; следующее — A (Lima E2E, План 5 ч.2). - spec §8.3 — пометка об удалении CI. Co-Authored-By: Claude Opus 4.8 Signed-off-by: Alexander --- .github/workflows/ci.yml | 29 ----------------------------- CLAUDE.md | 12 +++++++++--- docs/specs/v0.1-v0.6-foundation.md | 8 ++++++-- 3 files changed, 15 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 48f6384..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: CI -on: - push: - branches: [main] - pull_request: - -jobs: - lint: - runs-on: ubuntu-24.04-arm - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt, clippy - - run: cargo fmt --all --check - - run: cargo clippy --workspace --all-targets -- -D warnings - - test: - runs-on: ubuntu-24.04-arm - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - run: cargo test --workspace - - license: - runs-on: ubuntu-24.04-arm - steps: - - uses: actions/checkout@v4 - - uses: EmbarkStudios/cargo-deny-action@v2 diff --git a/CLAUDE.md b/CLAUDE.md index 1e850c0..c5f28b2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -42,9 +42,15 @@ vcan + Vehicle Simulator + моки (аудио/BT/камера/GPS/сеть/plu ## Текущая цель — v0 (см. `docs/roadmap.md` § v0) -`v0.1` Образ-болванка → `v0.2` boot-конвейер → `v0.3` power-safe → `v0.5` shell-первый-кадр; -`v0.6` dev-харнесс — параллельный enabling-трек (стартуем с него + v0.1). **Первый запускаемый артефакт:** -boot в Lima-VM → стаб-сервисы (`Power`/`Settings` на D-Bus) → первый Slint-кадр. +**Фундамент готов и в `main`** (Планы 1–5 ч.1; спека `docs/specs/v0.1-v0.6-foundation.md` + планы `docs/specs/plans/`): +воркспейс + `shturman-common`/`ipc`/`sdk` + стаб-сервисы `firstboot`/`settings`/`power` (интеграция на D-Bus) + +первый Slint-кадр (`shell`) + dev-tools (валидатор/scaffolding) + systemd/Lima/E2E-файлы. `just ci` зелёный. + +**Следующее — A (План 5 ч.2):** поднять Lima-VM (`just vm-up`) и довести сквозной E2E (`just e2e`): +boot → стаб-сервисы (`Power`/`Settings` на D-Bus) → первый Slint-кадр (screenshot). Приёмка — спека §9.4. +Остаток фаз v0: `v0.2` boot-конвейер · `v0.3` power-safe · `v0.4` MCU/thermal · `v0.5` полный shell. + +> CI: GitHub-Actions-конфиг **удалён** (его ловит Gitea). Гейт — локальный `just ci`. CI на Gitea — решение позже. ## Карта документации diff --git a/docs/specs/v0.1-v0.6-foundation.md b/docs/specs/v0.1-v0.6-foundation.md index 45f0166..1298268 100644 --- a/docs/specs/v0.1-v0.6-foundation.md +++ b/docs/specs/v0.1-v0.6-foundation.md @@ -448,9 +448,13 @@ Oneshot-бинарь под `shturman-firstboot.service` (`ConditionPathExists=! | `sim` | **плейсхолдер** Vehicle Simulator (v2, домен E) | | `ci` | локальный прогон гейта: `lint` + `test` + `deny` | -### 8.3 CI (GitHub Actions, ARM64-Linux) +### 8.3 CI (локальный гейт; авто-CI — позже) -- `.github/workflows/ci.yml`: jobs **lint** (fmt+clippy), **build**, **test** (unit+integration — +> ⚠️ **`.github/workflows/ci.yml` удалён** (2026-06-24): self-hosted **Gitea** триггерится на GitHub-Actions-формат, +> что не нужно. Активный гейт — **локальный `just ci`**. Авто-CI на Gitea (Gitea Actions/runner) — решение позже. +> Описание ниже — задел на тот момент. + +- (задел) jobs **lint** (fmt+clippy), **build**, **test** (unit+integration — раннер **уже Linux**, шину/сервисы/headless-рендер гоним напрямую, **без Lima**), **license** (`cargo-deny`), **prod-build-gate** (`cargo build --workspace --no-default-features` + ассерт, что `PowerMock1` не экспортируется без фичи `dev-mocks` — §5.2). Позже — **integration** (vcan+симулятор, v2)