automation: Add Arch Linux container and build jobs
PATCH v2 1/1 automation: Add Arch Linux container and build jobs
One particularity of Arch Linux, /usr/bin/python is python3.
Signed-off-by Anthony PERARD <[email protected]>
---
Notes:
v2:
- Add the gitlab build stuff
- update containerize with new shortcut
- This time, the container is already pushed to the registry one pipeline with the archlinux-* jobs:
https://gitlab.com/xen-project/people/anthonyper/xen/pipelines/55061669
automation/build/archlinux/current.dockerfile | 52 +++++++++++++++++++ automation/gitlab-ci/build.yaml | 10 ++++ automation/scripts/containerize | 1 + 3 files changed, 63 insertions(+) create mode 100644 automation/build/archlinux/current.dockerfile
automation/build/archlinux/current.dockerfile new file +52 -0
@@ -0,0 +1,52 @@ +FROM archlinux/base +LABEL maintainer.name="The Xen Project" \ + maintainer.email="[email protected]" + +# Enable multilib repo, for dev86 package +RUN echo $'[multilib]\nInclude = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf + +RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \ + base-devel \ + bin86 \ + bridge-utils \ + bzip2 \ + dev86 \ + dtc \ + e2fsprogs \ + ghostscript \ + git \ + gnutls \ + iasl \ + inetutils \ + iproute \ + libaio \ + libcacard \ + libgl \ + libjpeg-turbo \ + libnl \ + libpng \ + libseccomp \ + markdown \ + net-tools \ + nss \ + perl \ + pixman \ + pkgconfig \ + python \ + sdl \ + sdl2 \ + spice \ + spice-protocol \ + systemd \ + transfig \ + usbredir \ + wget \ + xz \ + yajl \ + zlib + +ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl + +RUN useradd --create-home user +USER user +WORKDIR /build
automation/gitlab-ci/build.yaml +10 -0
@@ -129,6 +129,16 @@ # Jobs below this line +archlinux-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: archlinux:current + +archlinux-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: archlinux:current + centos-7-2-gcc: extends: .gcc-x86-64-build variables:
automation/scripts/containerize +1 -0
@@ -15,6 +15,7 @@ die() { # BASE="registry.gitlab.com/xen-project/xen" case "_${CONTAINER}" in + _archlinux|_arch) CONTAINER="${BASE}/archlinux:current" ;; _centos6) CONTAINER="${BASE}/centos:6" ;; _centos7) CONTAINER="${BASE}/centos:7" ;; _centos72) CONTAINER="${BASE}/centos:7.2" ;;
Signature · 7 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 6 lines · Anthony PERARD
One particularity of Arch Linux,
/usr/bin/pythonis python3.Signed-off-by Anthony PERARD <[email protected]>
Acked-by Doug Goldstein <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel