From: garciadeblas Date: Mon, 6 Jul 2020 15:37:59 +0000 (+0000) Subject: Default installation with K8s instead of swarm X-Git-Tag: release-v9.0-start~10 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=45ed68a8f5069b2465daa8c42cb655e57c50afb1;p=osm%2Fdevops.git Default installation with K8s instead of swarm Change-Id: I5b934ced7024e3d926cec865a8a38219454956a4 Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 77b3fb85..a60898ed 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -1537,7 +1537,7 @@ TO_REBUILD="" INSTALL_NOLXD="" INSTALL_NODOCKER="" INSTALL_NOJUJU="" -KUBERNETES="" +KUBERNETES="y" NGUI="y" INSTALL_K8S_MONITOR="" INSTALL_NOHOSTCLIENT="" @@ -1586,7 +1586,7 @@ while getopts ":b:r:c:n:k:u:R:D:o:O:m:N:H:S:s:w:t:U:P:A:l:L:K:-: hy" o; do REPO_ARGS+=(-r "$REPOSITORY") ;; c) - [ "${OPTARG}" == "swarm" ] && continue + [ "${OPTARG}" == "swarm" ] && KUBERNETES="" && continue [ "${OPTARG}" == "k8s" ] && KUBERNETES="y" && continue echo -e "Invalid argument for -i : ' $OPTARG'\n" >&2 usage && exit 1 diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index c9c5f735..6b57f153 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -55,7 +55,7 @@ def uninstall_osm(stackName) { sh """ export OSM_USE_LOCAL_DEVOPS=true export PATH=$PATH:/snap/bin - installers/full_install_osm.sh -y -w /tmp/osm -t ${stackName} -s ${stackName} --test --nolxd --nodocker --nojuju --nohostports --nohostclient --uninstall + installers/full_install_osm.sh -y -c swarm -w /tmp/osm -t ${stackName} -s ${stackName} --test --nolxd --nodocker --nojuju --nohostports --nohostclient --uninstall """ } @@ -565,4 +565,4 @@ EOF""" sh "docker rm ${http_server_name} || true" } } -} \ No newline at end of file +}