adfinis / gitlab-pkgbot

The Package Bot - A simple service which receives HTTP build triggers from GitLab, gets the built packages and puts them in aptly and RPM repos.
GNU General Public License v3.0
7 stars 3 forks source link

Add detailed setup instructions #3

Open karras opened 7 years ago

karras commented 7 years ago

We should add some more detailed setup instructions, especially briefly describe how the bot works in case someone is not familiar with aptly.

brejoc commented 7 years ago

I assume aptly also needs to be installed besides python-yaml and python-pip. But how about pyaptly? Is that also needed or are the relevant parts integrated into gitlab-pkgbot?

karras commented 7 years ago

Yes, currently pyaptly (see https://github.com/adfinis-sygroup/pyaptly) is required as well but we want to move away from it. Mainly because in most cases you'll directly publish the aptly repo without any snapshots. This also makes the process faster as publishing with aptly usually takes some minutes.

Actually running the commands against the aptly API would be even nicer but on our own aptly server we manage multiple repos and make use of pyaptly for that. Sadly it's currently not possible to run aptly as an API and through the CLI at the same time.