Skip to content
Snippets Groups Projects
Verified Commit a2a6b3bc authored by Alexander Wellbrock's avatar Alexander Wellbrock
Browse files

Fix build engine

build-ah-engine is not aarch64 compatible.
parent d9ba127b
No related branches found
No related tags found
No related merge requests found
image: registry.gitlab.com/othermo/fedora-build:latest
image: quay.io/sheogorath/build-ah-engine
variables:
GIT_SUBMODULE_STRATEGY: 'recursive'
before_script:
- git config --global user.email "info@othermo.de"
- git config --global user.name "Othermo CI"
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-aarch64:
image: docker.io/library/fedora:32
stage: build
before_script:
# Build engine for aarch64
- dnf install -y git podman buildah findutils
- sed -e 's/cgroup_manager =.*/cgroup_manager = "cgroupfs"/' /usr/share/containers/containers.conf > /etc/containers/containers.conf
- git config --global user.email "info@othermo.de"
- git config --global user.name "Othermo CI"
- cp storage.conf /etc/containers/storage.conf
script:
- podman pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" || true
- podman build --layers=false --cache-from "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" --tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" .
......
# podman CI config
[storage]
# Default Storage Driver
driver = "vfs"
# Temporary storage location
runroot = "/var/run/containers/storage"
# Primary Read/Write location of container storage
graphroot = "/var/lib/containers/storage"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment