[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] automation: Add Arch Linux container and build jobs
commit 7f6658d9cb9c11d80f85cc07fdca014938a3457e Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Wed Apr 3 18:33:58 2019 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Apr 4 10:57:35 2019 +0100 automation: Add Arch Linux container and build jobs One particularity of Arch Linux, /usr/bin/python is python3. Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Acked-by: Doug Goldstein <cardoe@xxxxxxxxxx> --- automation/build/archlinux/current.dockerfile | 52 +++++++++++++++++++++++++++ automation/gitlab-ci/build.yaml | 10 ++++++ automation/scripts/containerize | 1 + 3 files changed, 63 insertions(+) diff --git a/automation/build/archlinux/current.dockerfile b/automation/build/archlinux/current.dockerfile new file mode 100644 index 0000000000..9af5d66afc --- /dev/null +++ b/automation/build/archlinux/current.dockerfile @@ -0,0 +1,52 @@ +FROM archlinux/base +LABEL maintainer.name="The Xen Project" \ + maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx" + +# 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 diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index b70797e82d..c29a76e9ff 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -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: diff --git a/automation/scripts/containerize b/automation/scripts/containerize index 09d130bbd6..01c44da93c 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -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" ;; -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |