xci: kubespray: Add experimental support for openSUSE 93/54193/5
authorMarkos Chandras <mchandras@suse.de>
Tue, 20 Mar 2018 11:28:08 +0000 (11:28 +0000)
committerMarkos Chandras <mchandras@suse.de>
Wed, 21 Mar 2018 10:07:37 +0000 (10:07 +0000)
Add experimental support for openSUSE until the upstream PR
is accepted

installer-type:kubespray
deploy-scenario:k8-nosdn-nofeature
Change-Id: Icd3698d882d249a18be77560ba0ba52159893816
Link: https://github.com/kubernetes-incubator/kubespray/pull/2380
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/installer/kubespray/deploy.sh
xci/opnfv-scenario-requirements.yml

index 7695894..364ee2b 100755 (executable)
@@ -14,6 +14,13 @@ set -o pipefail
 K8_XCI_PLAYBOOKS="$(dirname $(realpath ${BASH_SOURCE[0]}))/playbooks"
 export ANSIBLE_ROLES_PATH=$HOME/.ansible/roles:/etc/ansible/roles:${XCI_PATH}/xci/playbooks/roles
 
+# NOTE(hwoarang): This is a workaround for SUSE until upstream PR is accepted
+# https://github.com/kubernetes-incubator/kubespray/pull/2380
+if [[ ${XCI_DISTRO} == opensuse ]]; then
+    export KUBESPRAY_GIT_URL=https://github.com/hwoarang/kubespray.git
+    export KUBESPRAY_VERSION=add-opensuse-support
+fi
+
 #-------------------------------------------------------------------------------
 # Configure localhost
 #-------------------------------------------------------------------------------
@@ -112,3 +119,5 @@ USERNAME=$(echo $USER_CSV |awk -F ',' '{print $2}')
 PASSWORD=$(echo $USER_CSV |awk -F ',' '{print $1}')
 echo "Info: Dashboard username: ${USERNAME}"
 echo "Info: Dashboard password: ${PASSWORD}"
+
+# vim: set ts=4 sw=4 expandtab:
index 29b5c77..a836153 100644 (file)
@@ -72,6 +72,7 @@
       distros:
         - ubuntu
         - centos
+        - opensuse
 
 - scenario: os-odl-bgpvpn
   scm: git