Prepare installer, pods and Jenkins for Rel THIRTEEN 23/12723/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 24 Nov 2022 19:16:57 +0000 (20:16 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 25 Nov 2022 09:02:27 +0000 (10:02 +0100)
Change-Id: Id7bc562963acdb8facf7c6fb48e9598f0743d92f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 files changed:
installers/docker/osm_pla/pla.yaml
installers/docker/osm_pods/keystone.yaml
installers/docker/osm_pods/lcm.yaml
installers/docker/osm_pods/mon.yaml
installers/docker/osm_pods/nbi.yaml
installers/docker/osm_pods/ng-prometheus.yaml
installers/docker/osm_pods/ng-ui.yaml
installers/docker/osm_pods/pol.yaml
installers/docker/osm_pods/prometheus.yaml
installers/docker/osm_pods/ro.yaml
installers/full_install_osm.sh
installers/install_osm.sh
jenkins/ci-pipelines/ci_stage_3.groovy

index 64d9500..630b364 100644 (file)
@@ -39,7 +39,7 @@ spec:
          command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017 ); do sleep 3; done; exit 0"]
       containers:
       - name: pla
-        image: opensourcemano/pla:12
+        image: opensourcemano/pla:13
         env:
         - name: OSMPLA_DATABASE_HOST
           value: mongo
index 00e565d..43def3c 100644 (file)
@@ -46,7 +46,7 @@ spec:
     spec:
       containers:
       - name: keystone
-        image: opensourcemano/keystone:12
+        image: opensourcemano/keystone:13
         ports:
         - containerPort: 5000
           protocol: TCP
index 6fc5402..5472518 100644 (file)
@@ -41,7 +41,7 @@ spec:
          command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 ro 9090 && nc -zvw1 mongodb-k8s 27017 ); do sleep 3; done; exit 0"]
       containers:
       - name: lcm
-        image: opensourcemano/lcm:12
+        image: opensourcemano/lcm:13
         env:
         - name: OSMLCM_RO_HOST
           value: ro
index b803724..24e2004 100644 (file)
@@ -50,7 +50,7 @@ spec:
         command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"]
       containers:
       - name: mon
-        image: opensourcemano/mon:12
+        image: opensourcemano/mon:13
         ports:
         - containerPort: 8662
           protocol: TCP
index 0664695..728362b 100644 (file)
@@ -54,7 +54,7 @@ spec:
         command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"]
       containers:
       - name: nbi
-        image: opensourcemano/nbi:12
+        image: opensourcemano/nbi:13
         ports:
         - containerPort: 9999
           protocol: TCP
index ebef7a9..98dd1e8 100644 (file)
@@ -140,7 +140,7 @@ spec:
         - name: prom-db
           mountPath: /prometheus
       - name: prometheus-config-sidecar
-        image: opensourcemano/prometheus:12
+        image: opensourcemano/prometheus:13
         env:
         - name: MONGODB_URL
           value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
index 40c9e5d..6c15337 100644 (file)
@@ -46,7 +46,7 @@ spec:
     spec:
       containers:
       - name: ng-ui
-        image: opensourcemano/ng-ui:12
+        image: opensourcemano/ng-ui:13
         ports:
         - containerPort: 80
           protocol: TCP
index 9c852c5..9b3754a 100644 (file)
@@ -40,7 +40,7 @@ spec:
         command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"]
       containers:
       - name: pol
-        image: opensourcemano/pol:12
+        image: opensourcemano/pol:13
         env:
          - name: OSMPOL_MESSAGE_HOST
            value: kafka
index 241ed72..a914ea5 100644 (file)
@@ -127,7 +127,7 @@ spec:
         - name: prom-db
           mountPath: /prometheus
       - name: prometheus-config-sidecar
-        image: opensourcemano/prometheus:12
+        image: opensourcemano/prometheus:13
         env:
         - name: MONGODB_URL
           value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
index af593a8..9885169 100644 (file)
@@ -50,7 +50,7 @@ spec:
         command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017 ); do sleep 3; done; exit 0"]
       containers:
       - name: ro
-        image: opensourcemano/ro:12
+        image: opensourcemano/ro:13
         ports:
         - containerPort: 9090
           protocol: TCP
index d74cf00..3b57a97 100755 (executable)
@@ -557,7 +557,7 @@ function update_manifest_files() {
             list_of_services="$list_of_services $module"
         fi
     done
-    if [ ! "$OSM_DOCKER_TAG" == "12" ]; then
+    if [ ! "$OSM_DOCKER_TAG" == "13" ]; then
         parse_yaml $OSM_DOCKER_TAG $list_of_services
     fi
     if [ -n "$MODULE_DOCKER_TAG" ]; then
@@ -823,7 +823,7 @@ function install_osm() {
     add_local_k8scluster
     track final_ops add_local_k8scluster_ok
 
-    wget -q -O- https://osm-download.etsi.org/ftp/osm-12.0-twelve/README2.txt &> /dev/null
+    wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null
     track end
     sudo find /etc/osm
     [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
@@ -1227,7 +1227,7 @@ if [ -n "$CHARMED" ]; then
     track start release $RELEASE none none docker_tag $OSM_DOCKER_TAG none none installation_type $OSM_INSTALLATION_TYPE none none
     ${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-12.0-twelve/README2.txt &> /dev/null
+    wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null
     track end installation_type $OSM_INSTALLATION_TYPE
     echo -e "\nDONE"
     exit 0
@@ -1252,7 +1252,7 @@ OSM_K8S_WORK_DIR="$OSM_DOCKER_WORK_DIR/osm_pods" && OSM_NAMESPACE_VOL="${OSM_HOS
 [ -n "$INSTALL_ONLY" ] && echo -e "\nDONE" && exit 0
 
 #Installation starts here
-wget -q -O- https://osm-download.etsi.org/ftp/osm-12.0-twelve/README.txt &> /dev/null
+wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README.txt &> /dev/null
 export OSM_TRACK_INSTALLATION_ID="$(date +%s)-$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)"
 install_osm
 echo -e "\nDONE"
index 11ce0be..e8526a8 100755 (executable)
@@ -13,9 +13,9 @@
 #   limitations under the License.
 #
 REPOSITORY_BASE=https://osm-download.etsi.org/repository/osm/debian
-RELEASE=ReleaseTWELVE
+RELEASE=ReleaseTHIRTEEN
 REPOSITORY=stable
-DOCKER_TAG=12
+DOCKER_TAG=13
 DEVOPS_PATH=/usr/share/osm-devops
 
 function usage(){
index 5709807..a861283 100644 (file)
@@ -501,7 +501,7 @@ node("${params.NODE}") {
                     ]
 
                     sshCommand remote: remote, command: '''
-                        wget https://osm-download.etsi.org/ftp/osm-12.0-twelve/install_osm.sh
+                        wget https://osm-download.etsi.org/ftp/osm-13.0-thirteen/install_osm.sh
                         chmod +x ./install_osm.sh
                         sed -i '1 i\\export PATH=/snap/bin:\$PATH' ~/.bashrc
                     '''