summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-01-22 10:27:12 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-22 10:27:12 +0000
commita2382319684880aabd05678ed1c5ce63363ca1a9 (patch)
tree1807684c35bc7c1943767130f421c34141cec65c
parent57fd33e0447dea616a0ab1264583d87e1f491f41 (diff)
parent3fb890c848199f4455dc5aeb9aa2989dbf9504ca (diff)
Merge "Add ansible runner image/chroot into package"
-rwxr-xr-xpackage.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/package.sh b/package.sh
index 3a4d12bc..cb0782d2 100755
--- a/package.sh
+++ b/package.sh
@@ -79,6 +79,15 @@ function add_additions {
fi
}
+function build_sw_artifacts {
+ cd ansible/docker
+ ./build_ansible_image.sh
+ if [ $? -ne 0 ]; then
+ crash 5 "Building of ansible runner image failed."
+ fi
+ cd -
+}
+
function create_sw_package {
local pkg_root="${PACKAGING_TARGET_DIR}/onap"
@@ -204,6 +213,7 @@ whotest[0]='test' || (crash 3 "Arrays not supported in this version of bash.")
# Prepare output directory for our packaging and create all tars
rm -rf ${PACKAGING_TARGET_DIR}
+build_sw_artifacts
create_sw_package
create_resource_package