Pin engine and scenario versions to patch versions 01/1801/1
authorFatih Degirmenci <fdegir@gmail.com>
Tue, 30 Jul 2019 11:51:09 +0000 (13:51 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Tue, 30 Jul 2019 11:51:09 +0000 (13:51 +0200)
Change-Id: I8a9d9fe0b5127e81ce56b6cc4024a601cad327cc

jjb/cloud-infra/cloud-infra-periodic-onap.yaml
jjb/cloud-infra/onap-deploy.sh

index ead70772b8af2e8a881f0f74e3066fb03f74762a..dd812fb24a1912ade4a427d1bd17e7e25329919e 100644 (file)
@@ -46,9 +46,9 @@
           onap-version: 4.0.0-ONAP
           onap-flavor: full
           engine-version: master
-          engine-refspec: master
-          deploy-scenario-version: master
-          deploy-scenario-refspec: master
+          engine-refspec: "refs/changes/71/1771/4"
+          deploy-scenario-version: "9a215b7935ab2b14cc7451ba15ea575e62e26da7"
+          deploy-scenario-refspec: "refs/changes/65/1765/12"
           disabled: false
       - 'master':
           nordix-branch: master
           name: DEPLOY_SCENARIO
           default: '{deploy-scenario}'
           description: 'Scenario to deploy and test'
-      - string:
-          name: HEAT_ENVIRONMENT_FILE
-          default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/heat-environment-full.yaml"
-          description: 'Type of the deployment'
       - string:
           name: DEPLOY_TYPE
           default: '{type}'
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
                 ONAP_VERSION=$ONAP_VERSION
                 ONAP_FLAVOR=$ONAP_FLAVOR
                 ENGINE_VERSION=$ENGINE_VERSION
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
-                PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
                 ONAP_VERSION=$ONAP_VERSION
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
                 ONAP_VERSION=$ONAP_VERSION
                 ONAP_FLAVOR=core
                 TEST_TYPE=onap-healthcheck
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
                 ONAP_VERSION=$ONAP_VERSION
                 ONAP_FLAVOR=small
                 TEST_TYPE=onap-healthcheck
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
                 ONAP_VERSION=$ONAP_VERSION
                 ONAP_FLAVOR=medium
                 TEST_TYPE=onap-healthcheck
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIIONER_TYPE=$PROVISIIONER_TYPE
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
                 ONAP_VERSION=$ONAP_VERSION
                 ONAP_FLAVOR=full
                 TEST_TYPE=onap-healthcheck
               predefined-parameters: |
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
-                HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
                 ONAP_VERSION=$ONAP_VERSION
 
     builders:
       - description-setter:
-          description: $TEST_TYPE $ONAP_FLAVOR
+          description: $INSTALLER_TYPE $DEPLOY_SCENARIO
       - '{phase}-macro'
 
 # vim: set ts=2 sw=2 expandtab:
index deaa9ede8edee23aa62b670c6f714dac59d0dda4..7cf0d6d0e6199cedb7b9c31750f3a10e733a1af7 100644 (file)
@@ -22,6 +22,7 @@ set -o errexit
 set -o nounset
 
 cd $WORKSPACE
+/bin/rm -f ../inventory.ini
 echo "Info: Preparing for ONAP deployment"
 
 # checkout given engine version
@@ -66,7 +67,9 @@ fi
 echo "Info: Starting K8S cluster creation and ONAP deployment"
 echo "-------------------------------------------------------------------------"
 cd $WORKSPACE
-./deploy.sh -c -r $PROVISIONER_TYPE -u $OPENRC_FILE \
+./engine/deploy.sh -c -r $PROVISIONER_TYPE -u $OPENRC_FILE \
   -s $DEPLOY_SCENARIO -e $HEAT_ENVIRONMENT_FILE
 
+cd $WORKSPACE
+/bin/cp $WORKSPACE/.cache/config/inventory.ini ../inventory.ini
 # vim: set ts=2 sw=2 expandtab: