All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] automation: add Fedora image and build jobs
@ 2019-04-04 11:22 Wei Liu
  2019-04-04 11:23 ` [PATCH 1/3] automation: add a Fedora image Wei Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wei Liu @ 2019-04-04 11:22 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu

Wei Liu (3):
  automation: add a Fedora image
  automation: add Fedora image to containerize script
  gitlab-ci: add fedora gcc build jobs

 automation/build/fedora/latest.dockerfile | 43 +++++++++++++++++++++++
 automation/gitlab-ci/build.yaml           | 10 ++++++
 automation/scripts/containerize           |  5 +--
 3 files changed, 56 insertions(+), 2 deletions(-)
 create mode 100644 automation/build/fedora/latest.dockerfile

-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] automation: add a Fedora image
  2019-04-04 11:22 [PATCH 0/3] automation: add Fedora image and build jobs Wei Liu
@ 2019-04-04 11:23 ` Wei Liu
  2019-04-04 11:23 ` [PATCH 2/3] automation: add Fedora image to containerize script Wei Liu
  2019-04-04 11:23 ` [PATCH 3/3] gitlab-ci: add fedora gcc build jobs Wei Liu
  2 siblings, 0 replies; 5+ messages in thread
From: Wei Liu @ 2019-04-04 11:23 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein, Wei Liu

Use the latest and greatest.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 automation/build/fedora/latest.dockerfile | 43 +++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 automation/build/fedora/latest.dockerfile

diff --git a/automation/build/fedora/latest.dockerfile b/automation/build/fedora/latest.dockerfile
new file mode 100644
index 0000000000..e0db7afad8
--- /dev/null
+++ b/automation/build/fedora/latest.dockerfile
@@ -0,0 +1,43 @@
+FROM fedora:latest
+LABEL maintainer.name="The Xen Project" \
+      maintainer.email="xen-devel@lists.xenproject.org"
+
+RUN mkdir /build
+WORKDIR /build
+
+# install Xen depends
+RUN dnf -y install \
+        clang \
+        gcc \
+        gcc-c++ \
+        ncurses-devel \
+        zlib-devel \
+        openssl-devel \
+        python-devel \
+        libuuid-devel \
+        pkgconfig \
+        gettext \
+        flex \
+        bison \
+        libaio-devel \
+        glib2-devel \
+        yajl-devel \
+        pixman-devel \
+        glibc-devel \
+        glibc-devel.i686 \
+        make \
+        binutils \
+        git \
+        wget \
+        acpica-tools \
+        python-markdown \
+        patch \
+        checkpolicy \
+        dev86 \
+        xz-devel \
+        bzip2 \
+        nasm \
+        ocaml \
+        ocaml-findlib \
+    && dnf clean all && \
+    rm -rf /var/cache/dnf
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] automation: add Fedora image to containerize script
  2019-04-04 11:22 [PATCH 0/3] automation: add Fedora image and build jobs Wei Liu
  2019-04-04 11:23 ` [PATCH 1/3] automation: add a Fedora image Wei Liu
@ 2019-04-04 11:23 ` Wei Liu
  2019-04-04 11:23 ` [PATCH 3/3] gitlab-ci: add fedora gcc build jobs Wei Liu
  2 siblings, 0 replies; 5+ messages in thread
From: Wei Liu @ 2019-04-04 11:23 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein, Wei Liu

At the same time sort the list alphabetically.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 automation/scripts/containerize | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/automation/scripts/containerize b/automation/scripts/containerize
index 01c44da93c..a7809b3010 100755
--- a/automation/scripts/containerize
+++ b/automation/scripts/containerize
@@ -19,10 +19,11 @@ case "_${CONTAINER}" in
     _centos6) CONTAINER="${BASE}/centos:6" ;;
     _centos7) CONTAINER="${BASE}/centos:7" ;;
     _centos72) CONTAINER="${BASE}/centos:7.2" ;;
-    _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
-    _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
+    _fedora) CONTAINER="${BASE}/fedora:latest";;
     _jessie) CONTAINER="${BASE}/debian:jessie" ;;
     _stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
+    _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
+    _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
 esac
 
 # Use this variable to control whehter root should be used
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] gitlab-ci: add fedora gcc build jobs
  2019-04-04 11:22 [PATCH 0/3] automation: add Fedora image and build jobs Wei Liu
  2019-04-04 11:23 ` [PATCH 1/3] automation: add a Fedora image Wei Liu
  2019-04-04 11:23 ` [PATCH 2/3] automation: add Fedora image to containerize script Wei Liu
@ 2019-04-04 11:23 ` Wei Liu
  2019-04-04 13:13   ` Doug Goldstein
  2 siblings, 1 reply; 5+ messages in thread
From: Wei Liu @ 2019-04-04 11:23 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein, Wei Liu

Although the image comes with clang, clang builds don't work yet.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 automation/gitlab-ci/build.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index c29a76e9ff..dd5722a5bb 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -301,6 +301,16 @@ debian-unstable-32-gcc-debug:
   variables:
     CONTAINER: debian:unstable-i386
 
+fedora-gcc:
+  extends: .gcc-x86-64-build
+  variables:
+    CONTAINER: fedora:latest
+
+fedora-gcc-debug:
+  extends: .gcc-x86-64-build-debug
+  variables:
+    CONTAINER: fedora:latest
+
 # Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5
 
 ubuntu-trusty-gcc:
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] gitlab-ci: add fedora gcc build jobs
  2019-04-04 11:23 ` [PATCH 3/3] gitlab-ci: add fedora gcc build jobs Wei Liu
@ 2019-04-04 13:13   ` Doug Goldstein
  0 siblings, 0 replies; 5+ messages in thread
From: Doug Goldstein @ 2019-04-04 13:13 UTC (permalink / raw)
  To: Wei Liu; +Cc: xen-devel

On Thu, Apr 04, 2019 at 12:23:02PM +0100, Wei Liu wrote:
> Although the image comes with clang, clang builds don't work yet.
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Acked-by: Doug Goldstein <cardoe@cardoe.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-04 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 11:22 [PATCH 0/3] automation: add Fedora image and build jobs Wei Liu
2019-04-04 11:23 ` [PATCH 1/3] automation: add a Fedora image Wei Liu
2019-04-04 11:23 ` [PATCH 2/3] automation: add Fedora image to containerize script Wei Liu
2019-04-04 11:23 ` [PATCH 3/3] gitlab-ci: add fedora gcc build jobs Wei Liu
2019-04-04 13:13   ` Doug Goldstein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.