gitea to git (#2)
Reviewed-on: #2 Co-authored-by: Vishesh 'ironeagle' Bangotra <aetoskia@gmail.com> Co-committed-by: Vishesh 'ironeagle' Bangotra <aetoskia@gmail.com>
This commit is contained in:
18
README.md
18
README.md
@@ -112,7 +112,7 @@ Self-hosted Git service used as Drone’s SCM backend and code hosting platform.
|
|||||||
|
|
||||||
#### Extra Config Required
|
#### 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).
|
2. Log in as the **`aetos`** admin user (repository owner).
|
||||||
3. Verify Drone OAuth App is registered with:
|
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
|
#### Environment
|
||||||
|
|
||||||
* **DRONE_GITEA_CLIENT_ID / SECRET:** OAuth credentials from Gitea.
|
* **DRONE_GITEA_CLIENT_ID / SECRET:** OAuth credentials from git.
|
||||||
* **DRONE_GITEA_SERVER:** Gitea URL (`https://gitea.aetoskia.com`).
|
* **DRONE_GITEA_SERVER:** Gitea URL (`https://git.aetoskia.com`).
|
||||||
* **DRONE_RPC_SECRET:** Shared secret for secure runner communication.
|
* **DRONE_RPC_SECRET:** Shared secret for secure runner communication.
|
||||||
* **DRONE_SERVER_HOST / PROTO:** External access configuration.
|
* **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:
|
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 drone.aetoskia.com
|
||||||
192.168.1.111 dcr.aetoskia.com
|
192.168.1.111 dcr.aetoskia.com
|
||||||
```
|
```
|
||||||
@@ -237,11 +237,11 @@ Ensure `/etc/hosts` on all relevant devices (Pi nodes, local dev systems) includ
|
|||||||
## ✅ Quick Test Checklist
|
## ✅ Quick Test Checklist
|
||||||
|
|
||||||
| Component | URL | Expected Result |
|
| Component | URL | Expected Result |
|
||||||
| ---------------- | -------------------------------------------------------------------------------------- | ------------------------------------- |
|
| ---------------- |-----------------------------------------------------------------------------------| ------------------------------------- |
|
||||||
| **Gitea** | [https://gitea.aetoskia.com:6002](https://gitea.aetoskia.com:6002) | Gitea login page |
|
| **Gitea** | [https://git.aetoskia.com](https://git.aetoskia.com) | Gitea login page |
|
||||||
| **Drone** | [https://drone.aetoskia.com:6003](https://drone.aetoskia.com:6003) | Drone CI UI linked to Gitea |
|
| **Drone** | [https://drone.aetoskia.com](https://drone.aetoskia.com) | Drone CI UI linked to Gitea |
|
||||||
| **Registry UI** | [http://localhost:6001](http://localhost:6001) | Authenticated Docker registry browser |
|
| **Registry UI** | [https://registry.aetoskia.com](https://registry.aetoskia.com) | Authenticated Docker registry browser |
|
||||||
| **Registry API** | [https://dcr.aetoskia.com:6005/v2/_catalog](https://dcr.aetoskia.com:6005/v2/_catalog) | JSON listing of repositories |
|
| **Registry API** | [https://dcr.aetoskia.com/v2/_catalog](https://dcr.aetoskia.com/v2/_catalog) | JSON listing of repositories |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -75,13 +75,13 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
DRONE_GITEA_CLIENT_ID: 8445594d-7c03-41a1-b66d-4296f34fa644
|
DRONE_GITEA_CLIENT_ID: 8445594d-7c03-41a1-b66d-4296f34fa644
|
||||||
DRONE_GITEA_CLIENT_SECRET: gto_f46d6utmlttauajdjxpfgikskb3j5epoohzhpp2r6j2jbed46iaq
|
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_RPC_SECRET: supersecretkey
|
||||||
DRONE_SERVER_HOST: drone.aetoskia.com
|
DRONE_SERVER_HOST: drone.aetoskia.com
|
||||||
DRONE_SERVER_PROTO: https
|
DRONE_SERVER_PROTO: https
|
||||||
restart: always
|
restart: always
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "gitea.aetoskia.com:192.168.1.111"
|
- "git.aetoskia.com:192.168.1.111"
|
||||||
command: sh -c "update-ca-certificates && drone-server"
|
command: sh -c "update-ca-certificates && drone-server"
|
||||||
profiles:
|
profiles:
|
||||||
- server-pi
|
- server-pi
|
||||||
|
|||||||
Reference in New Issue
Block a user