feat: implement automatic, atomic, and push-based repository synchronization

- Switched from systemd path monitoring to a custom wrapper script `mxos-trigger-dist-repo.sh` spawned by the Koji signing spooler.
- Wrapper script runs Koji `dist-repo` synchronously and triggers the `mxos-repo-sync.sh` script to perform an atomic rsync of packages to the Caddy server.
- Excluded reposerver from distro-sync to work around VM disk space constraints.
- Configured Koji tag `mxos0` to cancel older pending/running `distRepo` tasks when a new one is triggered.
- Verified successful repository generation, synchronization, and DNF resolution.

Co-developed-by: Gemini AI <renich+gemini@woralelandia.com>
Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>
This commit is contained in:
Rénich Bon Ćirić 2026-06-16 23:57:02 -06:00
commit 38a0669db8
Signed by: renich
GPG key ID: AB2A9F49384FE324
11 changed files with 191 additions and 54 deletions

View file

@ -1,17 +1,17 @@
[mxos-baseos]
name=MxOS CentOS Stream 10 BaseOS
name=MxOS 10 BaseOS
baseurl=http://cs10-repo.mx-os/BaseOS/$basearch/os/
enabled=1
gpgcheck=0
[mxos-baseos-debuginfo]
name=MxOS CentOS Stream 10 BaseOS Debuginfo
name=MxOS 10 BaseOS Debuginfo
baseurl=http://cs10-repo.mx-os/BaseOS/$basearch/debug/tree/
enabled=0
gpgcheck=0
[mxos-baseos-source]
name=MxOS CentOS Stream 10 BaseOS Source
name=MxOS 10 BaseOS Source
baseurl=http://cs10-repo.mx-os/BaseOS/source/tree/
enabled=0
gpgcheck=0