docs: document Gitea package registry client config and CI/CD workflow
Build and Publish Release / Build Packages and Publish (push) Successful in 26s
Build and Publish Release / Build Packages and Publish (push) Successful in 26s
This commit is contained in:
1 parent
8bec4ed932
commit
97c6ac2ab9
3 files changed
+91
-3
No files matched your search
@@ -224,3 +224,53 @@ linux-updater completion bash > /etc/bash_completion.d/linux-updater
|
||||
# Zsh:
|
||||
linux-updater completion zsh > /usr/local/share/zsh/site-functions/_linux-updater
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 6. Gitea Package Registry Integration (Homelab Repositories)
|
||||
|
||||
In enterprise homelab environments with centralized package management, `linux-updater` can be distributed and continuously updated across all fleet hosts via the self-hosted Gitea Package Registry at `https://gitea.wired.synology.me`.
|
||||
|
||||
### A. RHEL / AlmaLinux / Rocky / Fedora Clients (`DNF` / `YUM`)
|
||||
|
||||
Create the repository configuration file `/etc/yum.repos.d/gitea-wired.repo`:
|
||||
|
||||
```ini
|
||||
[gitea-wired]
|
||||
name=Wired LAB Gitea RPM Repository
|
||||
baseurl=https://gitea.wired.synology.me/api/packages/soda64/rpm
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
```
|
||||
|
||||
Verify and install via DNF:
|
||||
```bash
|
||||
sudo dnf clean all
|
||||
sudo dnf makecache
|
||||
sudo dnf install -y linux-updater
|
||||
```
|
||||
|
||||
### B. Debian / Ubuntu Clients (`APT`)
|
||||
|
||||
Import the repository signing key and configure the APT source list `/etc/apt/sources.list.d/gitea-wired.list`:
|
||||
|
||||
```bash
|
||||
# Import Gitea Debian repository key:
|
||||
curl -fsSL https://gitea.wired.synology.me/api/packages/soda64/debian/repository.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/gitea-wired.gpg
|
||||
|
||||
# Add repository source entry:
|
||||
echo "deb [signed-by=/etc/apt/trusted.gpg.d/gitea-wired.gpg] https://gitea.wired.synology.me/api/packages/soda64/debian stable main" | sudo tee /etc/apt/sources.list.d/gitea-wired.list
|
||||
|
||||
# Update package cache and install:
|
||||
sudo apt update
|
||||
sudo apt install -y linux-updater
|
||||
```
|
||||
|
||||
### C. Fleet Upgrades via Gitea Package Registry
|
||||
|
||||
Once configured on fleet machines, routine updates executed by `linux-updater` itself or system package managers will automatically pull new releases of `linux-updater` alongside system packages:
|
||||
|
||||
```bash
|
||||
# Automated routine update includes linux-updater package upgrades:
|
||||
sudo linux-updater update -y
|
||||
```
|
||||
Reference in new issue
Block a user