Skip to content

Commit 1681995

Browse files
committed
Install missing heat agent projects
This change adds the dib-utils repo, and adds git_clone calls for the required os-*-config projects. Change-Id: I2641feb0c462d2940f2698515ff62a2ff06c0e70
1 parent 852bacc commit 1681995

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

lib/heat

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ HEAT_DIR=$DEST/heat
3636
HEAT_CFNTOOLS_DIR=$DEST/heat-cfntools
3737
HEAT_TEMPLATES_REPO_DIR=$DEST/heat-templates
3838
OCC_DIR=$DEST/os-collect-config
39+
DIB_UTILS_DIR=$DEST/dib-utils
3940
ORC_DIR=$DEST/os-refresh-config
4041
OAC_DIR=$DEST/os-apply-config
4142

@@ -224,6 +225,10 @@ function install_heat {
224225
function install_heat_other {
225226
git_clone $HEAT_CFNTOOLS_REPO $HEAT_CFNTOOLS_DIR $HEAT_CFNTOOLS_BRANCH
226227
git_clone $HEAT_TEMPLATES_REPO $HEAT_TEMPLATES_REPO_DIR $HEAT_TEMPLATES_BRANCH
228+
git_clone $OAC_REPO $OAC_DIR $OAC_BRANCH
229+
git_clone $OCC_REPO $OCC_DIR $OCC_BRANCH
230+
git_clone $ORC_REPO $ORC_DIR $ORC_BRANCH
231+
git_clone $DIB_UTILS_REPO $DIB_UTILS_DIR $DIB_UTILS_BRANCH
227232
}
228233

229234
# start_heat() - Start running processes, including screen
@@ -304,7 +309,7 @@ function create_heat_accounts {
304309

305310
# build_heat_pip_mirror() - Build a pip mirror containing heat agent projects
306311
function build_heat_pip_mirror {
307-
local project_dirs="$OCC_DIR $OAC_DIR $ORC_DIR $HEAT_CFNTOOLS_DIR"
312+
local project_dirs="$OCC_DIR $OAC_DIR $ORC_DIR $HEAT_CFNTOOLS_DIR $DIB_UTILS_DIR"
308313
local projpath proj package
309314

310315
rm -rf $HEAT_PIP_REPO

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,10 @@ GITBRANCH["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_BRANCH:-master}
427427
#
428428
##################
429429

430+
# run-parts script required by os-refresh-config
431+
DIB_UTILS_REPO=${DIB_UTILS_REPO:-${GIT_BASE}/openstack/dib-utils.git}
432+
DIB_UTILS_BRANCH=${DIB_UTILS_BRANCH:-master}
433+
430434
# os-apply-config configuration template tool
431435
OAC_REPO=${OAC_REPO:-${GIT_BASE}/openstack/os-apply-config.git}
432436
OAC_BRANCH=${OAC_BRANCH:-master}

0 commit comments

Comments
 (0)