The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/87

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From d1de7e12dbc2f79f8429b85edbd1ce8fd1fd12fc Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Thu, 10 Oct 2019 07:36:16 +0200
Subject: [PATCH] jenkins/jobs: Add CentOS 8

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 jenkins/jobs/image-centos.yaml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/jenkins/jobs/image-centos.yaml b/jenkins/jobs/image-centos.yaml
index 799f843..a9c7605 100644
--- a/jenkins/jobs/image-centos.yaml
+++ b/jenkins/jobs/image-centos.yaml
@@ -22,6 +22,7 @@
         values:
         - 6
         - 7
+        - 8
 
     - axis:
         name: variant
@@ -48,10 +49,14 @@
         [ "${ARCH}" = "ppc64el" ] && ARCH="ppc64le"
 
         EXTRA_ARGS=""
-        if [ "${architecture}" != "amd64" ] && ([ "${architecture}" != "i386" 
] || [ "${release}" != "6" ]); then
+        if [ "${architecture}" != "amd64" ] && [ "${architecture}" != "i386" ] 
&& [ "${release}" = "7" ]; then
             EXTRA_ARGS="-o 
source.url=http://mirror.math.princeton.edu/pub/centos-altarch/ -o 
source.skip_verification=true"
         fi
 
+        if [ "${release}" = "8" ]; then
+            EXTRA_ARGS="${EXTRA_ARGS} -o source.variant=dvd1"
+        fi
+
         exec sudo /lxc-ci/bin/build-distro /lxc-ci/images/centos.yaml \
             ${LXD_ARCHITECTURE} 7200 ${WORKSPACE} \
             -o image.architecture=${ARCH} \
@@ -61,7 +66,7 @@
     execution-strategy:
       combination-filter: '
       !(architecture=="arm64" && release == "6")
-      && !(architecture=="armhf" && release == "6")
+      && !(architecture=="armhf" && release != "7")
       && !(architecture=="ppc64el" && release == "6")'
 
     properties:
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to