blob: 1141798b0ffc25403c427f8c14a253d2a85cf0b1 [file] [log] [blame]
Petr Ospalý170d94b2018-12-20 16:40:58 +01001# For the packaging script it is expected that all artifacts are present on local file system
2# (e.g. they can be mounted) Downloading stuff from internet is currently not supported.
3# Furthermore we don't want to replicate content of our static data_lists for download in there
4# and those are downloaded before this packaging script is supposed to be run.
5# Therefore we can limit number of artifacts to be added into packages just to couple of items.
6
7###########################
8# Project specific params #
9###########################
10
11# Final package name will be ${SOFTWARE_PACKAGE_BASENAME}-${PROJECT_NAME}-${PROJECT_VERSION}.tar
12SOFTWARE_PACKAGE_BASENAME="onap-offline"
13
14########################
15# Helm charts handling #
16########################
17
18# directory with helm charts
19HELM_CHARTS_DIR="/root/oom"
20
21
22###################
23# Packages addons #
24###################
25
26# in there we define array of files/directories to be added into particular packages
27# SW_PACKAGE_ADDONS are offline installer specific entries which are supposed to be inserted
28# into ./ansible/application directory which is the only place where installer expects SW addons
29# if directory is specified, whole dir will be copied into ./ansible/application inc. subdirs
30# if file is specified it will be just copied into ./ansible/application folder.
31#
32SW_PACKAGE_ADDONS=(
33 '/root/ansible/application/onap-me-patch-role'
34 '/root/ansible/application/application_configuration.yml'
35)
36
37# following array contains directories and files from where offline installer can get required artifacts
38# following binaries and files are expected:
39# <path_to_downloads>/downloads ... path to directory with application binaries (e.g. rancher, kubectl, jq, helm)
40# <path_to_git-repo>/git-repo ... path to directory with git repos
41# <path_to_http>/http ... path to directory with http files
42# <path_to_offline_data>/offline_data ... path to directory with infra specific docker images
43# <path_to_pkg>/pkg ... path to directory with rpm/deb packages
44# <path_to_nexus_blob>/nexus_data.tar ... path to tar file with collected nexus blobs (output of different script)
45#
46# alternatively and if all above is available just ./resources folder with contain all of those might be used
47# <path_to_complete_resources_folder>/resources
48#
49
50EXTERNAL_BINARIES_PACKAGE_ADDONS=(
51 '/root/resources'
52)
53#EXTERNAL_BINARIES_PACKAGE_ADDONS=(
54# '/root/resources/downloads'
55# '/root/resources/git-repo'
56# '/root/resources/http'
57# '/root/resources/offline_data'
58# '/root/resources/pkg'
59# '/root/resources/nexus_data.tar'
60#)
61
62# this param should be set to true if additional application package is supposed to be created
63#
64PREPARE_AUX_PACKAGE="true"
65
66# tar files with additional application images supposed to be inserted into nexus during runtime are expected
67#
68#AUX_BINARIES_PACKAGE_ADDONS=(
69# '/root/resource_aux/aaa-component-0.0.1.tar'
70# '/root/resource_aux/xyz-component-0.0.1.tar'
71#)