gitea to git #2

Merged
aetos merged 1 commits from gitea-to-git into main 2025-10-21 18:46:27 +00:00
2 changed files with 12 additions and 12 deletions

View File

@@ -112,7 +112,7 @@ Self-hosted Git service used as Drones SCM backend and code hosting platform.
#### Extra Config Required
1. Access Gitea at [https://gitea.aetoskia.com:6002](https://gitea.aetoskia.com:6002).
1. Access Gitea at [https://git.aetoskia.com](https://git.aetoskia.com).
2. Log in as the **`aetos`** admin user (repository owner).
3. Verify Drone OAuth App is registered with:
@@ -143,8 +143,8 @@ Core CI/CD engine that connects to Gitea and manages build pipelines.
#### Environment
* **DRONE_GITEA_CLIENT_ID / SECRET:** OAuth credentials from Gitea.
* **DRONE_GITEA_SERVER:** Gitea URL (`https://gitea.aetoskia.com`).
* **DRONE_GITEA_CLIENT_ID / SECRET:** OAuth credentials from git.
* **DRONE_GITEA_SERVER:** Gitea URL (`https://git.aetoskia.com`).
* **DRONE_RPC_SECRET:** Shared secret for secure runner communication.
* **DRONE_SERVER_HOST / PROTO:** External access configuration.
@@ -215,7 +215,7 @@ Executes pipeline steps on the Docker host using the Drone RPC secret.
Ensure `/etc/hosts` on all relevant devices (Pi nodes, local dev systems) includes:
```
192.168.1.111 gitea.aetoskia.com
192.168.1.111 git.aetoskia.com
192.168.1.111 drone.aetoskia.com
192.168.1.111 dcr.aetoskia.com
```
@@ -236,12 +236,12 @@ Ensure `/etc/hosts` on all relevant devices (Pi nodes, local dev systems) includ
## ✅ Quick Test Checklist
| Component | URL | Expected Result |
| ---------------- | -------------------------------------------------------------------------------------- | ------------------------------------- |
| **Gitea** | [https://gitea.aetoskia.com:6002](https://gitea.aetoskia.com:6002) | Gitea login page |
| **Drone** | [https://drone.aetoskia.com:6003](https://drone.aetoskia.com:6003) | Drone CI UI linked to Gitea |
| **Registry UI** | [http://localhost:6001](http://localhost:6001) | Authenticated Docker registry browser |
| **Registry API** | [https://dcr.aetoskia.com:6005/v2/_catalog](https://dcr.aetoskia.com:6005/v2/_catalog) | JSON listing of repositories |
| Component | URL | Expected Result |
| ---------------- |-----------------------------------------------------------------------------------| ------------------------------------- |
| **Gitea** | [https://git.aetoskia.com](https://git.aetoskia.com) | Gitea login page |
| **Drone** | [https://drone.aetoskia.com](https://drone.aetoskia.com) | Drone CI UI linked to Gitea |
| **Registry UI** | [https://registry.aetoskia.com](https://registry.aetoskia.com) | Authenticated Docker registry browser |
| **Registry API** | [https://dcr.aetoskia.com/v2/_catalog](https://dcr.aetoskia.com/v2/_catalog) | JSON listing of repositories |
---

View File

@@ -75,13 +75,13 @@ services:
environment:
DRONE_GITEA_CLIENT_ID: 8445594d-7c03-41a1-b66d-4296f34fa644
DRONE_GITEA_CLIENT_SECRET: gto_f46d6utmlttauajdjxpfgikskb3j5epoohzhpp2r6j2jbed46iaq
DRONE_GITEA_SERVER: https://gitea.aetoskia.com
DRONE_GITEA_SERVER: https://git.aetoskia.com
DRONE_RPC_SECRET: supersecretkey
DRONE_SERVER_HOST: drone.aetoskia.com
DRONE_SERVER_PROTO: https
restart: always
extra_hosts:
- "gitea.aetoskia.com:192.168.1.111"
- "git.aetoskia.com:192.168.1.111"
command: sh -c "update-ca-certificates && drone-server"
profiles:
- server-pi