Skip to content
Snippets Groups Projects

ci: use podman gitlab-runner for multiarch builds

Merged pini requested to merge pini-podman into master
All threads resolved!

The build runs in two stages:

  1. Cross compilation for target architecture on native arch image
  2. Installation into target architecture image

It require actually a third stage to workaround an issue in podman/buildah: https://github.com/containers/buildah/issues/4742

Configuring a gitlab-runner with podman:

  1. Follow this documentation: https://docs.gitlab.com/runner/executors/docker.html#use-podman-to-run-docker-commands
  2. Install the crun and qemu-user-static packages

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Moul
  • Moul
  • Moul
  • Moul
  • Great job! Looks good to me. I don’t get every details deep down, but that’s fine.

    Things I didn’t knew before:

  • Moul approved this merge request

    approved this merge request

  • pini added 2 commits

    added 2 commits

    • 22345178 - 1 commit from branch master
    • 8423ea0b - ci: use podman gitlab-runner for multiarch builds

    Compare with previous version

  • Author Maintainer

    I've fixed the docker repository name in .gitlab-ci.yaml (pinidh -> duniter) and reverted the change related to LTO (files docker/Dockerfile and Cargo.toml).

  • Moul resolved all threads

    resolved all threads

  • pini added 14 commits

    added 14 commits

    Compare with previous version

  • pini added 3 commits

    added 3 commits

    Compare with previous version

  • pini added 2 commits

    added 2 commits

    • 59111f8f - 1 commit from branch master
    • d2da0626 - ci: use podman gitlab-runner for multiarch builds

    Compare with previous version

  • pini added 3 commits

    added 3 commits

    Compare with previous version

  • pini added 13 commits

    added 13 commits

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading