All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] automation: add CentOS 7.x image
       [not found] <cover.e43916f2eba30c83ee3f3fa8bf4d1a71917c71d8.1532901193.git-series.cardoe@cardoe.com>
@ 2018-07-29 21:53 ` Doug Goldstein
  2018-07-30 14:27   ` Wei Liu
  2018-07-29 21:53 ` [PATCH 2/2] ci: enable builds with CentOS 7.x Doug Goldstein
  1 sibling, 1 reply; 4+ messages in thread
From: Doug Goldstein @ 2018-07-29 21:53 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein, Wei Liu

This image will always track the latest CentOS 7.x release. Add this
container to containerize for easy access.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
---
 automation/build/centos/7.dockerfile | 49 +++++++++++++++++++++++++++++-
 automation/scripts/containerize      |  1 +-
 2 files changed, 50 insertions(+)
 create mode 100644 automation/build/centos/7.dockerfile

diff --git a/automation/build/centos/7.dockerfile b/automation/build/centos/7.dockerfile
new file mode 100644
index 0000000..e37d9d7
--- /dev/null
+++ b/automation/build/centos/7.dockerfile
@@ -0,0 +1,49 @@
+FROM centos:7
+LABEL maintainer.name="The Xen Project" \
+      maintainer.email="xen-devel@lists.xenproject.org"
+
+RUN mkdir /build
+WORKDIR /build
+
+# work around https://github.com/moby/moby/issues/10180
+# and add EPEL for dev86
+RUN rpm --rebuilddb && \
+    yum -y install \
+        yum-plugin-ovl \
+        epel-release \
+    && yum clean all && \
+    rm -rf /var/cache/yum
+
+# install Xen depends
+RUN yum -y install \
+        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 \
+    && yum clean all && \
+    rm -rf /var/cache/yum
diff --git a/automation/scripts/containerize b/automation/scripts/containerize
index 7253617..f7f6642 100755
--- a/automation/scripts/containerize
+++ b/automation/scripts/containerize
@@ -15,6 +15,7 @@ die() {
 #
 BASE="registry.gitlab.com/xen-project/xen"
 case "_${CONTAINER}" in
+    _centos7) CONTAINER="${BASE}/centos:7" ;;
     _centos72) CONTAINER="${BASE}/centos:7.2" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
     _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
-- 
git-series 0.9.1

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

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

* [PATCH 2/2] ci: enable builds with CentOS 7.x
       [not found] <cover.e43916f2eba30c83ee3f3fa8bf4d1a71917c71d8.1532901193.git-series.cardoe@cardoe.com>
  2018-07-29 21:53 ` [PATCH 1/2] automation: add CentOS 7.x image Doug Goldstein
@ 2018-07-29 21:53 ` Doug Goldstein
  2018-07-30 14:27   ` Wei Liu
  1 sibling, 1 reply; 4+ messages in thread
From: Doug Goldstein @ 2018-07-29 21:53 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein, Wei Liu

Add the CentOS 7.x images to be used for build testing.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
---
 .gitlab-ci.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b9877b..6328da9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,6 +39,22 @@ centos-7-2-gcc-debug:
     debug: y
     XEN_TARGET_ARCH: x86_64
 
+centos-7-gcc:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: centos:7
+    debug: n
+    XEN_TARGET_ARCH: x86_64
+
+centos-7-gcc-debug:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: centos:7
+    debug: y
+    XEN_TARGET_ARCH: x86_64
+
 debian-jessie-clang:
   <<: *build
   variables:
-- 
git-series 0.9.1

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

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

* Re: [PATCH 1/2] automation: add CentOS 7.x image
  2018-07-29 21:53 ` [PATCH 1/2] automation: add CentOS 7.x image Doug Goldstein
@ 2018-07-30 14:27   ` Wei Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Wei Liu @ 2018-07-30 14:27 UTC (permalink / raw)
  To: Doug Goldstein; +Cc: xen-devel, Wei Liu

On Sun, Jul 29, 2018 at 04:53:15PM -0500, Doug Goldstein wrote:
> This image will always track the latest CentOS 7.x release. Add this
> container to containerize for easy access.
> 
> Signed-off-by: Doug Goldstein <cardoe@cardoe.com>

Reviewed-by: Wei Liu <wei.liu2@citrix.com>

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

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

* Re: [PATCH 2/2] ci: enable builds with CentOS 7.x
  2018-07-29 21:53 ` [PATCH 2/2] ci: enable builds with CentOS 7.x Doug Goldstein
@ 2018-07-30 14:27   ` Wei Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Wei Liu @ 2018-07-30 14:27 UTC (permalink / raw)
  To: Doug Goldstein; +Cc: xen-devel, Wei Liu

On Sun, Jul 29, 2018 at 04:53:16PM -0500, Doug Goldstein wrote:
> Add the CentOS 7.x images to be used for build testing.
> 
> Signed-off-by: Doug Goldstein <cardoe@cardoe.com>

Reviewed-by: Wei Liu <wei.liu2@citrix.com>

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

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

end of thread, other threads:[~2018-07-30 14:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.e43916f2eba30c83ee3f3fa8bf4d1a71917c71d8.1532901193.git-series.cardoe@cardoe.com>
2018-07-29 21:53 ` [PATCH 1/2] automation: add CentOS 7.x image Doug Goldstein
2018-07-30 14:27   ` Wei Liu
2018-07-29 21:53 ` [PATCH 2/2] ci: enable builds with CentOS 7.x Doug Goldstein
2018-07-30 14:27   ` Wei Liu

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.