Samuli Silvius | fe11111 | 2019-02-05 09:45:24 +0200 | [diff] [blame^] | 1 | # For the packaging script it is expected that all artifacts are present on local file system. |
| 2 | # Artifacts include: |
| 3 | # - installer source code (this git repository content) |
| 4 | # - all binary artifacts pre-downloaded from internet (docker images, rpm packages, npm packages, Maven artifacts etc.) |
Petr Ospalý | 170d94b | 2018-12-20 16:40:58 +0100 | [diff] [blame] | 5 | |
| 6 | ########################### |
| 7 | # Project specific params # |
| 8 | ########################### |
| 9 | |
| 10 | # Final package name will be ${SOFTWARE_PACKAGE_BASENAME}-${PROJECT_NAME}-${PROJECT_VERSION}.tar |
| 11 | SOFTWARE_PACKAGE_BASENAME="onap-offline" |
| 12 | |
| 13 | ######################## |
Samuli Silvius | fe11111 | 2019-02-05 09:45:24 +0200 | [diff] [blame^] | 14 | # Helm charts # |
Petr Ospalý | 170d94b | 2018-12-20 16:40:58 +0100 | [diff] [blame] | 15 | ######################## |
| 16 | |
Samuli Silvius | fe11111 | 2019-02-05 09:45:24 +0200 | [diff] [blame^] | 17 | # Provide application installed to Kubernetes cluster. Helm chart is the supported format https://helm.sh/. |
| 18 | # Directory provided here must contain all the Chart directories of the application (https://docs.helm.sh/developing_charts/#charts) and Makefile. |
| 19 | # E.g. in case of ONAP oom repo it will be the content of kubernetes directory. |
| 20 | # NOTE: Leaving this variable commented out will mean that no Helm application will be installed to |
| 21 | # offline Kubernetes cluster. This may be sometimes wanted. |
Samuli Silvius | 6e5b45a | 2019-02-04 12:52:20 +0200 | [diff] [blame] | 22 | #HELM_CHARTS_DIR=~/myclones/casablanca_oom/ |
Petr Ospalý | 170d94b | 2018-12-20 16:40:58 +0100 | [diff] [blame] | 23 | |
| 24 | ################### |
| 25 | # Packages addons # |
| 26 | ################### |
| 27 | |
| 28 | # in there we define array of files/directories to be added into particular packages |
| 29 | # SW_PACKAGE_ADDONS are offline installer specific entries which are supposed to be inserted |
| 30 | # into ./ansible/application directory which is the only place where installer expects SW addons |
| 31 | # if directory is specified, whole dir will be copied into ./ansible/application inc. subdirs |
| 32 | # if file is specified it will be just copied into ./ansible/application folder. |
| 33 | # |
| 34 | SW_PACKAGE_ADDONS=( |
| 35 | '/root/ansible/application/onap-me-patch-role' |
| 36 | '/root/ansible/application/application_configuration.yml' |
| 37 | ) |
| 38 | |
| 39 | # following array contains directories and files from where offline installer can get required artifacts |
| 40 | # following binaries and files are expected: |
| 41 | # <path_to_downloads>/downloads ... path to directory with application binaries (e.g. rancher, kubectl, jq, helm) |
| 42 | # <path_to_git-repo>/git-repo ... path to directory with git repos |
| 43 | # <path_to_http>/http ... path to directory with http files |
| 44 | # <path_to_offline_data>/offline_data ... path to directory with infra specific docker images |
| 45 | # <path_to_pkg>/pkg ... path to directory with rpm/deb packages |
| 46 | # <path_to_nexus_blob>/nexus_data.tar ... path to tar file with collected nexus blobs (output of different script) |
| 47 | # |
| 48 | # alternatively and if all above is available just ./resources folder with contain all of those might be used |
| 49 | # <path_to_complete_resources_folder>/resources |
| 50 | # |
| 51 | |
| 52 | EXTERNAL_BINARIES_PACKAGE_ADDONS=( |
| 53 | '/root/resources' |
| 54 | ) |
| 55 | #EXTERNAL_BINARIES_PACKAGE_ADDONS=( |
| 56 | # '/root/resources/downloads' |
| 57 | # '/root/resources/git-repo' |
| 58 | # '/root/resources/http' |
| 59 | # '/root/resources/offline_data' |
| 60 | # '/root/resources/pkg' |
| 61 | # '/root/resources/nexus_data.tar' |
| 62 | #) |
| 63 | |
| 64 | # this param should be set to true if additional application package is supposed to be created |
| 65 | # |
| 66 | PREPARE_AUX_PACKAGE="true" |
| 67 | |
| 68 | # tar files with additional application images supposed to be inserted into nexus during runtime are expected |
| 69 | # |
| 70 | #AUX_BINARIES_PACKAGE_ADDONS=( |
| 71 | # '/root/resource_aux/aaa-component-0.0.1.tar' |
| 72 | # '/root/resource_aux/xyz-component-0.0.1.tar' |
| 73 | #) |