Verify canonical repositories at operator-selected git.eeee.moe
This commit is contained in:
1 parent
c8c482c387
commit
f84d39f482
3 files changed
+9
-9
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Canonical repository and deployment rules
|
||||
|
||||
This repository is authoritative only for its owned component. Use sibling clones of https://git.qomar.pw/otche/otche-backend.git, https://git.qomar.pw/otche/otche-frontend.git and https://git.qomar.pw/otche/otche-deploy.git. Keep API/worker/watchdog in one backend Go module and separate runtime processes. Never copy private operational workspaces over these sources.
|
||||
This repository is authoritative only for its owned component. Use sibling clones of https://git.eeee.moe/otche/otche-backend.git, https://git.eeee.moe/otche/otche-frontend.git and https://git.eeee.moe/otche/otche-deploy.git. Keep API/worker/watchdog in one backend Go module and separate runtime processes. Never copy private operational workspaces over these sources.
|
||||
|
||||
Edit here, prove the affected behavior, audit the explicit file allowlist, commit/push normally, then fetch reviewed full commits into the deployment host clones. Deploy through otche-deploy/update.py and its documented protected external env/override. No archive-based source deployment, force/reset, dirty-work overwrite or unreviewed latest-branch activation. Coordinate quiescence before activation; retain the exact existing Compose project, external named volumes, private secrets/TLS/config/proofs and held evidence. Verify live commit IDs, health, old-data continuity and requested acceptance after rollout.
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ Clone these repositories **as siblings**. There is no monorepo, duplicated backe
|
||||
|
||||
| Repository | Canonical ownership |
|
||||
|---|---|
|
||||
| [otche-frontend](https://git.qomar.pw/otche/otche-frontend) | React/TypeScript UI, npm lockfile, Vite, nginx and web image |
|
||||
| [otche-backend](https://git.qomar.pw/otche/otche-backend) | One shared Go module; API, worker, watchdog and CLI; embedded PostgreSQL schema; unsigned Windows runner; recorder/extractor and trusted operator tools; API/config contracts |
|
||||
| [otche-deploy](https://git.qomar.pw/otche/otche-deploy) | Compose, nonsecret environment/TLS/systemd examples and this guide |
|
||||
| [otche-frontend](https://git.eeee.moe/otche/otche-frontend) | React/TypeScript UI, npm lockfile, Vite, nginx and web image |
|
||||
| [otche-backend](https://git.eeee.moe/otche/otche-backend) | One shared Go module; API, worker, watchdog and CLI; embedded PostgreSQL schema; unsigned Windows runner; recorder/extractor and trusted operator tools; API/config contracts |
|
||||
| [otche-deploy](https://git.eeee.moe/otche/otche-deploy) | Compose, nonsecret environment/TLS/systemd examples and this guide |
|
||||
|
||||
API, worker and watchdog are separate processes and containers built from the **same backend Go module**. They share code, not runtime credentials. PostgreSQL is on an internal network with no published port. API has only the database secret and private artifact volume; only worker/watchdog mount operator-supplied PVE configuration. Web has neither. Worker includes FFmpeg/xorriso; Windows runs the signed PowerShell controller. Sample execution requires independently prepared stopped sources and real isolation/source qualification; none is enabled by the default panel-only startup.
|
||||
|
||||
@@ -23,9 +23,9 @@ Use a dedicated Linux deployment host with Docker Engine, Compose v2+, Git, Pyth
|
||||
```sh
|
||||
mkdir otche-workspace
|
||||
cd otche-workspace
|
||||
git clone https://git.qomar.pw/otche/otche-backend.git
|
||||
git clone https://git.qomar.pw/otche/otche-frontend.git
|
||||
git clone https://git.qomar.pw/otche/otche-deploy.git
|
||||
git clone https://git.eeee.moe/otche/otche-backend.git
|
||||
git clone https://git.eeee.moe/otche/otche-frontend.git
|
||||
git clone https://git.eeee.moe/otche/otche-deploy.git
|
||||
cd otche-deploy
|
||||
cp .env.example .env
|
||||
```
|
||||
@@ -103,7 +103,7 @@ Set `.env` `COMPOSE_FILE=compose.yaml:examples/compose.tls.yaml`, `PUBLIC_ORIGIN
|
||||
|
||||
## Enable Windows execution deliberately
|
||||
|
||||
Follow backend [CONFIG.md](https://git.qomar.pw/otche/otche-backend/src/branch/main/docs/CONFIG.md) and [Source-Setup.txt](https://git.qomar.pw/otche/otche-backend/src/branch/main/windows/Source-Setup.txt). Start with `../otche-backend/provisioning/runtime-config.example.json`, replacing example IDs/paths with reviewed resources in protected `secrets/worker/config.json`. This configuration is mounted as `/run/otche/config.json`; private proof/token/CA paths must match container paths. Seals live on writable `/var/lib/otche/source-seals/`, not the read-only config mount.
|
||||
Follow backend [CONFIG.md](https://git.eeee.moe/otche/otche-backend/src/branch/main/docs/CONFIG.md) and [Source-Setup.txt](https://git.eeee.moe/otche/otche-backend/src/branch/main/windows/Source-Setup.txt). Start with `../otche-backend/provisioning/runtime-config.example.json`, replacing example IDs/paths with reviewed resources in protected `secrets/worker/config.json`. This configuration is mounted as `/run/otche/config.json`; private proof/token/CA paths must match container paths. Seals live on writable `/var/lib/otche/source-seals/`, not the read-only config mount.
|
||||
|
||||
Supply separately scoped provisioner/runtime/recorder/uploader/housekeeping credentials; runtime mounts are UID10001-readable and operator-protected. Authenticate all five through `bindings-sync`; establish genuine owner-isolation evidence and its expiry. Source preparation requires reviewed signed PS1/PSM1, approved execution policy and signing trust, a dedicated local split-token account, real interactive desktop/autologon, active Defender/UAC/Secure Boot and QGA. Never distribute signing private keys or passwords here. Do not run samples or EICAR on source VMs. Existing protected VMIDs 7000/7001 and shared-storage exclusions are deliberate code safety restrictions.
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ def main():
|
||||
parser.error('Every revision must be a full reviewed SHA-1 commit')
|
||||
if run(['git', 'status', '--porcelain', '--untracked-files=all'], directory):
|
||||
parser.error(str(directory) + ' is dirty; preserve/review work, do not reset it')
|
||||
expected = 'https://git.qomar.pw/otche/otche-' + component + '.git'
|
||||
expected = 'https://git.eeee.moe/otche/otche-' + component + '.git'
|
||||
if run(['git', 'remote', 'get-url', 'origin'], directory) != expected:
|
||||
parser.error(str(directory) + ' has an unexpected origin')
|
||||
if run(['git', 'branch', '--show-current'], directory) != 'main':
|
||||
|
||||
Reference in new issue
Block a user