summaryrefslogtreecommitdiffstats
path: root/prototypes/bifrost/scripts/test-bifrost-deployment.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-21 10:28:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-21 10:28:54 +0000
commit1686df597be23ac2924cc90a821930a22a1d02d5 (patch)
tree3f1945c0dc4b15464e501733de61a377b545a1b1 /prototypes/bifrost/scripts/test-bifrost-deployment.sh
parent3690af3dbfb90a7e073b10c6fece26ed2dd3af44 (diff)
parenta88b258312d3c858b1b1167dfd03a09a6e28cacd (diff)
Merge "xci: Enable VM provisioning using bifrost for daily runs"
Diffstat (limited to 'prototypes/bifrost/scripts/test-bifrost-deployment.sh')
-rwxr-xr-xprototypes/bifrost/scripts/test-bifrost-deployment.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/prototypes/bifrost/scripts/test-bifrost-deployment.sh b/prototypes/bifrost/scripts/test-bifrost-deployment.sh
index b7165ffd1..3c3b6bacb 100755
--- a/prototypes/bifrost/scripts/test-bifrost-deployment.sh
+++ b/prototypes/bifrost/scripts/test-bifrost-deployment.sh
@@ -18,7 +18,8 @@ ENABLE_VENV="false"
USE_DHCP="false"
USE_VENV="false"
BUILD_IMAGE=true
-BAREMETAL_DATA_FILE=${BAREMETAL_DATA_FILE:-'/tmp/baremetal.json'}
+export BAREMETAL_DATA_FILE=${BAREMETAL_DATA_FILE:-'/tmp/baremetal.json'}
+export BIFROST_INVENTORY_SOURCE=${BIFROST_INVENTORY_SOURCE:-'/tmp/baremetal.csv'}
PROVISION_WAIT_TIMEOUT=${PROVISION_WAIT_TIMEOUT:-3600}
# Set defaults for ansible command-line options to drive the different
@@ -38,7 +39,7 @@ export VM_DOMAIN_TYPE="kvm"
export VM_CPU=${VM_CPU:-4}
export VM_DISK=${VM_DISK:-100}
export VM_DISK_CACHE=${VM_DISK_CACHE:-unsafe}
-TEST_PLAYBOOK="test-bifrost-infracloud.yaml"
+TEST_PLAYBOOK="opnfv-virtual.yaml"
USE_INSPECTOR=true
USE_CIRROS=false
TESTING_USER=root