Update scripts and tools for v14 21/13621/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 3 Jul 2023 17:28:50 +0000 (19:28 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 7 Jul 2023 08:23:10 +0000 (10:23 +0200)
Change-Id: I2d8e0fdd323d1df0b359b3a4cfcce47fa37e4b4b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh
installers/helm/osm/values.yaml
installers/helm/values/airflow-values.yaml
installers/install_ngsa.sh
installers/install_osm.sh
jenkins/ci-pipelines/ci_stage_3.groovy
tools/env-ftp

index 8dbc151..591a136 100755 (executable)
@@ -319,7 +319,7 @@ EOF"
     OSM_HELM_OPTS="${OSM_HELM_OPTS} --set vca.secret=${OSM_VCA_SECRET}"
     OSM_HELM_OPTS="${OSM_HELM_OPTS} --set vca.cacert=${OSM_VCA_CACERT}"
     [ -n "$OSM_VCA_APIPROXY" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set lcm.config.OSMLCM_VCA_APIPROXY=${OSM_VCA_APIPROXY}"
-    [ ! "$OSM_DOCKER_TAG" == "13" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.tag=${OSM_DOCKER_TAG}"
+    [ ! "$OSM_DOCKER_TAG" == "14" ] && OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.tag=${OSM_DOCKER_TAG}"
     [ -n "${INSTALL_NGSA}" ] || OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.oldServiceAssurance=true"
     if [ -n "${OSM_BEHIND_PROXY}" ]; then
         OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.behindHttpProxy=true"
@@ -565,7 +565,7 @@ function install_osm() {
 
     arrange_docker_default_network_policy
 
-    wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null
+    wget -q -O- https://osm-download.etsi.org/ftp/osm-14.0-fourteen/README2.txt &> /dev/null
     track end
     sudo find /etc/osm
     [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
@@ -970,7 +970,7 @@ fi
 # Installation starts here
 
 # Get README and create OSM_TRACK_INSTALLATION_ID
-wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README.txt &> /dev/null
+wget -q -O- https://osm-download.etsi.org/ftp/osm-14.0-fourteen/README.txt &> /dev/null
 export OSM_TRACK_INSTALLATION_ID="$(date +%s)-$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)"
 
 # Get OS info to be tracked
@@ -986,7 +986,7 @@ if [ -n "$CHARMED" ]; then
     sudo snap install jq || FATAL "Could not install jq (snap package). Make sure that snap works"
     ${OSM_DEVOPS}/installers/charmed_install.sh --tag $OSM_DOCKER_TAG "$@" || \
     FATAL_TRACK charmed_install "charmed_install.sh failed"
-    wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null
+    wget -q -O- https://osm-download.etsi.org/ftp/osm-14.0-fourteen/README2.txt &> /dev/null
     echo -e "\nDONE"
     exit 0
 fi
index f4683f2..3ab8427 100644 (file)
@@ -26,7 +26,7 @@ global:
     repositoryBase: docker.io/opensourcemano
     pullPolicy: IfNotPresent
     # Overrides the image tag whose default is the chart appVersion.
-    tag: "testing-daily"
+    tag: "14"
 
   imagePullSecrets: []
   nameOverride: ""
@@ -86,7 +86,7 @@ keystone:
     port: 5000
   image: {}
     # repository: opensourcemano/keystone
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "keystone-secret"
@@ -96,7 +96,7 @@ lcm:
   logLevel: DEBUG
   image: {}
     # repository: opensourcemano/lcm
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "lcm-secret"
@@ -112,7 +112,7 @@ mon:
   # logLevel: DEBUG
   image: {}
     # repository: opensourcemano/mon
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "mon-secret"
@@ -136,7 +136,7 @@ nbi:
     nodePort: 9999
   image: {}
     # repository: opensourcemano/nbi
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "nbi-secret"
@@ -149,7 +149,7 @@ ngui:
     nodePort: 80
   image: {}
     # repository: opensourcemano/ng-ui
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
 
 # pla module is disabled by default unless global.oldServiceAssurance and pla.enabled are set to true
@@ -158,7 +158,7 @@ pla:
   # logLevel: DEBUG
   image: {}
     # repository: opensourcemano/pla
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
 
 # pol module is disabled by default unless global.oldServiceAssurance and pol.enabled are set to true
@@ -167,7 +167,7 @@ pol:
   # logLevel: DEBUG
   image: {}
     # repository: opensourcemano/pol
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "pol-secret"
@@ -180,7 +180,7 @@ prometheus:
   # replicaCount: 1
   sidecarImage: {}
     # repository: opensourcemano/ro
-    # tag: "testing-daily"
+    # tag: "14"
 
 ro:
   enabled: true
@@ -189,7 +189,7 @@ ro:
     port: 9090
   image: {}
     # repository: opensourcemano/ro
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "ro-secret"
@@ -209,7 +209,7 @@ webhookTranslator:
     port: 9998
   image: {}
     # repository: opensourcemano/webhook
-    # tag: "testing-daily"
+    # tag: "14"
   # replicaCount: 1
 
 zookeeper:
index b574ff4..530a765 100644 (file)
@@ -13,7 +13,7 @@
 #
 ---
 defaultAirflowRepository: opensourcemano/airflow
-defaultAirflowTag: "testing-daily"
+defaultAirflowTag: "14"
 webserverSecretKeySecretName: airflow-webserver-secret
 webserver:
   service:
index 8f18f03..ed653c7 100755 (executable)
@@ -85,7 +85,7 @@ function install_prometheus_alertmanager() {
 DOCKER_REGISTRY_URL=
 DOCKER_USER="opensourcemano"
 OSM_DEVOPS="/usr/share/osm-devops"
-OSM_DOCKER_TAG="13"
+OSM_DOCKER_TAG="14"
 OSM_HELM_WORK_DIR="/etc/osm/helm"
 
 while getopts ":D:d:t:r:U:-: " o; do
index 5fca648..7adc9e1 100755 (executable)
@@ -13,9 +13,9 @@
 #   limitations under the License.
 #
 REPOSITORY_BASE=https://osm-download.etsi.org/repository/osm/debian
-RELEASE=ReleaseTHIRTEEN
+RELEASE=ReleaseFOURTEEN
 REPOSITORY=stable
-DOCKER_TAG=13
+DOCKER_TAG=14
 DEVOPS_PATH=/usr/share/osm-devops
 
 function usage(){
index c94b80a..3b5f214 100644 (file)
@@ -531,7 +531,7 @@ node("${params.NODE}") {
                     ]
 
                     sshCommand remote: remote, command: '''
-                        wget https://osm-download.etsi.org/ftp/osm-13.0-thirteen/install_osm.sh
+                        wget https://osm-download.etsi.org/ftp/osm-14.0-fourteen/install_osm.sh
                         chmod +x ./install_osm.sh
                         sed -i '1 i\\export PATH=/snap/bin:\$PATH' ~/.bashrc
                     '''
index 156fc9c..40a5ee9 100644 (file)
@@ -17,7 +17,7 @@
 #######################################################################################
 
 SERVER="ftp://osm-download.etsi.org"
-FOLDER="osm-13.0-thirteen"
+FOLDER="osm-14.0-fourteen"
 FTP_OPTS=""
 
 # Define your FTP credentials in a separate (private file)