summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2019-04-25Merge "Replace VNC server docker image"Michal Ptacek1-1/+1
2019-04-24Merge "Adding docker image list for 3.0.2"Michal Ptacek1-0/+220
2019-04-23Replace VNC server docker imageTomáš Levora1-1/+1
Replace VNC server docker image based on CentOS (consol/centos-icewm-vnc:1.4.0) by the one based on Ubuntu (consol/centos-icewm-vnc:1.4.0) - Ubuntu based image is smaller and the VNC server does not work in the current CentOS based image. Solves OOM-1819 Issue-ID: OOM-1821 Change-Id: I9e06ab8bfccb11ae8950717db5339062704a31f9 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-18Adding docker image list for 3.0.2Tomáš Levora1-0/+220
New docker image list based on Casablanca MR 3.0.2-ONAP Issue-ID: OOM-1802 Change-Id: Ic521cae2003299e1431c71750de9c603f07f9675 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-17Reducing number of NPMs in listTomáš Levora1-717/+319
Reducing list of NPMs needed for offline deployment based on download stats from Nexus repository from running environment Issue-ID: OOM-1709 Change-Id: I402c4802210a63ed90ab97f7bcbfe79852b7e92e Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-09Fix patching registry in NPMTomáš Levora1-2/+1
Fix URL in patching of registry in NPM package tsscmp-1.0.5.tgz Issue-ID: OOM-1787 Change-Id: I937b851edf0b09a1f43b309310ce21bf66a09b8b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-05Adding versions for infra related docker imagesTomáš Levora4-3/+8
1. latest tag replaced by version number for vnc server 2. added specific version for own_nginx image 3. version control improved in ansible roles accordingly Solves OOM-1766 Issue-ID: OOM-1767 Change-Id: I147c56b46a419188099d8ed3e78fed68810893e2 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-05Our bare repos need to have casablanca branchMichal Ptacek12-2489/+21
This is required to align with OOM charts, otherwise some components like DMAAP might be not initialized properly. Furthmore removing duplicated files, most of our data_lists are same for Casablanca MR and Casablanca base releases. Change-Id: I376410c7915d8f2682287c31392e2f3796adc990 Issue-ID: OOM-1771 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-03-28Update Maven artifact dependency list againkaihlavi2-0/+186
Updated additional Maven artifact dependencies for offline Nexus Issue-ID: OOM-1706 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I3c744be33447fc5816bc547c0ae3cce6428dc57c
2019-03-26Add python-jsonpointer as a new dependencyPetr Ospalý1-1/+1
Our custom ansible module requires python-jsonpointer module to deal with jsons. Change-Id: Idd7bfcf8fcf75e4397fba51d8219b73c57df5f0e Issue-ID: OOM-1758 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-03-26Merge "Sanitize input arguments validation"Michal Ptacek1-4/+18
2019-03-26Merge "Fix issue with proxy for deb download behind proxy"Michal Ptacek1-5/+5
2019-03-26Merge "Fix git repos not using tag 3.0.1-ONAP"Michal Ptacek1-3/+3
2019-03-20update for missing nginx tarfileeronkeo2-3/+7
This update adds an entry to the docker_images lists file to ensure it is saved as a tar file and available for processing in the "Prepare infra related images to infra folder" section. Change-Id: I293144daa96b3c579443a2e76a407ea04821dce7 Issue-ID: OOM-1738 Signed-off-by: eronkeo <ronan.keogh@est.tech>
2019-03-20Fix issue with proxy for deb download behind proxyTomáš Levora1-5/+5
As curl tries to use ftp transfer for some of the packages in the list, what causes an issue behind some corporate proxies, this commit unifies the sources to prevent ftp Issue-ID: OOM-1746 Change-Id: Ia7cac5a1c3d508749c3bea830c3df1137128e709 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-03-20Fix git repos not using tag 3.0.1-ONAPTomáš Levora1-3/+3
Tag 3.0.1-ONAP is not created for projects not included in the Casablanca Maintenance release, so casablanca branch is used instead Issue-ID: OOM-1745 Change-Id: I652ab0a87ddcdda0d72088609fdd1ce678159ff0 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-03-20Merge "Update Maven artifact dependency list"Michal Ptacek2-496/+638
2019-03-20Update Maven artifact dependency listkaihlavi2-496/+638
Update required Maven artifact dependencies for offline Nexus to Casablanca level Change-Id: I2c0eb230e05bb691911497eff4439b121b2a01d5 Issue-ID: OOM-1706 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-03-18Sanitize input arguments validationBartek Grzybowski1-4/+18
This patch ensures non-positional parameters are given past positional args. So far mixing them led to malicious script behaviour. Change-Id: Idf2b6a57d0cd8561e74e467f68ddc5d086e7a0c0 Issue-ID: OOM-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-14Don't remove target dir by defaultBartek Grzybowski1-6/+23
If target dir given as an argument is not empty script exits and gives verbose reasoning. Introduced '--force' flag to allow overwriting non empty target dir. Improved usage synopsis. Change-Id: Ic03c926011a41e9620c941f28dbc580b5b9933ac Issue-ID: OOM-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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>