fix: убрать деплой core-git и apply CT 904 с раннера
ansible-core-mon / deploy (push) Successful in 28s
ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m14s
ansible-opnsense / deploy (push) Successful in 8s
ansible-rus-central / deploy (push) Successful in 57s
ansible-core-mon / deploy (push) Successful in 28s
ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m14s
ansible-opnsense / deploy (push) Successful in 8s
ansible-rus-central / deploy (push) Successful in 57s
Раннер живёт на этой машине, job не может её пересобирать. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f1838991bd
commit
db92435117
6 files changed
+19
-63
No files matched your search
+4
-1
@@ -16,6 +16,8 @@
|
||||
|
||||
Полная сверка одной машины: `ansible-playbook playbooks/site.yml --limit <машина>`. Боевой Gitea после cutover — `core-git` (`192.168.1.105`). Пайплайны клонируют с `http://192.168.1.105:3000`. CT 109 на `pve` оставлен как rollback, стек на нём остановлен — не удалять, пока не подтверждён стабильный прогон.
|
||||
|
||||
`core-git` пайплайном не ставится. Раннер живёт на этой машине: workflow, который деплоит её или делает `terraform apply` по CT 904, оборвёт сам себя. Плейбук `core-git.yml` и apply ресурса `core_git` — с рабочей станции. `deploy-machine.sh core-git` завершается с ошибкой. Terraform из Actions считает `netcore` с `-exclude=proxmox_virtual_environment_container.core_git`.
|
||||
|
||||
---
|
||||
|
||||
## 1. Топология инфраструктуры
|
||||
@@ -27,7 +29,7 @@
|
||||
| **pve** | `192.168.1.2:8006` | PVE Main Node / Services | `root@192.168.1.2` (LAN only) |
|
||||
| **opnsense** | `192.168.1.1` | Маршрутизатор / Шлюз | Шлюз по умолчанию |
|
||||
|
||||
Terraform в этом репозитории описывает узел `netcore` (включая `core-git`). Боевой CT 109 на `pve` пока остаётся источником до миграции.
|
||||
Terraform в этом репозитории описывает узел `netcore`, в том числе CT 904. Apply CT 904 с раннера запрещён, см. выше. CT 109 на `pve` оставлен как rollback.
|
||||
|
||||
### 1.2. Базовые управляющие контейнеры (LXC / Debian 13)
|
||||
| CT ID | Хост PVE | IP | Имя хоста | Продукты |
|
||||
@@ -145,6 +147,7 @@ API Endpoint (внутренний LAN): `http://192.168.1.102:8080/api`
|
||||
3. Убедиться в доступности SSH по ключам `root_home`.
|
||||
|
||||
### Шаг 2. Gitea & Gitea Actions (CT 904 `core-git`)
|
||||
С рабочей станции, не из Actions.
|
||||
1. Поднять CT 904 (`192.168.1.105`), стек в `/opt/gitea` (`docker compose up -d`).
|
||||
2. UI: `https://gitea.gunihome.ru` или `http://192.168.1.105:3000`.
|
||||
3. Git SSH: `gitea.internal:222`. DNS: `gitea.internal` → `.105` (старый CT 109 — `gitea-old.internal`).
|
||||
|
||||
Reference in new issue
Block a user