Files
xen/automation/gitlab-ci/containers.yaml
T
Andrew Cooper 3ddcb957b5 CI: Rework the archlinux container
Rename it to have an x86_64 suffix, updating the build job names and scheduled
rebuild task.

Apply standard cleanups.  Trim the package list down to what is actually
needed.  Archlinux's base-devel contains most libraries, but some of the
listed packages have never been dependenices for Xen, and a lot are QEMU
dependenices which aren't useful owing to the lack of the ninja package.

This shrinks the container from 533MB to 380MB.

No practical change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
2026-06-12 15:00:38 +01:00

30 lines
692 B
YAML

.container-build-tmpl:
stage: containers
image: docker:cli
tags:
- container-builder
rules:
- if: $XEN_CI_REBUILD_CONTAINERS
services:
- docker:dind
before_script:
- apk add make
- docker info
- docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY
script:
- make -C automation/build PUSH=1 REGISTRY=${XEN_REGISTRY} ${CONTAINER/:/\/}
after_script:
- docker logout
container-archlinux-current-x86_64:
extends:
- .container-build-tmpl
variables:
CONTAINER: "archlinux:current-x86_64"
container-opensuse-tumbleweed-x86_64:
extends:
- .container-build-tmpl
variables:
CONTAINER: "opensuse:tumbleweed-x86_64"