Quantcast
Channel: Deadlypenguin
Viewing all articles
Browse latest Browse all 40

Auto watch a directory and rebuild the repository when an rpm is added/updated

$
0
0

Today I started setting up the repository for people to use to install the Solenopsis rpm.  The problem is I want to be able to build the rpm (via Jenkins) and push it to a remote server and automatically have the repo rebuild when it sees an rpm updated or added to the directory.

To do this, I wrote a small python script that can be run and backgrounded.  It sends a pushover notification and runs createrepo against the target directory.


Viewing all articles
Browse latest Browse all 40

Trending Articles