1. 10 Nov, 2020 2 commits
    • Peter Hutterer's avatar
      Use the python:alpine image for the pip jobs · 9df1fca3
      Peter Hutterer authored
      This image is a mere 12MB to pull and it comes with pip, so let's use that
      instead of the large Fedora image for jobs where we just run a single script
      early in the CI.
      The first test pipelines show that the check-commit job finishes in under
      30s now (over a minute before). And dnf synching is already 100M to download
      + time, we're a lot faster with this image.
      We only have /bin/sh on this image but the only bash job we were running was
      the doc build - and that can easily be debashified.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Peter Hutterer's avatar
      gitlab CI: add a test stage for images published to quay.io · 52853aa6
      Peter Hutterer authored
      Scour the templates for any `image: quay.io/....` key and collect those. Check
      that those images exist with a simple skopeo inspect job at the end of the
      This works because our images are fully hardcoded, there are no variables
      within the image specifier. If that ever changes, this part needs to be
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  2. 05 Nov, 2020 3 commits
    • Jonas Ådahl's avatar
      Sprinkle architecture awareness · 9673e0a1
      Jonas Ådahl authored
      This means jobs or abstract jobs that are specific to a single
      archtecture now all are postfixed with that architecture. That means
      e.g. .bootstrap became .bootstrap@x86_64, while .bootstrap@aarch64
      remained the same.
      For the jobs it the CI pipeline, fedora:ci@container-build became
      fedora:ci@container-build@x86_64, alpine:latest@container-build became
      alpine:latest@container-build@x86_64, debian@cache-container-build
      became debian@cache-container-build@x86_64, and so on.
      The distribution images does not have the archtecture in the name due to
      a limitation in the number of subdirectories allowed in the gitlab
      registry. Instead the achitecture is added to the relevant tag. That
      means that fdo-ci-221155 became fdo-ci-x86_64-221155, while the image
      remained at e.g ../ci-templates/alpine/latest.
      This confusingly means that aarch64 builds, previously seemingly
      extending "generic" abstract jobs, now extend x86_64 ones, and while
      this looks confusing is how it worked in practice already.
      Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
    • Jonas Ådahl's avatar
      Add publish stage pushing images to quay.io · 597b24f4
      Jonas Ådahl authored
      This splits up the template variable into registry domain and path, so
      that one can 'podman login domain'.
      Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
    • Jonas Ådahl's avatar
      Rename arm64v8 to aarch64 · 69c91925
      Jonas Ådahl authored
      We'll later be more explicit about architectures, so to make their
      difference clear, avoid 'amd64' and 'arm64' and refer to the
      architectures as 'x86_64' and 'aarch64'.
      Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
  3. 31 Aug, 2020 1 commit
  4. 06 Jul, 2020 1 commit
  5. 20 Jun, 2020 1 commit
  6. 15 Jun, 2020 1 commit
  7. 11 Jun, 2020 1 commit
    • Peter Hutterer's avatar
      tools: add commit message checks to ci-fairy · 639808ac
      Peter Hutterer authored
      Useful for checking things like signed-off-by and some more cosmetic things
      that we expect in general from the commit message.
      Current checks:
      - s-o-b present or not (depending on commandline toggle)
      - textwidth < 80 chars
      - second line of commit message is an empty line
      - no 'fixup!' or 'squash!' messages in the history
      - git author information is set
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  8. 04 Jun, 2020 1 commit
  9. 02 Jun, 2020 1 commit
  10. 25 Apr, 2020 1 commit
  11. 24 Apr, 2020 1 commit
  12. 23 Mar, 2020 1 commit
    • Peter Hutterer's avatar
      Provide a vmctl start|start-kernel|stop|exec command · acda94e1
      Peter Hutterer authored
      This wraps the common things we need to do - start the vm, stop it later and
      in between exec a few commands on the VM itself.
      exec is just a wrapper around ssh and vmctl start installs a ssh_config.d
      entry so we can acces the vm as host "vm". This simplifies our scp calls a lot
      too since we don't need to know about the port anymore and calling it "vm" is
      less confusing than "localhost".
      FTR, I did have a vmctl copy command in the test branch but it ended up being
      worse than just calling scp - the argument for exec is weak enough as it is.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  13. 18 Mar, 2020 1 commit
  14. 17 Mar, 2020 2 commits
  15. 16 Mar, 2020 2 commits
  16. 10 Mar, 2020 4 commits
  17. 05 Mar, 2020 1 commit
  18. 04 Mar, 2020 1 commit
    • Peter Hutterer's avatar
      doc: add sphinx docs · 97e5b293
      Peter Hutterer authored
      This just the most basic scaffolding and build script to hook up to gitlab
      pages. Actual docs need to be added.
      The build script is a minimal wrapper around the sphinx-build command but this
      way we can easily ensure that local rebuilding of the docs produces the same
      output that gitlab pages will display.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  19. 21 Feb, 2020 3 commits
  20. 19 Feb, 2020 1 commit
  21. 11 Dec, 2019 3 commits
  22. 05 Dec, 2019 3 commits
  23. 02 Dec, 2019 2 commits
    • Benjamin Tissoires's avatar
      fix skopeo copy · 0a9bdd33
      Benjamin Tissoires authored
      Not sure why, but `skopeo copy` doesn't properly handle the destination
      registry credential.
      As a temporary workaround, provide them through the command line
      Signed-off-by: Benjamin Tissoires's avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
    • Michel Dänzer's avatar
      Bring back job tags, with a twist · 79d46b58
      Michel Dänzer authored
      Instead of just `$CI_JOB_ID` (the job's unique ID number), name the job
      tags `<base tag>-built-by-job-$CI_JOB_ID`. This way, both tags are
      sorted next to each other, making it easy to match them up on the GitLab
      Container Registry page.
      Also, instead of copying one tag to the other with `skopeo copy`, just
      push both tags separately with `podman push`, to avoid failures which
      have been occurring with the former.
      Signed-off-by: Michel Dänzer's avatarMichel Dänzer <mdaenzer@redhat.com>
  24. 29 Nov, 2019 2 commits