Skip to content

Commit 8d5a840

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Install heat-cfntools and heat-templates repos"
2 parents cfe247e + 315971d commit 8d5a840

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

lib/heat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ set +o xtrace
3131
# set up default directories
3232
HEAT_DIR=$DEST/heat
3333
HEATCLIENT_DIR=$DEST/python-heatclient
34+
HEAT_CFNTOOLS_DIR=$DEST/heat-cfntools
35+
HEAT_TEMPLATES_REPO_DIR=$DEST/heat-templates
3436
HEAT_AUTH_CACHE_DIR=${HEAT_AUTH_CACHE_DIR:-/var/cache/heat}
3537
HEAT_STANDALONE=`trueorfalse False $HEAT_STANDALONE`
3638
HEAT_CONF_DIR=/etc/heat
@@ -179,6 +181,12 @@ function install_heat {
179181
git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH
180182
}
181183

184+
# install_heat_other() - Collect source and prepare
185+
function install_heat_other {
186+
git_clone $HEAT_CFNTOOLS_REPO $HEAT_CFNTOOLS_DIR $HEAT_CFNTOOLS_BRANCH
187+
git_clone $HEAT_TEMPLATES_REPO $HEAT_TEMPLATES_REPO_DIR $HEAT_TEMPLATES_BRANCH
188+
}
189+
182190
# start_heat() - Start running processes, including screen
183191
function start_heat {
184192
screen_it h-eng "cd $HEAT_DIR; bin/heat-engine --config-file=$HEAT_CONF"

stack.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ fi
812812

813813
if is_service_enabled heat; then
814814
install_heat
815+
install_heat_other
815816
cleanup_heat
816817
configure_heat
817818
fi

stackrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,14 @@ HEAT_BRANCH=${HEAT_BRANCH:-master}
152152
HEATCLIENT_REPO=${HEATCLIENT_REPO:-${GIT_BASE}/openstack/python-heatclient.git}
153153
HEATCLIENT_BRANCH=${HEATCLIENT_BRANCH:-master}
154154

155+
# heat-cfntools server agent
156+
HEAT_CFNTOOLS_REPO=${HEAT_CFNTOOLS_REPO:-${GIT_BASE}/openstack/heat-cfntools.git}
157+
HEAT_CFNTOOLS_BRANCH=${HEAT_CFNTOOLS_BRANCH:-master}
158+
159+
# heat example templates and elements
160+
HEAT_TEMPLATES_REPO=${HEAT_TEMPLATES_REPO:-${GIT_BASE}/openstack/heat-templates.git}
161+
HEAT_TEMPLATES_BRANCH=${HEAT_TEMPLATES_BRANCH:-master}
162+
155163
# django powered web control panel for openstack
156164
HORIZON_REPO=${HORIZON_REPO:-${GIT_BASE}/openstack/horizon.git}
157165
HORIZON_BRANCH=${HORIZON_BRANCH:-master}

0 commit comments

Comments
 (0)