Enable running on CentOS/RedHat family 97/50197/9
authorTapio Tallgren <tapio.tallgren@nokia.com>
Mon, 8 Jan 2018 06:48:35 +0000 (08:48 +0200)
committerTapio Tallgren <tapio.tallgren@nokia.com>
Mon, 15 Jan 2018 11:04:13 +0000 (13:04 +0200)
Changes that make it possible to run XCI on CentOS:

- Remove the check on xci-deploy.sh script that exists on RedHat family
(including CentOS) and making the error into a warning.
- Add centos to a distro in opnfv-scenario-requirements

Change-Id: Ief6f1e50d8c7c9d8787641827e57682a6e0549e4
Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
xci/opnfv-scenario-requirements.yml
xci/xci-deploy.sh

index 929d88e..3388b80 100644 (file)
@@ -40,6 +40,7 @@
       distros:
         - opensuse
         - ubuntu
+        - centos
 
 - scenario: os-odl-nofeature
   scm: git
index 99053c7..ec2598f 100755 (executable)
@@ -121,13 +121,11 @@ case ${XCI_DISTRO,,} in
         ;;
 esac
 
-# There is no CentOS support at all
 if [[ ${XCI_DISTRO,,} == centos ]]; then
     echo ""
-    echo "Error: Sorry, only Ubuntu and SUSE hosts are supported for now!"
-    echo "Error: CentOS 7 support is still work in progress."
-    echo ""
-    exit 1
+    echo "Warning: Only Ubuntu and SUSE hosts are fully supported for now!"
+    echo "Warning: CentOS 7 support is still work in progress."
+    echo
 fi
 
 # Clone OPNFV scenario repositories