1. Nexus OSS repository manager

    looking for a global repository store which could store maven projects, yum repositories, docker repositories, we bumped into Nexus repository manager. We used the official docker image to see how it can be implemented in the dockerized CI environment.

    docker repository

    as a first the docker repository feature could be enabled so we can start building and storing docker images for the different jenkins build slaves and the jenkins master so our work is reproducible and stored in a safe central place.

    We configured 3 repositories in nexus for our docker images seen as a recommended approach in the nexus …


  2. CPAN rpm packages

    I went crazy from perl and the installation of their modules. For some icinga checks we need to install a few base perl packages using cpanminus. It's taking a long time before the installation succeeds depending on the internet connection or server specifications.

    Using a puppet exec to automate this installation is frustrating because the timeout is unpredictable and could take hours from time to time!

    So I started to look for a way to package it into an rpm which I can distribute over our own yum repository.

    The first software I got reviewed is cpan2rpm, it looked promising …


  3. Create and distribute .rpm package

    You wrote a piece of software and want to distribute it on an easy way through a yum repository? That can be done, by making in the first place an rpm package of your code.

    In the first place you need to set up a directory structure. This can be done using the tool rpmdevtools on a rhel based machine:

    # yum install rpmdevtools
    

    Once you installed the software you need to setup the directory tree:

    $ rpmdev-setuptree
    

    This will install the necessary rmpbuild directory tree.

    You will see there is create a SOURCES directory, you need to get your software source …


Page 1 / 1