summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-12-21 23:50:21 -0800
committerMatthewLi <matthew.lijun@huawei.com>2015-12-21 23:52:42 -0800
commite162d2b71843f1603df98bfabcf6b0b9976ca581 (patch)
tree2274dd37670dc3ee54b5ee622e4b743582c8e60f
parent9c1669b0db7698f67da9346bc2d93e0205ba1ecc (diff)
add instance creation process in bottlnecks jjb workflow
JIRA: BOTTLENECK-4 Change-Id: I0c1b719c9cd4d96fa2a5fb2df6773bf79f75a7be Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rw-r--r--jjb/bottlenecks/bottlenecks.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/jjb/bottlenecks/bottlenecks.yml b/jjb/bottlenecks/bottlenecks.yml
index e96147848..249a1bd6e 100644
--- a/jjb/bottlenecks/bottlenecks.yml
+++ b/jjb/bottlenecks/bottlenecks.yml
@@ -107,6 +107,7 @@
builders:
- 'bottlenecks-fetch-os-creds'
- 'run-rubbos-env-preparation'
+ - 'bottlenecks-instance-creation'
- 'run-rubbos-tools-installation'
- 'rubbos-exec'
@@ -136,6 +137,17 @@
./rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
- builder:
+ name: bottlenecks-instance-creation
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+
+ echo "Bottlenecks: instance creation by using heat template"
+ cd $WORKSPACE
+ ./utils/infra_setup/heat_template/HOT_create_instance.sh
+
+- builder:
name: run-rubbos-tools-installation
builders:
- shell: |
@@ -145,6 +157,8 @@
echo "Bottlenecks: to install tools to run rubbos"
cd $WORKSPACE
+ cd rubbos/rubbos_scripts/1-1-1
+ source set_bottlenecks_rubbos_env.sh
./rubbos/rubbos_scripts/1-1-1/scripts/run.sh
- builder: