summaryrefslogtreecommitdiffstats
path: root/build/package.conf
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2019-01-29 14:25:04 +0100
committerTomáš Levora <t.levora@partner.samsung.com>2019-02-07 14:41:23 +0100
commitade405a53f37d03866556bd87daf7a7af740fb74 (patch)
tree00072f3854818cc6f1b5b33100b93d506d98d22d /build/package.conf
parentc2a14cfae6d19c3c6c09394ca710f1871a48983d (diff)
Create offline data lists to cover Casablanca
Adding casablanca related data lists and changing the lists naming rule Modifying related download scripts accordingly Adding parameters for project version to download scripts to be able to use version specific lists Removing download-oom.sh as it should be done in helm charts preparation and patching steps Moving additional build related stuff to build directory Adding missing tags Issue-ID: OOM-1615 Change-Id: Ic5902f646a1f0f40ba615562f8d9b1a43cf8480b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Diffstat (limited to 'build/package.conf')
-rw-r--r--build/package.conf71
1 files changed, 71 insertions, 0 deletions
diff --git a/build/package.conf b/build/package.conf
new file mode 100644
index 00000000..1141798b
--- /dev/null
+++ b/build/package.conf
@@ -0,0 +1,71 @@
+# For the packaging script it is expected that all artifacts are present on local file system
+# (e.g. they can be mounted) Downloading stuff from internet is currently not supported.
+# Furthermore we don't want to replicate content of our static data_lists for download in there
+# and those are downloaded before this packaging script is supposed to be run.
+# Therefore we can limit number of artifacts to be added into packages just to couple of items.
+
+###########################
+# Project specific params #
+###########################
+
+# Final package name will be ${SOFTWARE_PACKAGE_BASENAME}-${PROJECT_NAME}-${PROJECT_VERSION}.tar
+SOFTWARE_PACKAGE_BASENAME="onap-offline"
+
+########################
+# Helm charts handling #
+########################
+
+# directory with helm charts
+HELM_CHARTS_DIR="/root/oom"
+
+
+###################
+# Packages addons #
+###################
+
+# in there we define array of files/directories to be added into particular packages
+# SW_PACKAGE_ADDONS are offline installer specific entries which are supposed to be inserted
+# into ./ansible/application directory which is the only place where installer expects SW addons
+# if directory is specified, whole dir will be copied into ./ansible/application inc. subdirs
+# if file is specified it will be just copied into ./ansible/application folder.
+#
+SW_PACKAGE_ADDONS=(
+ '/root/ansible/application/onap-me-patch-role'
+ '/root/ansible/application/application_configuration.yml'
+)
+
+# following array contains directories and files from where offline installer can get required artifacts
+# following binaries and files are expected:
+# <path_to_downloads>/downloads ... path to directory with application binaries (e.g. rancher, kubectl, jq, helm)
+# <path_to_git-repo>/git-repo ... path to directory with git repos
+# <path_to_http>/http ... path to directory with http files
+# <path_to_offline_data>/offline_data ... path to directory with infra specific docker images
+# <path_to_pkg>/pkg ... path to directory with rpm/deb packages
+# <path_to_nexus_blob>/nexus_data.tar ... path to tar file with collected nexus blobs (output of different script)
+#
+# alternatively and if all above is available just ./resources folder with contain all of those might be used
+# <path_to_complete_resources_folder>/resources
+#
+
+EXTERNAL_BINARIES_PACKAGE_ADDONS=(
+ '/root/resources'
+)
+#EXTERNAL_BINARIES_PACKAGE_ADDONS=(
+# '/root/resources/downloads'
+# '/root/resources/git-repo'
+# '/root/resources/http'
+# '/root/resources/offline_data'
+# '/root/resources/pkg'
+# '/root/resources/nexus_data.tar'
+#)
+
+# this param should be set to true if additional application package is supposed to be created
+#
+PREPARE_AUX_PACKAGE="true"
+
+# tar files with additional application images supposed to be inserted into nexus during runtime are expected
+#
+#AUX_BINARIES_PACKAGE_ADDONS=(
+# '/root/resource_aux/aaa-component-0.0.1.tar'
+# '/root/resource_aux/xyz-component-0.0.1.tar'
+#)