summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2019-03-08Merge "Refine application_pre_install_role variable usage"Michal Ptacek1-5/+5
2019-03-07Refine application_pre_install_role variable usageBartek Grzybowski1-5/+5
As 'application_pre_install_role' variable set in config/application_configuration.yml must stay in sync with patch role directory name defined in package.conf under APP_CONFIGURATION variable, it's name shall stay under complete user control without any variable as part of it's name. App_helm_build_targets list and app_helm_chart_name should default to 'onap' in application_configuration.yml as customizing them isn't supported at the moment. Also fixed some wording in comments/docs in relevant files. Change-Id: I82b6dd519fbc3426739a11fac1e02eb495a668c0 Issue-ID: OOM-1697 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-07Merge "Replaced casablanca by tag 3.0.1-ONAP"Michal Ptacek1-6/+6
2019-03-04Merge "Download of infra related docker images"Michal Ptacek4-5/+9
2019-03-04Merge "Rename casablanca patch file"Petr Ospalý1-1/+1
2019-03-04Replaced casablanca by tag 3.0.1-ONAPTomáš Levora1-6/+6
As the tag 3.0.1-ONAP already exists, need to replace the branch in the related git repo list Issue-ID: OOM-1696 Change-Id: I8ebc40ee78c49caee4a42efe3b62fd791b75a149 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-03-04Download of infra related docker imagesTomáš Levora4-5/+9
Fixing download and save of docker images needed for infra and loaded in runtime. Removed infra related image from regular list to not push it unnecessarily to nexus repository. Solves OOM-1669 and OOM-1682 Issue-ID: OOM-1682 Change-Id: I6f4fc0a46cdfb820eb70707f533b5ca5e977cccc Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-28Rename casablanca patch fileMilan Verespej1-1/+1
Since there is no difference in patching between 3.0.0 and 3.0.1 release there name of patchfile that includes this tag is unnecessary and confusing. Issue-ID: OOM-1687 Change-Id: I751398f15c38dab83e36ed0b8f555533497291f8 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-28Save docker images based on listTomáš Levora2-7/+6
Save all docker images to tarballs based on list instead of saving all local registry to prevent not necessary images in the package Issue-ID: OOM-1683 Change-Id: Iaf4e092ff124f753d50be876d6ab564c7f349ddc Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-28Fixed path to list for git repos downloadTomáš Levora2-2/+2
Added missing part of file name for correct dowload of git repositories Issue-ID: OOM-1684 Change-Id: Ic8235a04ea12e13ca7e4165734bd15a81f7c8578 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-27Merge "Add download of missing dependency python-docker"Tomáš Levora1-0/+4
2019-02-15Adding updated list files for ONAP 3.0.1Tomáš Levora10-25/+2551
This change is adding updated resources lists for offline-installer for the tag onap_3.0.1 It's fixing some issues messed by wrongly done rebase in a previous patch and sets some default values Issue-ID: OOM-1615 Change-Id: I58001860d4accdf89cacd315d1af81240aee1303 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-14package script do not fail on errorSamuli Silvius1-2/+3
Make build/package.sh script to fail on all errors. Issue-ID: OOM-1660 Change-Id: I3537c719740d4476c07dce284922e352460ae52e Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-14Add download of missing dependency python-dockerTomáš Levora1-0/+4
Fixing a bug with missing python-docker package in local RHEL repository for offline-installer Issue-ID: OOM-1657 Change-Id: I42152f8acf81afcd825bd79378c5a8a8a803d047 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-14Fix nfs on nodes does not install nfs packagesMilan Verespej1-1/+1
Issue-ID: OOM-1640 Change-Id: Ieb8d736e543d58facb9a84c3366c5b15418e17d2 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-13Merge changes Idcc4c510,I81261f51,Ica9fc768,I7b5d135aMichal Ptacek2-128/+133
* changes: More default values and simplify onap config Clarify packaging variables documentation Helm install optional and default values Helm charts dir commenting causes / dir copying
2019-02-13Merge "Updated list of http files for Casablanca"Petr Ospalý2-5/+5
2019-02-13More default values and simplify onap configSamuli Silvius1-1/+9
Populate more default values for ansible all.yml configuration to make it simpler by default for user. Removed project_configuration variable as it caused just confusion. Replaced that mostly by using app_name variable. According to above changed simplified actual configuration config/application_configuration.yml used to install onap. Mostly removed repeation of comments. Also updated ansible/application/README.md that was not updated for a while. Issue-ID: OOM-1633 Change-Id: Idcc4c510b64bb61edd874d0e0616cdb41938f2d3 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Clarify packaging variables documentationSamuli Silvius2-121/+102
For the user package.sh/package.conf is a bit confusing and variables are not well named nor documented. Binary definition can be also simplified by providing just single directory to take binaries from. Corresponding variable documentation on installer side (ansible code) is also confusing and missing relation to packaging variables This commit aims on improving that documentation. Issue-ID: OOM-1633 Change-Id: I81261f51d393f434eac26c4a46624388671bd36b Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Helm install optional and default valuesSamuli Silvius2-9/+23
Make Helm applicaton installation optional by allowing user not to provide Helm charts. Then only empty Kubernetes cluster will be installed. Provide some reasonable default values for Helm charts configuration variables both in package script and ansible installer itself. User provided Helm charts configuration must be in sync with packaging and installer, provided some clarifying comments for that. Issue-ID: OOM-1629 Change-Id: Ica9fc76856cb50c9d636bea99a326736736c7a56 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Helm charts dir commenting causes / dir copyingSamuli Silvius2-6/+8
HELM_CHARTS_DIR in package.conf is unnecessarily mandatory. When commenting out this variable, packaging script copies machine's root directory content into package. This commit will make HELM_CHARTS_DIR optional and its existence is checked in package.sh script. Issue-ID: OOM-1626 Change-Id: I7b5d135ab130a28491e7223b66f26b50ccce5fca Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-08Configuration file option for packagingSamuli Silvius1-12/+23
At the moment configuration file for the package.sh script is fixed by name and location package.conf in the same dir as the script. Allow user to give configuration file as parameter for the script. Issue-ID: OOM-1627 Change-Id: I8b728996ead73a48b88bbbf364ec913217cbd8d6 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-08Updated list of http files for CasablancaTomáš Levora2-5/+5
Renamed to use prefix for Casablanca 3.0.0 and updated some blueprints required. Updated download script accordingly Issue-ID: OOM-1615 Change-Id: I65add45a383f5f7d849e360ec6e65dd65cd501e7 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-08Merge "Use git format of patches"Tomáš Levora1-1/+2
2019-02-08Merge "Adding PyPI repository and packages to Nexus"Michal Ptacek1-3/+21
2019-02-07Adding PyPI repository and packages to NexusTomáš Levora1-3/+21
This update for building of Nexus repository for offline installer adds autoconfiguration of pipy repository and uploading pypi packages to it based on related list Issue-ID: OOM-1619 Change-Id: Id49aad2936e7e56848500c47a43a16f1f58db8e3 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Create APT repositoryTomáš Levora3-13/+50
Adding creation of APT repository for resources Issue-ID: OOM-1619 Change-Id: I2d4f14dfcbf2508d31bbc105828853c01733bb3e Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Create offline data lists to cover CasablancaTomáš Levora18-334/+1080
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>
2019-02-06Use git format of patchesMilan Verespej1-1/+2
To avoid dependency on patch utility and to have standardized look of patch file this change uses git-format and git-apply to patch charts. Change-Id: I1c63334619bf6091b5ab50a4eebfadb3c28a2616 Issue-ID: OOM-1634 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-06Setting-up NPM registry for dgbuilderMichal Ptacek1-0/+69
This commit is showing-up how OOM patches must be handled in casablanca release. In Dublin we would like to avoid this completely OOM-1610 so here we are just reproducing the same logic which was already implemented in Beijing for bash offline installer. In general it works in a way that OOM charts are patched during offline platform build and values are configured in install time using pre-install application role/hook. Change-Id: I1a2425ef63edd6bc08dcecf0fcae7fd6e553d0ed Issue-ID: OOM-1616 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-01-28Remove bash version of installerMilan Verespej28-0/+3294
Since bash version of offline installer is not supported in Casablanca release this change removes it and provides small refactor of offline resource building scripts. Change-Id: I953733edc31e994da123b7f0b1c502e156676669 Issue-ID: OOM-1597 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>