X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=installers%2Finstall_osm.sh;h=f9031750c42492ff3f3a584a4f7194494d1f972a;hb=refs%2Fchanges%2F91%2F5491%2F1;hp=f39eb4106d1a4e84af1bf76340e6458e967e189e;hpb=425f8cef392f81356280f6508384ac397aa2eb85;p=osm%2Fdevops.git diff --git a/installers/install_osm.sh b/installers/install_osm.sh index f39eb410..f9031750 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -318,8 +318,8 @@ fi # if develop, we force master [ -z "$COMMIT_ID" ] && [ -n "$DEVELOP" ] && COMMIT_ID="master" -# if master, force install from source -[ -n "$COMMIT_ID" ] && [ "$COMMIT_ID" == "master" ] && INSTALL_FROM_SOURCE="y" +# forcing source from master removed. Now only install from source when explicit +# [ -n "$COMMIT_ID" ] && [ "$COMMIT_ID" == "master" ] && INSTALL_FROM_SOURCE="y" if [ -n "$TEST_INSTALLER" ]; then echo -e "\nUsing local devops repo for OSM installation" @@ -369,6 +369,8 @@ lxd --version &>/dev/null || FATAL "lxd not present, exiting." wget -q -O- https://osm-download.etsi.org/ftp/osm-2.0-two/README.txt &> /dev/null +# use local devops for containers +export OSM_USE_LOCAL_DEVOPS=true if [ -z "$INSTALL_FROM_SOURCE" ]; then echo -e "\nCreating the containers and installing from binaries ..." $OSM_DEVOPS/jenkins/host/install RO $REPOSITORY $RELEASE $REPOSITORY_KEY $REPOSITORY_BASE || FATAL "RO install failed"