Skip to content
Snippets Groups Projects
  1. Jan 27, 2025
  2. May 29, 2023
  3. Mar 07, 2023
  4. Apr 23, 2021
  5. Mar 10, 2021
  6. Nov 13, 2020
  7. Jan 17, 2020
    • Andrej Shadura's avatar
      Move Docker image building from Jenkins to GitLab CI · 2900db0f
      Andrej Shadura authored
      
      Instead of building all images individually, try and build Apertis-based
      ones from the same common ground. First create a fairly basic Apertis
      ospack with a few development tools in, then create a Docker image out of
      it and layer things on top of it.
      
      This unifies the previously separate overlays for the package builder and
      the package source builder, only keeping the real differences in their
      respective overlays.
      
      We opt to not use Docker proper since it requires non-trivial
      Docker-in-Docker setup. Makisu, which could be used as an alternative,
      unfortunately, has buggy implementation of the ADD command, leaving us
      the only option to use Kaniko.
      
      The docker building step is templated in .gitlab-ci.yml to avoid
      repetition. The Debian-based images don’t normally have to depend on the
      rootfs building step, but to be able to run them asynchronously in the
      same pipeline stage we need to declare the dependency anyway, as GitLab CI
      does not currently support empty "needs" lists.
      
      The branches named apertis/* build their respective Apertis releases,
      everything else builds the default defined in the CI YAML file.
      
      The jobs for apertis/* branches tag their build images as "latest", every
      other job uses the branch name.
      
      For robustness, the debos rootfs step uses a stable v2020 image builder
      step instead of the currently built one.
      
      Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
  8. Nov 01, 2019
  9. Sep 09, 2019
  10. Aug 05, 2019
  11. Jun 02, 2019
  12. Apr 22, 2019
  13. Mar 11, 2019
  14. Sep 06, 2018
  15. Aug 20, 2018
  16. Aug 13, 2018
Loading