Merge "doctor: drop postbuilders"
authorRyota Mibu <r-mibu@cq.jp.nec.com>
Thu, 1 Dec 2016 12:53:48 +0000 (12:53 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 1 Dec 2016 12:53:48 +0000 (12:53 +0000)
jjb/apex/apex.yml
jjb/armband/armband-deploy.sh
jjb/daisy4nfv/daisy4nfv-virtual-deploy.sh
prototypes/bifrost/scripts/test-bifrost-deployment.sh
utils/test/testapi/opnfv_testapi/resources/testcase_models.py

index 8bfc53d..7724577 100644 (file)
@@ -59,6 +59,7 @@
          - 'os-odl_l2-nofeature-ha'
          - 'os-odl_l2-bgpvpn-ha'
          - 'os-odl_l2-fdio-noha'
+         - 'os-odl_l2-fdio-ha'
          - 'os-odl_l2-sfc-noha'
          - 'os-odl_l3-nofeature-ha'
          - 'os-onos-nofeature-ha'
                 failure-threshold: 'never'
                 unstable-threshold: 'FAILURE'
         - trigger-builds:
-          - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream}'
+          - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-{stream}'
             predefined-parameters: |
               BUILD_DIRECTORY=apex-build-{stream}/build
               OPNFV_CLEAN=yes
index e0631c4..4df9acf 100755 (executable)
@@ -71,10 +71,23 @@ ISO_FILE=$WORKSPACE/opnfv.iso
 # log file name
 FUEL_LOG_FILENAME="${JOB_NAME}_${BUILD_NUMBER}.log.tar.gz"
 
+# Deploy Cache (to enable just create the deploy-cache subdir)
+# NOTE: Only available when ISO files are cached using ISOSTORE mechanism
+DEPLOY_CACHE=${ISOSTORE:-/iso_mount/opnfv_ci}/${GIT_BRANCH##*/}/deploy-cache
+if [[ -d "${DEPLOY_CACHE}" ]]; then
+    echo "Deploy cache dir present."
+    echo "--------------------------------------------------------"
+    echo "Fuel@OPNFV deploy cache: ${DEPLOY_CACHE}"
+    DEPLOY_CACHE="-C ${DEPLOY_CACHE}"
+else
+    DEPLOY_CACHE=""
+fi
+
 # construct the command
 DEPLOY_COMMAND="$WORKSPACE/ci/deploy.sh -b ${LAB_CONFIG_URL} \
     -l $LAB_NAME -p $POD_NAME -s $DEPLOY_SCENARIO -i file://${ISO_FILE} \
-    -H -B ${DEFAULT_BRIDGE:-pxebr} -S $TMPDIR -L $WORKSPACE/$FUEL_LOG_FILENAME"
+    -H -B ${DEFAULT_BRIDGE:-pxebr} -S $TMPDIR -L $WORKSPACE/$FUEL_LOG_FILENAME \
+    ${DEPLOY_CACHE}"
 
 # log info to console
 echo "Deployment parameters"
index 9de494f..4aa7b0b 100755 (executable)
@@ -10,7 +10,9 @@ if [[ "$NODE_NAME" =~ "-virtual" ]]; then
     export NETWORK_CONF=./deploy/config/vm_environment/$NODE_NAME/network.yml
     export DHA_CONF=./deploy/config/vm_environment/$NODE_NAME/deploy.yml
 else
-    exit 1
+    # TODO: For the time being, we need to pass this script to let contributors merge their work.
+    echo "No support for non-virtual node"
+    exit 0
 fi
 
 ./ci/deploy/deploy.sh ${DHA_CONF} ${NETWORK_CONF}
index 63d8514..6e751fe 100755 (executable)
@@ -18,7 +18,7 @@ ENABLE_VENV="false"
 USE_DHCP="false"
 USE_VENV="false"
 BUILD_IMAGE=true
-PROVISION_WAIT_TIMEOUT=${PROVISION_WAIT_TIMEOUT:-2400}
+PROVISION_WAIT_TIMEOUT=${PROVISION_WAIT_TIMEOUT:-3600}
 
 # Set defaults for ansible command-line options to drive the different
 # tests.
index c9dce60..e1f2fb6 100644 (file)
@@ -41,7 +41,8 @@ class TestcaseUpdateRequest(object):
 
 @swagger.model()
 class Testcase(object):
-    def __init__(self):
+    def __init__(self, _id=None, name=None, project_name=None,
+                 description=None, url=None, creation_date=None):
         self._id = None
         self.name = None
         self.project_name = None