Feature 11077: update installer to remove osm-devops deb package installation
Change-Id: I85ff7554de78ce96e3b3ee844cab8b7541cded81
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index 589fffa..e9a0611 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -20,10 +20,7 @@
echo -e " OPTIONS"
echo -e " -h / --help: print this help"
echo -e " -y: do not prompt for confirmation, assumes yes"
- echo -e " -r <repo>: use specified repository name for osm packages"
- echo -e " -R <release>: use specified release for osm binaries (deb packages, ...)"
- echo -e " -u <repo base>: use specified repository url for osm packages"
- echo -e " -k <repo key>: use specified repository public key url"
+ echo -e " -S <gerrit refspec>: use a specific devops gerrit refspec (branch, tag, commit), default is master"
echo -e " -a <apt proxy url>: use this apt proxy url when downloading apt packages (air-gapped installation)"
echo -e " -c <kubernetes engine>: use a specific kubernetes engine (options: kubeadm, k3s), default is kubeadm"
echo -e " -t <docker tag> specify osm docker tag (default is latest)"
@@ -52,8 +49,11 @@
source $OSM_DEVOPS/installers/00-default-install-options.rc
RE_CHECK='^[a-z0-9]([-a-z0-9]*[a-z0-9])?$'
-while getopts ":a:c:e:r:k:u:R:D:s:t:U:d:p:m:T:M:G:O:-: hy" o; do
+while getopts ":a:c:e:S:D:s:t:U:d:p:m:T:M:G:O:-: hy" o; do
case "${o}" in
+ S)
+ DEVOPS_GERRIT_REFSPEC="${OPTARG}"
+ ;;
a)
APT_PROXY_URL=${OPTARG}
;;
@@ -67,22 +67,6 @@
e)
OSM_K8S_EXTERNAL_IP="${OPTARG}"
;;
- r)
- REPOSITORY="${OPTARG}"
- REPO_ARGS+=(-r "$REPOSITORY")
- ;;
- k)
- REPOSITORY_KEY="${OPTARG}"
- REPO_ARGS+=(-k "$REPOSITORY_KEY")
- ;;
- u)
- REPOSITORY_BASE="${OPTARG}"
- REPO_ARGS+=(-u "$REPOSITORY_BASE")
- ;;
- R)
- RELEASE="${OPTARG}"
- REPO_ARGS+=(-R "$RELEASE")
- ;;
D)
OSM_DEVOPS="${OPTARG}"
;;