aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/vfc
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-03-02 13:24:33 -0800
committerVictor Morales <victor.morales@intel.com>2018-03-02 13:39:06 -0800
commitf8730f5f8d0e044fac2f76f465f285736446c5ca (patch)
tree54346cdc671496edd71b7d72c625a1c51c52fb50 /bootstrap/vagrant-onap/lib/vfc
parenteed634e3decd94328291c8623a5e7fd37075eef0 (diff)
Remove customize src_folder variables
There were some leftovers of variables used for pointing to the project source code folder. This variables are not used anymore. Change-Id: I355930f8ce6acbc31a1adca61741d7221dee196c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
Diffstat (limited to 'bootstrap/vagrant-onap/lib/vfc')
-rwxr-xr-xbootstrap/vagrant-onap/lib/vfc12
1 files changed, 5 insertions, 7 deletions
diff --git a/bootstrap/vagrant-onap/lib/vfc b/bootstrap/vagrant-onap/lib/vfc
index 2b5407ca3..64f7df00e 100755
--- a/bootstrap/vagrant-onap/lib/vfc
+++ b/bootstrap/vagrant-onap/lib/vfc
@@ -9,7 +9,7 @@ function compile_all_vfc_repos {
tox_repos=("gvnfm/vnflcm/lcm" "gvnfm/vnfmgr/mgr" "gvnfm/vnfres/res" "nfvo/lcm" \
"nfvo/driver/vnfm/gvnfm/gvnfmadapter" "nfvo/driver/vnfm/svnfm/zte/vmanager")
for dirc in ${tox_repos[@]}; do
- pushd $vfc_src_folder/$dirc
+ pushd ${src_folders[vfc]}/$dirc
tox -e py27
popd
done
@@ -28,7 +28,7 @@ function compile_all_vfc_repos {
# _build_vfc_image() - Build VFC docker image
function _build_vfc_image {
- pushd $vfc_src_folder/$1/docker
+ pushd ${src_folders[vfc]}/$1/docker
sed -i "s/^push_image/#push_image/g" build_image.sh
sed -i 's|IMAGE_NAME="${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}"|IMAGE_NAME=${ORG}/${IMAGE}|g' build_image.sh
./build_image.sh
@@ -53,11 +53,9 @@ function get_vfc_images {
build_nfvo_vnfm_gvnfmadapter_image
# TODO(sshank): Add other VFC component docker image builds.
else
- pull_onap_image vfc/gvnfm/vnflcm/lcm
- pull_onap_image vfc/gvnfm/vnfmgr/mgr
- pull_onap_image vfc/gvnfm/vnfres/res
- pull_onap_image vfc/nfvo/lcm
- pull_onap_image vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter
+ for image in gvnfm/vnflcm/lcm gvnfm/vnfmgr/mgr gvnfm/vnfres/res nfvo/lcm nfvo/driver/vnfm/gvnfm/gvnfmadapter; do
+ pull_onap_image vfc/$image
+ done
fi
}