Raffaele

In a moment of wild excitement for CI changes at my workplace, I decided to fix up the CI/CD settings for the repository I use for Enlightenment packages, live version.

Introduction

A long time ago, I used Travis. After the countless changes they have gone trough, my setup was not working any more. So I decided to move to GitHub Actions.

Gentoo provides a series of tools to check and validate ebuilds. The most common one, used until recently, is Repoman.

Repoman has been deprecated in 2022 (See commit c2c0b163b73c53d8aa65ed6403bdf8f116ef45b8). Before that, it the was used to verify that an overlay had no errors. So at the beginning, I went with this tool. After a first implementation with Repoman, I also implemented checks with pkgcheck.

Design

The idea was to set up have

  • Docker image: https://hub.docker.com/repository/docker/urbsaquaeductus/repoman_prepped/general

    FROM gentoo/portage:latest as portage
    # based on stage3 image
    FROM gentoo/stage3:latest
    
    # copy the entire portage volume in
    COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
  • GitHub actions: https://github.com/rafspiny/repoman-repo-qa/

    Implementation

Previous Post